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.

Members

The IDirectXVideoMemoryConfiguration interface inherits from the IUnknown interface. IDirectXVideoMemoryConfiguration also has these types of members:

Methods

The IDirectXVideoMemoryConfiguration interface has these methods.

MethodDescription
GetAvailableSurfaceTypeByIndex

Retrieves a supported video surface type.

SetSurfaceType

Sets the video surface type.

 

Requirements

Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2008 [desktop apps only]

Header

Dxva2api.h

See also

Media Foundation Interfaces
Supporting DXVA 2.0 in DirectShow

 

 

Community Additions

ADD
Show:
© 2014 Microsoft