ID3D11VideoContext2::VideoProcessorGetOutputHDRMetaData method
Gets the HDR metadata describing the display on which the content will be presented.
Syntax
HRESULT VideoProcessorGetOutputHDRMetaData( [in] ID3D11VideoProcessor *pVideoProcessor, [out] DXGI_HDR_METADATA_TYPE Type, [in] UINT Size, [out] const void *pHDRMetaData );
Parameters
- pVideoProcessor [in]
-
A pointer to the ID3D11VideoProcessor interface.
- Type [out]
-
The type of HDR metadata supplied.
- Size [in]
-
The size of the memory referenced by pHDRMetaData.
If pHDRMetaData is NULL, Size should be 0.
- pHDRMetaData [out]
-
Pointer to a buffer that receives the HDR metadata.
This parameter can be NULL.
Return value
This function does not return a value.
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
|
Minimum supported client |
Windows 10 [desktop apps | UWP apps] |
|---|---|
|
Minimum supported server |
Windows Server 2016 [desktop apps | Windows Store apps] |
|
Header |
|
See also