KS_DATARANGE_VIDEO2 structure (ksmedia.h)

The KS_DATARANGE_VIDEO2 structure describes a video stream including bob or weave settings.

Syntax

typedef struct tagKS_DATARANGE_VIDEO2 {
  KSDATARANGE                 DataRange;
  BOOL                        bFixedSizeSamples;
  BOOL                        bTemporalCompression;
  DWORD                       StreamDescriptionFlags;
  DWORD                       MemoryAllocationFlags;
  KS_VIDEO_STREAM_CONFIG_CAPS ConfigCaps;
  KS_VIDEOINFOHEADER2         VideoInfoHeader;
} KS_DATARANGE_VIDEO2, *PKS_DATARANGE_VIDEO2;

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.

Remarks

This structure should be used instead of a KS_DATARANGE_VIDEO structure when a minidriver must describe content with bob or weave settings.

Requirements

Requirement Value
Header ksmedia.h (include Ksmedia.h)

See also

KSDATARANGE

KS_VIDEOINFOHEADER2

KS_VIDEO_STREAM_CONFIG_CAPS