MFSampleExtension_BottomFieldFirst attribute

Specifies the field dominance for an interlaced video frame. This attribute applies to media samples.

Data type

BOOL stored as UINT32

Syntax

GUID MFSampleExtension_BottomFieldFirst = {0x941ce0a3,0x6ae3,0x4dda,{0x9a,0x08,0xa6,0x42,0x98,0x34,0x06,0x17} }  

Get/set

To get this attribute, call IMFAttributes::GetUINT32

To set this attribute, call IMFAttributes::SetUINT32

Applies to

IMFSample:

Remarks

If the video frame is interlaced and the sample contains two interleaved fields, this attribute indicates which field is displayed first. If TRUE, the bottom field is first in time. If FALSE, the top field is first.

If the frame is interlaced and the sample contains a single field, this attribute indicates which field the sample contains. If TRUE, the sample contains the bottom field. If FALSE, the sample contains the top field.

If the frame is progressive, this attribute describes how the fields should be ordered when the output is interlaced. If TRUE, the bottom field should be output first. If FALSE, the top field should be output first.

If this attribute not set, the media type describes the field dominance.

The GUID constant for this attribute is exported from mfuuid.lib.

Requirements

Header: Declared in mfapi.h.