Skip to content

Commit 749c97d

Browse files
6by9popcornmix
authored andcommitted
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>
1 parent fe9c11e commit 749c97d

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎include/uapi/linux/v4l2-controls.h‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -931,6 +931,7 @@ enum v4l2_auto_n_preset_white_balance {
931931
V4L2_WHITE_BALANCE_FLASH = 7,
932932
V4L2_WHITE_BALANCE_CLOUDY = 8,
933933
V4L2_WHITE_BALANCE_SHADE = 9,
934+
V4L2_WHITE_BALANCE_GREYWORLD = 10,
934935
};
935936

936937
#define V4L2_CID_WIDE_DYNAMIC_RANGE (V4L2_CID_CAMERA_CLASS_BASE+21)

0 commit comments

Comments
 (0)