UID | title | description | ms.date | keywords | req.header | req.include-header | req.target-type | req.target-min-winverclnt | req.target-min-winversvr | req.kmdf-ver | req.umdf-ver | req.lib | req.dll | req.irql | req.ddi-compliance | req.unicode-ansi | req.idl | req.max-support | req.namespace | req.assembly | req.type-library | targetos | tech.root | ms.custom | f1_keywords | topic_type | api_type | api_location | api_name | dev_langs | ||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
NC:d3d10umddi.PFND3DWDDM2_1DDI_VIDEOPROCESSORSETOUTPUTHDRMETADATA |
PFND3DWDDM2_1DDI_VIDEOPROCESSORSETOUTPUTHDRMETADATA (d3d10umddi.h) |
Includes HDR metadata to allow the video processor to optimize video for display. |
10/19/2018 |
|
d3d10umddi.h |
Windows |
display |
RS5 |
|
|
|
|
|
|
Implemented by the client driver to include HDR metadata to allow the video processor to optimize video for display. This callback sets the maximum brightness capability (in nits) of the display on which the content will be presented.
A handle to the display device (graphics context).
A handle to the video processor object.
Indicates the type of the HDR metadata provided.
Indicates the type of the HDR metadata provided.
- For D3DDDI_HDR_METADATA_TYPE_NONE, the size should be 0.
- For D3DDDI_HDR_METADATA_TYPE_HDR10, the size is sizeof(D3DDDI_HDR_METADATA_HDR10).
Points to a structure containing the HDR metadata.
- For D3DDDI_HDR_METADATA_TYPE_NONE, this should be NULL.
- For D3DDDI_HDR_METADATA_TYPE_HDR10, this is a pointer to a DD3DDDI_HDR_METADATA_HDR10 structure.
//Declaration
PFND3DWDDM2_1DDI_VIDEOPROCESSORSETOUTPUTHDRMETADATA Pfnd3dwddm21DdiVideoprocessorsetoutputhdrmetadata;
// Definition
VOID Pfnd3dwddm21DdiVideoprocessorsetoutputhdrmetadata
(
D3D10DDI_HDEVICE hDevice
D3D11_1DDI_HVIDEOPROCESSOR hVideoProcessor
D3DDDI_HDR_METADATA_TYPE Type
UINT Size
CONST VOID *pMetaData
)
{...}
When processing an HDR stream, the driver may use this brightness information to tone map the video content to optimize it for the output display.