MFVideoInterlaceMode Enumeration

Specifies how a video stream is interlaced.

In the descriptions that follow, upper field refers to the field that contains the leading half scan line. Lower field refers to the field that contains the first full scan line.

Syntax

typedef enum _MFVideoInterlaceMode {
  MFVideoInterlace_Unknown,
  MFVideoInterlace_Progressive,
  MFVideoInterlace_FieldInterleavedUpperFirst,
  MFVideoInterlace_FieldInterleavedLowerFirst,
  MFVideoInterlace_FieldSingleUpper,
  MFVideoInterlace_FieldSingleLower,
  MFVideoInterlace_MixedInterlaceOrProgressive,
  MFVideoInterlace_Last,
  MFVideoInterlace_ForceDWORD
} MFVideoInterlaceMode;

Constants

MFVideoInterlace_Unknown The type of interlacing is not known.
MFVideoInterlace_Progressive Progressive frames.
MFVideoInterlace_FieldInterleavedUpperFirst Interlaced frames. Each frame contains two fields. The field lines are interleaved, with the upper field appearing on the first line.
MFVideoInterlace_FieldInterleavedLowerFirst Interlaced frames. Each frame contains two fields. The field lines are interleaved, with the lower field appearing on the first line.
MFVideoInterlace_FieldSingleUpper Interlaced frames. Each frame contains one field, with the upper field appearing first.
MFVideoInterlace_FieldSingleLower Interlaced frames. Each frame contains one field, with the lower field appearing first.
MFVideoInterlace_MixedInterlaceOrProgressive The stream contains a mix of interlaced and progressive modes.
MFVideoInterlace_Last Reserved.
MFVideoInterlace_ForceDWORD Reserved. This member forces the enumeration type to compile as a DWORD value.

Remarks

Scan lines in the lower field are 0.5 scan line lower than those in the upper field. In NTSC television, a frame consists of a lower field followed by an upper field. In PAL television, a frame consists of an upper field followed by a lower field.

The upper field is also called the even field, the top field, or field 2. The lower field is also called the odd field, the bottom field, or field 1.

If the interlace mode is MFVideoInterlace_FieldSingleUpper or MFVideoInterlace_FieldSingleLower, each sample contains a single field, so each buffer contains only half the number of field lines given in the media type.

Requirements

   
Minimum supported client Windows Vista [desktop apps only]
Minimum supported server Windows Server 2008 [desktop apps only]
Header mfobjects.h (include Mfidl.h)

See Also

MF_MT_INTERLACE_MODE

Media Foundation Enumerations

Video Interlacing

Video Media Types