D3D12_VIDEO_DECODE_COMPRESSED_BITSTREAM structure (d3d12video.h)

Represents a compressed bitstream from which video is decoded.

Syntax

typedef struct D3D12_VIDEO_DECODE_COMPRESSED_BITSTREAM {
  ID3D12Resource *pBuffer;
  UINT64         Offset;
  UINT64         Size;
} D3D12_VIDEO_DECODE_COMPRESSED_BITSTREAM;

Members

pBuffer

A pointer to an ID3D12Resource representing the source buffer containing the compressed bitstream to decode.

Offset

The offset to the beginning of the first slice. This offset has alignment requirements based on the tier value of the video decoder. For more information on decoding tiers, see D3D12_VIDEO_DECODE_TIER.

Size

The size of the subregion of pBuffer that contains the bitstream.

Requirements

Requirement Value
Header d3d12video.h