DXVA2_VideoLighting enumeration (dxva2api.h)

Describes the intended lighting conditions for viewing video content. These flags are used in the DXVA2_ExtendedFormat structure.

Syntax

typedef enum _DXVA2_VideoLighting {
  DXVA2_VideoLightingMask = 0xf,
  DXVA2_VideoLighting_Unknown = 0,
  DXVA2_VideoLighting_bright = 1,
  DXVA2_VideoLighting_office = 2,
  DXVA2_VideoLighting_dim = 3,
  DXVA2_VideoLighting_dark = 4
} DXVA2_VideoLighting;

Constants

 
DXVA2_VideoLightingMask
Value: 0xf
Bitmask to validate flag values. This value is not a valid flag.
DXVA2_VideoLighting_Unknown
Value: 0
Unknown. Treat as DXVA2_VideoLighting_dim.
DXVA2_VideoLighting_bright
Value: 1
Outdoor lighting.
DXVA2_VideoLighting_office
Value: 2
Medium brightness; for example, an office.
DXVA2_VideoLighting_dim
Value: 3
Dim; for example, a living room with a television and some additional low lighting.
DXVA2_VideoLighting_dark
Value: 4
Dark; for example, a movie theater.

Remarks

This enumeration is equivalent to the DXVA_VideoLighting enumeration used in DXVA 1.0.

If you are using the IMFMediaType interface to describe the video format, the video lighting is specified in the MF_MT_VIDEO_LIGHTING attribute.

Requirements

   
Minimum supported client Windows Vista [desktop apps only]
Minimum supported server Windows Server 2008 [desktop apps only]
Header dxva2api.h

See also

Media Foundation Enumerations