Hardware Dev Center

Espandi Riduci a icona

DXVADDI_NOMINALRANGE enumeration

The DXVADDI_NOMINALRANGE enumeration type contains values that identify whether sample data includes headroom (that is, values beyond 1.0 white) and toeroom (that is, superblacks below the reference 0.0 black).

Syntax


typedef enum _DXVADDI_NOMINALRANGE { 
  DXVADDI_NominalRangeMask      = 0x07,
  DXVADDI_NominalRange_Unknown  = 0,
  DXVADDI_NominalRange_Normal   = 1,
  DXVADDI_NominalRange_Wide     = 2,
  DXVADDI_NominalRange_0_255    = 1,
  DXVADDI_NominalRange_16_235   = 2,
  DXVADDI_NominalRange_48_208   = 3
} DXVADDI_NOMINALRANGE;

Constants

DXVADDI_NominalRangeMask

The nominal range mask. The first 3 (0x07) bits of a DWORD can be used to specify nominal range.

DXVADDI_NominalRange_Unknown

The nominal range is not specified.

DXVADDI_NominalRange_Normal

Normalized chroma [0..1] maps to [0..255] (8bit) or [0..1023] (10 bit).

DXVADDI_NominalRange_Wide

Normalized chroma [0..1] maps to [16..235] (8bit) or [64..940] (10 bit).

DXVADDI_NominalRange_0_255

Normalized chroma [0..1] maps explicitly to [0..255] (8bit).

DXVADDI_NominalRange_16_235

Normalized chroma [0..1] maps explicitly to [16..235] (8bit).

DXVADDI_NominalRange_48_208

Normalized chroma [0..1] maps explicitly to [48..208] (8bit).

Remarks

One of the values of DXVADDI_NOMINALRANGE can be specified in the NominalRange member of the DXVADDI_EXTENDEDFORMAT structure.

Wide gamut R'G'B' (that is, blackpoint at 16,16,16 and whitepoint at 235,235,235) must be differentiated from normal sRGB.

Requirements

Version

Available in Windows Vista and later versions of the Windows operating systems.

Header

D3dumddi.h (include D3dumddi.h)

See also

DXVADDI_EXTENDEDFORMAT

 

 

Send comments about this topic to Microsoft

Mostra:
© 2015 Microsoft