ID3D11VideoContext2::VideoProcessorGetOutputHDRMetaData method (d3d11_4.h)
Gets the HDR metadata describing the display on which the content will be presented.
Syntax
void VideoProcessorGetOutputHDRMetaData(
[in] ID3D11VideoProcessor *pVideoProcessor,
[out] DXGI_HDR_METADATA_TYPE *pType,
[in] UINT Size,
[out] void *pMetaData
);
Parameters
[in] pVideoProcessor
A pointer to the ID3D11VideoProcessor interface.
[out] pType
The type of HDR metadata supplied.
[in] Size
The size of the memory referenced by pHDRMetaData.
If pHDRMetaData is NULL, Size should be 0.
[out] pMetaData
Pointer to a buffer that receives the HDR metadata.
This parameter can be NULL.
Return value
None
Remarks
This can be called multiple times, the first time to get the Type (in which case Size can be 0 and pHDRMetaData can be NULL) and then again to with non-NULL values to retrieve the actual metadata.
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 |