VMRVideoDesc structure (strmif.h)

This topic applies to Windows XP Service Pack 1 or later.

The VMRVideoDesc structure describes a video stream to be deinterlaced.

Syntax

typedef struct _VMRVideoDesc {
  DWORD        dwSize;
  DWORD        dwSampleWidth;
  DWORD        dwSampleHeight;
  BOOL         SingleFieldPerSample;
  DWORD        dwFourCC;
  VMRFrequency InputSampleFreq;
  VMRFrequency OutputFrameFreq;
} VMRVideoDesc;

Members

dwSize

Size of the structure, in bytes.

dwSampleWidth

Width of the video to be deinterlaced, in pixels.

dwSampleHeight

Height of the video to be deinterlaced, in pixels.

SingleFieldPerSample

Specifies one of the following values.

Value Meaning
TRUE
Each field is delivered as a separate sample.
FALSE
Pairs of fields are combined into single samples.

dwFourCC

Specifies a FOURCC code. Valid values include NV12, YV12, YUY2, UYVY, IMC1, IMC2, IMC3 and IMC4

InputSampleFreq

A VMRFrequency structure that specifies the input frequency. For NTSC TV, the frequency would be expressed as 30,000:1001.

OutputFrameFreq

A VMRFrequency structure that specifies the output frequency. For NTSC TV, the frequency would be expressed as 60,000:1001.

Requirements

   
Header strmif.h (include Dshow.h)

See also

DirectShow Structures