Compartilhar via


VMRVideoDesc Structure

 
Microsoft DirectShow 9.0

VMRVideoDesc Structure

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 Description
TRUE Pairs of fields are combined into single samples.
FALSE Each fields is delivered as a separate sample.

dwFourCC

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

InputSampleFreq

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

OutputFrameFreq

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

Requirements

Header: Dshow.h.

See Also