MF_SOURCE_READER_ENABLE_VIDEO_PROCESSING attribute
Enables video processing by the Source Reader.
Data type
UINT32
Value | Meaning |
---|---|
|
Enable video processing. |
|
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
Requirement | Value |
---|---|
Minimum supported client |
Windows 7 [desktop apps | UWP apps] |
Minimum supported server |
Windows Server 2008 R2 [desktop apps | UWP apps] |
Header |
|
See also