ID3D11VideoContext2::VideoProcessorSetOutputHDRMetaData method
Sets the HDR metadata describing the display on which the content will be presented.
Syntax
HRESULT VideoProcessorSetOutputHDRMetaData( [in] ID3D11VideoProcessor *pVideoProcessor, [in] DXGI_HDR_METADATA_TYPE Type, [in] UINT Size, [in] const void *pHDRMetaData );
Parameters
- pVideoProcessor [in]
-
A pointer to the ID3D11VideoProcessor interface.
- Type [in]
-
The type of HDR metadata supplied.
- Size [in]
-
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). - pHDRMetaData [in]
-
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
This function does not return a value.
Remarks
When processing an HDR stream, the driver may use this metadata optimize the video for the output display.
Requirements
|
Minimum supported client |
Windows 10 [desktop apps | UWP apps] |
|---|---|
|
Minimum supported server |
Windows Server 2016 [desktop apps | Windows Store apps] |
|
Header |
|
See also