Поделиться через


VMR9_SampleFormat Enumeration

 
Microsoft DirectShow 9.0

VMR9_SampleFormat Enumeration

The VMR9_SampleFormat enumeration type describes the interlacing of a video stream.

Syntax

typedef enum _VMR9_SampleFormat {
    VMR9_SampleReserved                  = 1,
    VMR9_SampleProgressiveFrame          = 2,
    VMR9_SampleFieldInterleavedEvenFirst = 3,
    VMR9_SampleFieldInterleavedOddFirst  = 4,
    VMR9_SampleFieldSingleEven           = 5,
    VMR9_SampleFieldSingleOdd            = 6
} VMR9_SampleFormat;

Members

VMR9_SampleReserved

Reserved; do not use.

VMR9_SampleProgressiveFrame

Progressive frame; no interleaving

VMR9_SampleFieldInterleavedEvenFirst

Each sample contains two interleaved fields, with the even field first.

VMR9_SampleFieldInterleavedOddFirst

Each sample contains two interleaved fields, with the odd field first.

VMR9_SampleFieldSingleEven

The sample contains a single field, and each line in the sample corresponds to the even lines in a deinterlaced frame. That is, lines 0, 1, 2,... in the sample correspond to lines 0, 2, 4,... in the deinterlaced frame. The missing lines must be constructed when the frame is deinterlaced.

VMR9_SampleFieldSingleOdd

The sample contains a single field, and each line in the sample corresponds to the odd lines in a de-interlaced frame.

Requirements

  Header: Vmr9.h

See Also