IDirect3DDeviceManager9* stored as IUnknown*
To get this attribute, call IMFAttributes::GetUnknown.
To set this attribute, call IMFAttributes::SetUnknown.
The value of this attribute is a pointer to the IDirect3DDeviceManager9 interface.
Use this attribute to provide a Direct3D device for any video decoders loaded by the source reader. If you set this attribute and the decoder supports Microsoft DirectX Video Acceleration (DXVA), the source reader uses the Direct3D device to allocate video buffers. These buffers are compatible with the DXVA 2 video processor. (See DXVA Video Processing.)
Use this attribute with the following functions:
Typically you would set this attribute if you are using the source reader to get decoded video frames and using Direct3D to display the frames. Setting this attribute enables the decoder to use DXVA.
You would not set this attribute if:
- You are using the source reader to process audio only and not video.
- You are getting compressed video from the source reader. In that case, the source reader does not create a decoder.
Minimum supported client
|Windows 7 [desktop apps | Windows Store apps]|
Minimum supported server
|Windows Server 2008 R2 [desktop apps | Windows Store apps]|
Build date: 11/28/2012