Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

DXVA_VideoLighting enumeration

The DXVA_VideoLighting enumeration type contains enumerators that identify lighting conditions for viewing video.

Syntax


typedef enum _DXVA_VideoLighting { 
  DXVA_VideoLightingShift     = (DXVA_ExtColorData_ShiftBase + 10),
  DXVA_VideoLightingMask      = DXVAColorMask(4, DXVA_VideoLightingShift),
  DXVA_VideoLighting_Unknown  = 0,
  DXVA_VideoLighting_bright   = 1,
  DXVA_VideoLighting_office   = 2,
  DXVA_VideoLighting_dim      = 3,
  DXVA_VideoLighting_dark     = 4
} DXVA_VideoLighting;

Constants

DXVA_VideoLightingShift

Specifies to shift bits by 18 positions (DXVA_ExtColorData_ShiftBase + 10, or 8 + 10).

DXVA_VideoLightingMask

Specifies the video lighting mask. 4 (0x003C0000) bits of a DWORD can be used to specify video lighting.

DXVA_VideoLighting_Unknown

Specifies that the video lighting condition is not specified. The default is dim.

DXVA_VideoLighting_bright

Specifies bright light for viewing video (for example, outside lighting conditions).

DXVA_VideoLighting_office

Specifies a medium brightness light for viewing video (for example, lighting conditions in home offices).

DXVA_VideoLighting_dim

Specifies a dim light for viewing video (for example, low-level lighting in a living room while watching television).

DXVA_VideoLighting_dark

Specifies near darkness for viewing video (for example, movie-theatre lighting).

Remarks

One of the enumerators of DXVA_VideoLighting can be specified in the VideoLighting member of the DXVA_ExtendedFormat structure.

The video lighting enumerators can be used to alter the gamma to generate a comparable experience in a different lighting condition.

Requirements

Version

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)

See also

DXVA_ExtendedFormat

 

 

Send comments about this topic to Microsoft

Show:
© 2015 Microsoft