Upravit

Sdílet prostřednictvím


Direct3D 11 Video GUIDs

The following GUIDs support Direct3D 11 Video APIs.

D3D11_KEY_EXCHANGE_HW_PROTECTION

Indicates that the decoder will receive data from a hardware-based DRM component

D3D11_KEY_EXCHANGE_HW_PROTECTION can be specified in the pKeyExchangeType parameter of the ID3D11VideoDevice::CreateCryptoSession function to indicate that the ID3D11CryptoSession interface will be used purely for communication between a user mode DRM component and the secure execution environment.

When this GUID is specified, the following methods should not be called:

D3D11_DECODER_ENCRYPTION_HW_CENC

Indicates that the decoder will receive data from a hardware-based DRM component

Setting this GUID in the guidConfigBitstreamEncryption member of the D3D11_VIDEO_DECODER_CONFIG structure passed to the ID3D11VideoDevice::CreateVideoDecoder API indicates that the following parameters will be passed in the ID3D11VideoDevice::DecoderBeginFrame call:

Value Description
ContentKeySize Contains the size of the D3D11_VIDEO_DECODER_BEGIN_FRAME_CRYPTO_SESSION structure.
pContentKey A pointer to a D3D11_VIDEO_DECODER_BEGIN_FRAME_CRYPTO_SESSION providing the ID3D11CryptoSession and the key information needed to decrypt the frame.

 

Requirements

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

See also

Direct3D 11 Video APIs