D3D11_ENCRYPTED_BLOCK_INFO structure (d3d11.h)

Specifies which bytes in a video surface are encrypted.

Syntax

typedef struct D3D11_ENCRYPTED_BLOCK_INFO {
  UINT NumEncryptedBytesAtBeginning;
  UINT NumBytesInSkipPattern;
  UINT NumBytesInEncryptPattern;
} D3D11_ENCRYPTED_BLOCK_INFO;

Members

NumEncryptedBytesAtBeginning

The number of bytes that are encrypted at the start of the buffer.

NumBytesInSkipPattern

The number of bytes that are skipped after the first NumEncryptedBytesAtBeginning bytes, and then after each block of NumBytesInEncryptPattern bytes. Skipped bytes are not encrypted.

NumBytesInEncryptPattern

The number of bytes that are encrypted after each block of skipped bytes.

Requirements

Requirement Value
Minimum supported client Windows 8 [desktop apps | UWP apps]
Minimum supported server Windows Server 2012 [desktop apps | UWP apps]
Header d3d11.h

See also

Direct3D 11 Video Structures

ID3D11VideoContext::SubmitDecoderBuffers