Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

ID3D11VideoContext2::VideoProcessorGetStreamHDRMetaData method

Gets the HDR metadata associated with the video stream.

Syntax


HRESULT VideoProcessorGetStreamHDRMetaData(
  [in]        ID3D11VideoProcessor   *pVideoProcessor,
  [in]        UINT                   StreamIndex,
  [out]       DXGI_HDR_METADATA_TYPE pType,
  [in]        UINT                   Size,
  [out] const void                   *pHDRMetaData
);

Parameters

pVideoProcessor [in]

A pointer to the ID3D11VideoProcessor interface.

StreamIndex [in]

Identifies the input stream.

pType [out]

The type of the HDR metadata currently associated with the stream.

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.

See also

ID3D11VideoContext2
ID3DVideoContext2

 

 

Show:
© 2017 Microsoft