Skip to content

Latest commit

 

History

History
119 lines (70 loc) · 3.14 KB

wpd-white-balance-settings.md

File metadata and controls

119 lines (70 loc) · 3.14 KB
description ms.assetid title ms.topic ms.date topic_type api_name api_type api_location
The WPD\_WHITE\_BALANCE\_SETTINGS enumeration type describes how a video or image device weights color channels to achieve a proper white balance.
7bc173dd-4fdd-4b03-994e-f0711c910618
WPD_WHITE_BALANCE_SETTINGS enumeration (PortableDevice.h)
reference
05/31/2018
APIRef
kbSyntax
WPD_WHITE_BALANCE_SETTINGS
HeaderDef
PortableDevice.h

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