D3D11_VIDEO_DECODER_BEGIN_FRAME_CRYPTO_SESSION structure (d3d11_1.h)

Provides data to the ID3D11VideoContext::DecoderBeginFrame method.

Syntax

typedef struct D3D11_VIDEO_DECODER_BEGIN_FRAME_CRYPTO_SESSION {
  ID3D11CryptoSession *pCryptoSession;
  UINT                BlobSize;
  void                *pBlob;
  GUID                *pKeyInfoId;
  UINT                PrivateDataSize;
  void                *pPrivateData;
} D3D11_VIDEO_DECODER_BEGIN_FRAME_CRYPTO_SESSION;

Members

pCryptoSession

A pointer to the ID3D11CryptoSession interface. To get this pointer, call ID3D11VideoDevice1::CreateCryptoSession.

BlobSize

The size of the memory buffer referenced by the pBlob member.

pBlob

The definition of this buffer is dependent on the implementation of the secure execution environment. It could contain a sealed key blob or any other per-key data that the secure execution environment needs to pass to the decode API.

The definition of this buffer is dependent on the implementation of the secure environment. It may contain data specific to the current frame.

pKeyInfoId

A pointer to a GUID identifying the hardware key.

PrivateDataSize

The size of the memory buffer referenced by the pPrivateData member.

pPrivateData

Remarks

This structure is passed in the pContentKey parameter of the ID3D11VideoContext::DecoderBeginFrame function when D3D11_DECODER_ENCRYPTION_HW_CENC is specified in the guidConfigBitstreamEncryption member of the D3D11_VIDEO_DECODER_CONFIG structure when creating the video decoder interface.

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