VMR9_SampleFormat Enumeration

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

Syntax

typedef enum _VMR9_SampleFormat {
  VMR9_SampleReserved,
  VMR9_SampleProgressiveFrame,
  VMR9_SampleFieldInterleavedEvenFirst,
  VMR9_SampleFieldInterleavedOddFirst,
  VMR9_SampleFieldSingleEven,
  VMR9_SampleFieldSingleOdd
} VMR9_SampleFormat;

Constants

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

DirectShow Enumerated Types

VMR9VideoDesc

VMR9VideoStreamInfo