D3D11_VIDEO_DECODER_BUFFER_DESC1 structure (d3d11_1.h)

Describes a compressed buffer for decoding.

Syntax

typedef struct D3D11_VIDEO_DECODER_BUFFER_DESC1 {
  D3D11_VIDEO_DECODER_BUFFER_TYPE              BufferType;
  UINT                                         DataOffset;
  UINT                                         DataSize;
  void                                         *pIV;
  UINT                                         IVSize;
  D3D11_VIDEO_DECODER_SUB_SAMPLE_MAPPING_BLOCK *pSubSampleMappingBlock;
  UINT                                         SubSampleMappingCount;
} D3D11_VIDEO_DECODER_BUFFER_DESC1;

Members

BufferType

The type of buffer.

DataOffset

The offset of the relevant data from the beginning of the buffer, in bytes. This value must be zero.

DataSize

Size of the relevant data.

pIV

A pointer to a buffer that contains an initialization vector (IV) for encrypted data. If the decode buffer does not contain encrypted data, set this member to NULL.

IVSize

The size of the buffer specified in the pIV parameter. If pIV is NULL, set this member to zero.

pSubSampleMappingBlock

A pointer to an array of D3D11_VIDEO_DECODER_SUB_SAMPLE_MAPPING_BLOCK structures, which indicates exactly which bytes in the decode buffer are encrypted and which are in the clear. If the decode buffer does not contain encrypted data, set this member to NULL.

Values in the sub sample mapping blocks are relative to the start of the decode buffer.

SubSampleMappingCount

The number of D3D11_VIDEO_DECODER_SUB_SAMPLE_MAPPING_BLOCK structures specified in the pSubSampleMappingBlocks parameter. If pSubSampleMappingBlocks is NULL, set this member to zero.

Requirements

Requirement Value
Minimum supported client Windows 10 [desktop apps only]
Minimum supported server Windows Server 2016 [desktop apps only]
Header d3d11_1.h

See also

Direct3D 11 Video Structures