IDirectXVideoDecoder interface

Represents a DirectX Video Acceleration (DXVA) video decoder device.

To get a pointer to this interface, call IDirectXVideoDecoderService::CreateVideoDecoder.

Members

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

Methods

The IDirectXVideoDecoder interface has these methods.

MethodDescription
BeginFrame

Starts the decoding operation.

EndFrame

Signals the end of the decoding operation.

Execute

Executes a decoding operation on the current frame.

GetBuffer

Gets a pointer to a DXVA decoder buffer.

GetCreationParameters

Gets the parameters that were used to create this device.

GetVideoDecoderService

Gets the DXVA decoder service that created this decoder device.

ReleaseBuffer

Releases a buffer that was obtained by calling GetBuffer.

 

Remarks

The IDirectXVideoDecoder methods make calls to the Direct3D device. Therefore, the D3DCREATE flags that you specify when creating the device can affect the behavior of this interface. For example, if you specify the D3DCREATE_MULTITHREADED flag, the Direct3D global critical section will be held during decode operations.

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
DirectX Video Acceleration 2.0

 

 

Community Additions

ADD
Show:
© 2014 Microsoft