Export (0) Print
Expand All
Expand Minimize

MFSampleExtension_BottomFieldFirst attribute

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

Data type

BOOL stored as UINT32

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

Minimum supported client

Windows Vista [desktop apps | Windows Store apps]

Minimum supported server

Windows Server 2008 [desktop apps | Windows Store apps]

Header

Mfapi.h

See also

Sample Attributes
Media Samples
Video Interlacing

 

 

Community Additions

ADD
Show:
© 2014 Microsoft