Expand Minimize
This topic has not yet been rated - Rate this topic

MF_SOURCE_READER_D3D_MANAGER attribute

Contains a pointer to the Microsoft Direct3D Device Manager for the Source Reader.

Data type

IDirect3DDeviceManager9* stored as IUnknown*

Get/set

To get this attribute, call IMFAttributes::GetUnknown.

To set this attribute, call IMFAttributes::SetUnknown.

Remarks

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.

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

 

 

Send comments about this topic to Microsoft

Build date: 11/28/2012

Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.