ID3D11VideoContext2::VideoProcessorSetStreamHDRMetaData method (d3d11_4.h)

Sets the HDR metadata associated with the video stream.

Syntax

void VideoProcessorSetStreamHDRMetaData(
  [in] ID3D11VideoProcessor   *pVideoProcessor,
  [in] UINT                   StreamIndex,
  [in] DXGI_HDR_METADATA_TYPE Type,
  [in] UINT                   Size,
  [in] const void             *pHDRMetaData
);

Parameters

[in] pVideoProcessor

A pointer to the ID3D11VideoProcessor interface.

[in] StreamIndex

Identifies the input stream.

[in] Type

The type of HDR metadata supplied.

[in] Size

The size of the HDR metadata supplied in pHDRMetaData.

For DXGI_HDR_METADATA_TYPE_NONE, the size should be 0.

For DXGI_HDR_METADATA_TYPE_HDR10, the size is sizeof(DXGI_HDR_METADATA_HDR10).

[in] pHDRMetaData

Pointer to the metadata information.

For DXGI_HDR_METADATA_TYPE_NONE, this should be NULL.

For DXGI_HDR_METADATA_TYPE_HDR10, this is a pointer to a DXGI_HDR_METADATA_HDR10 structure.

Return value

None

Remarks

When processing an HDR stream, the driver may use this information to tone map the video content to optimize it for the output display.

Requirements

Requirement Value
Minimum supported client Windows 10 [desktop apps | UWP apps]
Minimum supported server Windows Server 2016 [desktop apps | UWP apps]
Target Platform Windows
Header d3d11_4.h

See also

ID3D11VideoContext2

ID3DVideoContext2