MF_XVP_CALLER_ALLOCATES_OUTPUT attribute

[Some information relates to pre-released product which may be substantially modified before it's commercially released. Microsoft makes no warranties, express or implied, with respect to the information provided here.]

Specifies whether that the caller will allocate the textures used for output.

Data type

BOOL stored as UINT32

Remarks

If this attribute is TRUE, the video processor expect output textures to be allocated by the caller, even when operating in DirectX Video Acceleration (DXVA) mode. If this attribute is FALSE, the video processor will allocate the output textures when operating in DXVA mode, and will fail if caller provided output textures are provided.

To set this attribute:

  1. Call IMFTransform::GetAttributes on the video processor.
  2. Call IMFAttributes::SetUINT32.

Set the attribute before streaming begins.

Requirements

Minimum supported client

Windows 10 [desktop apps only]

Minimum supported server

Windows Server 2016 [desktop apps only]

Header

Mfidl.h

IDL

Mfidl.idl

See also

Alphabetical List of Media Foundation Attributes

 

 

Show: