D3D12_VIDEO_DECODE_OUTPUT_STREAM_ARGUMENTS1 structure (d3d12video.h)

Specifies the parameters for the output stream for a video decode operation. D3D12_VIDEO_DECODE_OUTPUT_STREAM_ARGUMENTS is used for the same purpose, but does not provide a field for histograms.

Syntax

typedef struct D3D12_VIDEO_DECODE_OUTPUT_STREAM_ARGUMENTS1 {
  ID3D12Resource                           *pOutputTexture2D;
  UINT                                     OutputSubresource;
  D3D12_VIDEO_DECODE_CONVERSION_ARGUMENTS1 ConversionArguments;
  D3D12_VIDEO_DECODE_OUTPUT_HISTOGRAM      Histograms[4];
} D3D12_VIDEO_DECODE_OUTPUT_STREAM_ARGUMENTS1;

Members

pOutputTexture2D

An ID3D12Resource representing the output texture. If decode conversion is enabled, this texture will contain the post-conversion output. If decode conversion is not enabled, this texture will contain the decode output.

OutputSubresource

The index of the output subresource of pOutputTexture2D to use. This allows you to specify array indices if the output is an array.

ConversionArguments

An optional D3D12_VIDEO_DECODE_CONVERSION_ARGUMENTS structure containing output conversion parameters.

Histograms[4]

An array of D3D12_VIDEO_DECODE_OUTPUT_HISTOGRAM structures that are populated with histogram data. The maximum size of the array is 4.

Requirements

Requirement Value
Header d3d12video.h