projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
aa3e9fb
)
v4l2: Add a Greyworld AWB mode.
author
Dave Stevenson
<dave.stevenson@raspberrypi.org>
Fri, 6 Sep 2019 14:04:51 +0000
(15:04 +0100)
committer
Dom Cobley
<popcornmix@gmail.com>
Mon, 19 Feb 2024 11:32:55 +0000
(11:32 +0000)
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>
include/uapi/linux/v4l2-controls.h
patch
|
blob
|
history
diff --git
a/include/uapi/linux/v4l2-controls.h
b/include/uapi/linux/v4l2-controls.h
index c3604a0a3e30ae44e2c1ff1e20e9745c92fc0d2d..80f82c2853de39296bccc49ebe324914e4f06cab 100644
(file)
--- a/
include/uapi/linux/v4l2-controls.h
+++ b/
include/uapi/linux/v4l2-controls.h
@@
-1004,6
+1004,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)