KS_DATARANGE_MPEG2_VIDEO structure (ksmedia.h)
The KS_DATARANGE_MPEG2_VIDEO structure describes the range of MPEG-2 video formats available for a stream.
Syntax
typedef struct tagKS_DATARANGE_MPEG2_VIDEO {
KSDATARANGE DataRange;
BOOL bFixedSizeSamples;
BOOL bTemporalCompression;
DWORD StreamDescriptionFlags;
DWORD MemoryAllocationFlags;
KS_VIDEO_STREAM_CONFIG_CAPS ConfigCaps;
KS_MPEGVIDEOINFO2 VideoInfoHeader;
} KS_DATARANGE_MPEG2_VIDEO, *PKS_DATARANGE_MPEG2_VIDEO;
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.
VideoInfoHeader
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