IDirectXVideoDecoder interface (dxva2api.h)

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

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

Inheritance

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

Methods

The IDirectXVideoDecoder interface has these methods.

 
IDirectXVideoDecoder::BeginFrame

Starts the decoding operation.
IDirectXVideoDecoder::EndFrame

Signals the end of the decoding operation.
IDirectXVideoDecoder::Execute

Executes a decoding operation on the current frame.
IDirectXVideoDecoder::GetBuffer

Retrieves a pointer to a DirectX Video Acceleration (DXVA) decoder buffer.
IDirectXVideoDecoder::GetCreationParameters

Retrieves the parameters that were used to create this device. (IDirectXVideoDecoder.GetCreationParameters)
IDirectXVideoDecoder::GetVideoDecoderService

Retrieves the DirectX Video Acceleration (DXVA) decoder service that created this decoder device.
IDirectXVideoDecoder::ReleaseBuffer

Releases a buffer that was obtained by calling IDirectXVideoDecoder::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

Requirement Value
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

DirectX Video Acceleration 2.0

Media Foundation Interfaces