ID3D11VideoContext2::VideoProcessorGetStreamHDRMetaData method (d3d11_4.h)
Gets the HDR metadata associated with the video stream.
Syntax
void VideoProcessorGetStreamHDRMetaData(
[in] ID3D11VideoProcessor *pVideoProcessor,
[in] UINT StreamIndex,
[out] DXGI_HDR_METADATA_TYPE *pType,
[in] UINT Size,
[out] void *pMetaData
);
Parameters
[in] pVideoProcessor
A pointer to the ID3D11VideoProcessor interface.
[in] StreamIndex
Identifies the input stream.
[out] pType
The type of the HDR metadata currently associated with the stream.
[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 |
---|---|
Target Platform | Windows |
Header | d3d11_4.h |