KS_DATARANGE_VIDEO_PALETTE structure (ksmedia.h)
The KS_DATARANGE_VIDEO_PALETTE structure describes a stream and its color capabilities.
Syntax
typedef struct tagKS_DATARANGE_VIDEO_PALETTE {
KSDATARANGE DataRange;
BOOL bFixedSizeSamples;
BOOL bTemporalCompression;
DWORD StreamDescriptionFlags;
DWORD MemoryAllocationFlags;
KS_VIDEO_STREAM_CONFIG_CAPS ConfigCaps;
KS_VIDEOINFO VideoInfo;
} KS_DATARANGE_VIDEO_PALETTE, *PKS_DATARANGE_VIDEO_PALETTE;
Members
DataRange
Specifies the major identifier for the format.
bFixedSizeSamples
Specifies that all the samples are the same size if set to TRUE.
bTemporalCompression
Specifies whether each sample can stand independently on its own, without relying on previous or future samples.
StreamDescriptionFlags
Unused and should be set to zero.
MemoryAllocationFlags
Unused and should be set to zero.
ConfigCaps
Specifies the configuration of the stream, including scaling, cropping, and frame and data rates.
VideoInfo
Specifies the details of the video stream.
Requirements
Requirement | Value |
---|---|
Header | ksmedia.h (include Ksmedia.h) |
See also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for