Export (0) Print
Expand All
Expand Minimize

MF_SOURCE_READER_ENABLE_VIDEO_PROCESSING attribute

Enables video processing by the Source Reader.

Data type

UINT32

ValueMeaning
Nonzero

Enable video processing.

Zero

Disable video processing. (Default)

 

Get/set

To get this attribute, call IMFAttributes::GetUINT32.

To set this attribute, call IMFAttributes::SetUINT32.

Remarks

If this attribute is TRUE (nonzero), the source reader can perform the following limited video processing on uncompressed video frames:

  • Conversion from YUV to RGB-32.
  • Deinterlacing.

These operations are performed in software, and are not optimized for playback. This feature is intended for applications that process a small number of frames—for example, to create a video thumbnail—or applications that do not decode frames in real time. The deinterlace operation interpolates data from a single field, so it is lossy.

Avoid this setting if you are using Direct3D to display the video frames, because the GPU generally provides better video processing capabilities.

If this attribute is TRUE, the following attributes must be FALSE:

Requirements

Minimum supported client

Windows 7 [desktop apps | Windows Store apps]

Minimum supported server

Windows Server 2008 R2 [desktop apps | Windows Store apps]

Header

Mfreadwrite.h

See also

Source Reader
Source Reader Attributes

 

 

Community Additions

ADD
Show:
© 2014 Microsoft