ID3D12VideoDecodeCommandList::DecodeFrame method (d3d12video.h)

Records a decode frame operation to the command list. Inputs, outputs, and parameters for the decode are specified as arguments to this method.

Syntax

void DecodeFrame(
  ID3D12VideoDecoder                               *pDecoder,
  const D3D12_VIDEO_DECODE_OUTPUT_STREAM_ARGUMENTS *pOutputArguments,
  const D3D12_VIDEO_DECODE_INPUT_STREAM_ARGUMENTS  *pInputArguments
);

Parameters

pDecoder

A pointer to an ID3D12VideoDecoder interface representing a decoder instance.

pOutputArguments

A D3D12_VIDEO_DECODE_OUTPUT_STREAM_ARGUMENTS structure specifying the output surface and output arguments.

pInputArguments

A D3D12_VIDEO_DECODE_INPUT_STREAM_ARGUMENTS structure specifying the input bitstream, reference frames, and other input parameters.

Return value

None

Remarks

The ID3D12VideoDecodeCommandList1::DecodeFrame1 method provides the same functionality as this method, but adds support for decode histograms.

Requirements

Requirement Value
Header d3d12video.h
DLL d3d12.dll