ID3D11VideoContext2::VideoProcessorSetOutputHDRMetaData method (d3d11_4.h)
Sets the HDR metadata describing the display on which the content will be presented.
Syntax
void VideoProcessorSetOutputHDRMetaData(
[in] ID3D11VideoProcessor *pVideoProcessor,
[in] DXGI_HDR_METADATA_TYPE Type,
[in] UINT Size,
[in] const void *pHDRMetaData
);
Parameters
[in] pVideoProcessor
A pointer to the ID3D11VideoProcessor interface.
[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 metadata optimize the video 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 |