mirror of
https://github.com/raspberrypi/linux.git
synced 2025-12-06 10:00:17 +00:00
v4l2: Add a Greyworld AWB mode.
Adds a simple greyworld white balance preset, mainly for use with cameras without an IR filter (eg Raspberry Pi NoIR) Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.org>
This commit is contained in:
committed by
Phil Elwell
parent
c9597b7479
commit
7644372ca3
@@ -263,6 +263,7 @@ const char * const *v4l2_ctrl_get_menu(u32 id)
|
||||
"Flash",
|
||||
"Cloudy",
|
||||
"Shade",
|
||||
"Greyworld",
|
||||
NULL,
|
||||
};
|
||||
static const char * const camera_iso_sensitivity_auto[] = {
|
||||
|
||||
@@ -827,6 +827,7 @@ enum v4l2_auto_n_preset_white_balance {
|
||||
V4L2_WHITE_BALANCE_FLASH = 7,
|
||||
V4L2_WHITE_BALANCE_CLOUDY = 8,
|
||||
V4L2_WHITE_BALANCE_SHADE = 9,
|
||||
V4L2_WHITE_BALANCE_GREYWORLD = 10,
|
||||
};
|
||||
|
||||
#define V4L2_CID_WIDE_DYNAMIC_RANGE (V4L2_CID_CAMERA_CLASS_BASE+21)
|
||||
|
||||
Reference in New Issue
Block a user