WPD_WHITE_BALANCE_SETTINGS enumeration

The WPD_WHITE_BALANCE_SETTINGS enumeration type describes how a video or image device weights color channels to achieve a proper white balance.

Syntax

typedef enum WPD_WHITE_BALANCE_SETTINGS { 
  WPD_WHITE_BALANCE_UNDEFINED           = 0,
  WPD_WHITE_BALANCE_MANUAL              = 1,
  WPD_WHITE_BALANCE_AUTOMATIC           = 2,
  WPD_WHITE_BALANCE_ONE_PUSH_AUTOMATIC  = 3,
  WPD_WHITE_BALANCE_DAYLIGHT            = 4,
  WPD_WHITE_BALANCE_TUNGSTEN            = 5,
  WPD_WHITE_BALANCE_FLASH               = 6
} ;

Constants

WPD_WHITE_BALANCE_UNDEFINED

This value has not been defined.

WPD_WHITE_BALANCE_MANUAL

The white balance is set explicitly by using the WPD_STILL_IMAGE_RGB_GAIN property and will not change by itself.

WPD_WHITE_BALANCE_AUTOMATIC

The device will set the white balance.

WPD_WHITE_BALANCE_ONE_PUSH_AUTOMATIC

The device will set the white balance, but only when the user pushes the device's capture button while aiming the device at a white field.

WPD_WHITE_BALANCE_DAYLIGHT

The device will use white balance numbers appropriate for use in most daylight settings.

WPD_WHITE_BALANCE_TUNGSTEN

The device will use white balance numbers appropriate for use in most indoor, incandescent lighting settings.

WPD_WHITE_BALANCE_FLASH

The device will use white balance numbers appropriate for use with a flash.

Remarks

This enumeration is used by the WPD_STILL_IMAGE_WHITE_BALANCE property.

Requirements

Requirement Value
Header
PortableDevice.h

See also

Structures and Enumeration Types