IDirectXVideoMemoryConfiguration interface

Sets the type of video memory for uncompressed video surfaces. This interface is used by video decoders and transforms.

The DirectShow enhanced video renderer (EVR) filter exposes this interface as a service on the filter's input pins. To obtain a pointer to this interface, call IMFGetService::GetService with the service identifier MR_VIDEO_ACCELERATION_SERVICE.

A video decoder can use this interface to enumerate the EVR filter's preferred surface types and then select the surface type. The decoder should then create surfaces of that type to hold the results of the decoding operation.

This interface does not define a way to clear the surface type. In the case of DirectShow, disconnecting two filters invalidates the surface type.

Methods

The IDirectXVideoMemoryConfiguration interface has these methods.

Method Description
IDirectXVideoMemoryConfiguration::GetAvailableSurfaceTypeByIndex Retrieves a supported video surface type.
IDirectXVideoMemoryConfiguration::SetSurfaceType Sets the video surface type that a decoder will use for DirectX Video Acceleration (DVXA) 2.0.

Requirements

   
Minimum supported client Windows Vista [desktop apps only]
Minimum supported server Windows Server 2008 [desktop apps only]
Target Platform Windows
Header dxva2api.h

See Also

Media Foundation Interfaces

Supporting DXVA 2.0 in DirectShow