NVAPI Reference Documentation
NVIDIA
Release 384: June 27
2017

_NV_HDR_COLOR_DATA_V2 Struct Reference

#include <nvapi.h>

Data Fields

NvU32 version
 
NV_HDR_CMD cmd
 
NV_HDR_MODE hdrMode
 
NV_STATIC_METADATA_DESCRIPTOR_ID static_metadata_descriptor_id
 
struct {
   NvU16   displayPrimary_x0
 
   NvU16   displayPrimary_y0
 
   NvU16   displayPrimary_x1
 
   NvU16   displayPrimary_y1
 
   NvU16   displayPrimary_x2
 
   NvU16   displayPrimary_y2
 
   NvU16   displayWhitePoint_x
 
   NvU16   displayWhitePoint_y
 
   NvU16   max_display_mastering_luminance
 
   NvU16   min_display_mastering_luminance
 
   NvU16   max_content_light_level
 
   NvU16   max_frame_average_light_level
 
mastering_display_data
 
NV_COLOR_FORMAT hdrColorFormat
 
NV_DYNAMIC_RANGE hdrDynamicRange
 
NV_BPC hdrBpc
 

Field Documentation

NV_HDR_CMD _NV_HDR_COLOR_DATA_V2::cmd

Command get/set.

NvU16 _NV_HDR_COLOR_DATA_V2::displayPrimary_x0

x coordinate of color primary 0 (e.g. Red) of mastering display ([0x0000-0xC350] = [0.0 - 1.0])

NvU16 _NV_HDR_COLOR_DATA_V2::displayPrimary_x1

x coordinate of color primary 1 (e.g. Green) of mastering display ([0x0000-0xC350] = [0.0 - 1.0])

NvU16 _NV_HDR_COLOR_DATA_V2::displayPrimary_x2

x coordinate of color primary 2 (e.g. Blue) of mastering display ([0x0000-0xC350] = [0.0 - 1.0])

NvU16 _NV_HDR_COLOR_DATA_V2::displayPrimary_y0

y coordinate of color primary 0 (e.g. Red) of mastering display ([0x0000-0xC350] = [0.0 - 1.0])

NvU16 _NV_HDR_COLOR_DATA_V2::displayPrimary_y1

y coordinate of color primary 1 (e.g. Green) of mastering display ([0x0000-0xC350] = [0.0 - 1.0])

NvU16 _NV_HDR_COLOR_DATA_V2::displayPrimary_y2

y coordinate of color primary 2 (e.g. Blue) of mastering display ([0x0000-0xC350] = [0.0 - 1.0])

NvU16 _NV_HDR_COLOR_DATA_V2::displayWhitePoint_x

x coordinate of white point of mastering display ([0x0000-0xC350] = [0.0 - 1.0])

NvU16 _NV_HDR_COLOR_DATA_V2::displayWhitePoint_y

y coordinate of white point of mastering display ([0x0000-0xC350] = [0.0 - 1.0])

NV_BPC _NV_HDR_COLOR_DATA_V2::hdrBpc

Optional, One of NV_BPC enum values, if set it will apply requested color depth Dolby Vision mode: DV supports specific combinations of colorformat, dynamic range and bpc. Please refer Dolby Vision specification. If invalid or no combination is passed driver will force default combination of RGB format + full range + 8bpc. HDR mode: These fields are ignored in hdr mode

NV_COLOR_FORMAT _NV_HDR_COLOR_DATA_V2::hdrColorFormat

Optional, One of NV_COLOR_FORMAT enum values, if set it will apply requested color format for HDR session.

NV_DYNAMIC_RANGE _NV_HDR_COLOR_DATA_V2::hdrDynamicRange

Optional, One of NV_DYNAMIC_RANGE enum values, if set it will apply requested dynamic range for HDR session.

NV_HDR_MODE _NV_HDR_COLOR_DATA_V2::hdrMode

HDR mode.

struct { ... } _NV_HDR_COLOR_DATA_V2::mastering_display_data
NvU16 _NV_HDR_COLOR_DATA_V2::max_content_light_level

Maximum Content Light level (MaxCLL) ([0x0001-0xFFFF] = [1.0 - 65535.0] cd/m^2)

NvU16 _NV_HDR_COLOR_DATA_V2::max_display_mastering_luminance

Maximum display mastering luminance ([0x0001-0xFFFF] = [1.0 - 65535.0] cd/m^2)

NvU16 _NV_HDR_COLOR_DATA_V2::max_frame_average_light_level

Maximum Frame-Average Light Level (MaxFALL) ([0x0001-0xFFFF] = [1.0 - 65535.0] cd/m^2)

NvU16 _NV_HDR_COLOR_DATA_V2::min_display_mastering_luminance

Minimum display mastering luminance ([0x0001-0xFFFF] = [1.0 - 6.55350] cd/m^2)

NV_STATIC_METADATA_DESCRIPTOR_ID _NV_HDR_COLOR_DATA_V2::static_metadata_descriptor_id

Static Metadata Descriptor Id (0 for static metadata type 1)

NvU32 _NV_HDR_COLOR_DATA_V2::version

Version of this structure.


The documentation for this struct was generated from the following file:


Copyright (c) 2007-2017 NVIDIA Corporation. All rights reserved.

NVIDIA