Microsoft DirectX 9.0

VMR9VideoDesc Structure

The VMR9VideoDesc structure describes a video stream to be deinterlaced.

Syntax

typedef struct _VMR9VideoDesc {
    DWORD             dwSize;
    DWORD             dwSampleWidth;
    DWORD             dwSampleHeight;
    VMR9_SampleFormat SampleFormat;
    DWORD             dwFourCC;
    VMR9Frequency     InputSampleFreq;
    VMR9Frequency     OutputFrameFreq;
} VMR9VideoDesc;

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.

SampleFormat

Specifies the interlacing format of the sample, as a member of the VMR9_SampleFormat enumeration.

dwFourCC

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

InputSampleFreq

VMR9Frequency 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.

See Also