// ksmedia.h
typedef struct tagKS_DATARANGE_VIDEO {
KSDATARANGE DataRange;
BOOL bFixedSizeSamples;
BOOL bTemporalCompression;
DWORD StreamDescriptionFlags;
DWORD MemoryAllocationFlags;
KS_VIDEO_STREAM_CONFIG_CAPS ConfigCaps;
KS_VIDEOINFOHEADER VideoInfoHeader;
} KS_DATARANGE_VIDEO, *PKS_DATARANGE_VIDEO;
View the official Windows Driver Kit DDI referenceNo description available.
The KS_DATARANGE_VIDEO structure describes a range of video streams without bob or weave settings.
DataRangeSpecifies the major identifier for the format.
bFixedSizeSamplesSpecifies that all the samples are the same size if set to TRUE.
bTemporalCompressionSpecifies whether each sample can stand independently on its own, without relying on previous or future samples.
StreamDescriptionFlagsUnused and should be set to zero.
MemoryAllocationFlagsUnused and should be set to zero.
ConfigCapsSpecifies the configuration of the stream, including scaling, cropping, and frame and data rates.
VideoInfoHeaderSpecifies the details of the video stream.
The KS_DATARANGE_VIDEO structure is used for two related purposes:
For example, a stream that supports RGB16, RGB24, YVU9, and JPEG capture formats defines an array of four KS_DATAFORMAT_VIDEO structures.