D3D12_VIDEO_DECODE_INPUT_STREAM_ARGUMENTS structure (d3d12video.h)

Specifies the parameters for the input stream for a video decode operation.

Syntax

typedef struct D3D12_VIDEO_DECODE_INPUT_STREAM_ARGUMENTS {
  UINT                                    NumFrameArguments;
  D3D12_VIDEO_DECODE_FRAME_ARGUMENT       FrameArguments[10];
  D3D12_VIDEO_DECODE_REFERENCE_FRAMES     ReferenceFrames;
  D3D12_VIDEO_DECODE_COMPRESSED_BITSTREAM CompressedBitstream;
  ID3D12VideoDecoderHeap                  *pHeap;
} D3D12_VIDEO_DECODE_INPUT_STREAM_ARGUMENTS;

Members

NumFrameArguments

The count of frame parameters provided in the FrameArguments field. The maximum number of frame arguments is 10.

FrameArguments[10]

An array of D3D12_VIDEO_DECODE_FRAME_ARGUMENT structures containing the parameters to decode a frame.

ReferenceFrames

A D3D12_VIDEO_DECODE_REFERENCE_FRAMES structure containing the reference frames needed to decode a frame.

CompressedBitstream

A D3D12_VIDEO_DECODE_COMPRESSED_BITSTREAM structure representing the compressed bitstream in a single continuous buffer.

pHeap

An ID3D12VideoDecoderHeap representing a pointer to the heap for the current decode resolution.

Requirements

Requirement Value
Header d3d12video.h