camera_whitebalancemode_t
The white balance mode of the camera.
Synopsis:
#include <camera/camera_api.h>
typedef enum {
CAMERA_WHITEBALANCEMODE_DEFAULT
CAMERA_WHITEBALANCEMODE_OFF
CAMERA_WHITEBALANCEMODE_AUTO
CAMERA_WHITEBALANCEMODE_MANUAL
CAMERA_WHITEBALANCEMODE_NUMWHITEBALANCEMODES
} camera_whitebalancemode_t;Data:
- CAMERA_WHITEBALANCEMODE_DEFAULT
- White balance is automatically adjusted by the platform.
- CAMERA_WHITEBALANCEMODE_OFF
- Auto white balance is off.
- CAMERA_WHITEBALANCEMODE_AUTO
- Auto white balance is on and will be set automatically.
- CAMERA_WHITEBALANCEMODE_MANUAL
- White balance must be manually set.
- CAMERA_WHITEBALANCEMODE_NUMWHITEBALANCEMODES
- The total number of white balance modes.
Library:
libcamapiDescription:
You can use the camera_get_whitebalance_modes() function to determine which modes are supported for the current platform and camera.