IWMCodecAMVideoAccelerator interface

This interface is exposed by the Windows Media Decoder DMO and is called by a media player source filter to set up the various connections required to enable DirectX® video acceleration (VA) for decoding of Windows Media-based video content. A player obtains this interface by calling the IWMReaderAccelerator::GetCodecInterface method, which is exposed on the reader object.

Methods

The IWMCodecAMVideoAccelerator interface has these methods.

Method Description
IWMCodecAMVideoAccelerator::NegotiateConnection The NegotiateConnection method is called by the output pin on the player's source filter during the connection process when it has been given a DirectX VA media type.
IWMCodecAMVideoAccelerator::SetAcceleratorInterface The SetAcceleratorInterface method is called by the output pin on the player's source filter to pass the IAMVideoAccelerator interface on the Video Mixing Renderer (VMR) to the decoder DMO.
IWMCodecAMVideoAccelerator::SetPlayerNotify The SetPlayerNotify method is called by the output pin on the source filter to provide the decoder DMO with the source filter's IWMPlayerTimestampHook interface to enable the source filter to update the time stamps on the samples before they are delivered to the renderer.

Requirements

   
Target Platform Windows
Header wmdxva.h

See also

Enabling DirectX Video Acceleration

Interfaces

Reader Object