DXVA_NominalRange enumeration (dxva.h)
The DXVA_NominalRange enumeration type contains enumerators that identify whether sample data includes headroom (values beyond 1.0 white) and toeroom (superblacks below the reference 0.0 black).
Syntax
typedef enum _DXVA_NominalRange {
DXVA_NominalRangeShift,
DXVA_NominalRangeMask,
DXVA_NominalRange_Unknown,
DXVA_NominalRange_Normal,
DXVA_NominalRange_Wide,
DXVA_NominalRange_0_255,
DXVA_NominalRange_16_235,
DXVA_NominalRange_48_208
} DXVA_NominalRange;
Constants
DXVA_NominalRangeShift Specifies to shift bits by 12 positions (DXVA_ExtColorData_ShiftBase + 4, or 8 + 4). |
DXVA_NominalRangeMask Specifies the nominal range mask. 3 (0x00007000) bits of a DWORD can be used to specify nominal range. |
DXVA_NominalRange_Unknown Specifies that the nominal range is not specified. |
DXVA_NominalRange_Normal Specifies that normalized chroma [0..1] maps to [0..255] for 8-bit or [0..1023] for 10-bit. |
DXVA_NominalRange_Wide Specifies that normalized chroma [0..1] maps to [16..235] for 8-bit or [64..940] for 10-bit. |
DXVA_NominalRange_0_255 Specifies that normalized chroma [0..1] maps to [0..255] for 8-bit or [0..1023] for 10-bit. |
DXVA_NominalRange_16_235 Specifies that normalized chroma [0..1] maps to [16..235] for 8-bit or [64..940] for 10-bit. |
DXVA_NominalRange_48_208 Specifies that normalized chroma [0..1] maps to [48..208] for 8-bit or [192..832] for 10-bit. |
Remarks
One of the enumerators of DXVA_NominalRange can be specified in the NominalRange member of the DXVA_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
Requirement | Value |
---|---|
Minimum supported client | This enumeration type applies only to Windows Server 2003 with SP1 and later, and Windows XP with SP2 and later. |
Header | dxva.h (include Dxva.h) |