D3D12_VIDEO_DECODE_OUTPUT_STREAM_ARGUMENTS structure (d3d12video.h)

Specifies the parameters for the output stream for a video decode operation. D3D12_VIDEO_DECODE_OUTPUT_STREAM_ARGUMENTS1 is used for the same purpose, but provides an additional field for histograms.

Syntax

typedef struct D3D12_VIDEO_DECODE_OUTPUT_STREAM_ARGUMENTS {
  ID3D12Resource                          *pOutputTexture2D;
  UINT                                    OutputSubresource;
  D3D12_VIDEO_DECODE_CONVERSION_ARGUMENTS ConversionArguments;
} D3D12_VIDEO_DECODE_OUTPUT_STREAM_ARGUMENTS;

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.

Requirements

Requirement Value
Header d3d12video.h