ID3D12VideoDecodeCommandList1::DecodeFrame1 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. Takes a D3D12_VIDEO_DECODE_OUTPUT_STREAM_ARGUMENTS1 structure to support video decode histograms.

Syntax

void DecodeFrame1(
  ID3D12VideoDecoder                                *pDecoder,
  const D3D12_VIDEO_DECODE_OUTPUT_STREAM_ARGUMENTS1 *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_ARGUMENTS1 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

Requirements

Requirement Value
Header d3d12video.h
DLL d3d12.dll