提交 6d39b8eb 编写于 作者: D Dave Stevenson 提交者: Zheng Zengkai

v4l2: Add a Greyworld AWB mode.

raspberrypi inclusion
category: feature
bugzilla: 50432

--------------------------------

Adds a simple greyworld white balance preset, mainly for use
with cameras without an IR filter (eg Raspberry Pi NoIR)
Signed-off-by: NDave Stevenson <dave.stevenson@raspberrypi.org>
Signed-off-by: NFang Yafen <yafen@iscas.ac.cn>
Signed-off-by: NZheng Zengkai <zhengzengkai@huawei.com>
上级 32dd2cae
......@@ -275,6 +275,7 @@ const char * const *v4l2_ctrl_get_menu(u32 id)
"Flash",
"Cloudy",
"Shade",
"Greyworld",
NULL,
};
static const char * const camera_iso_sensitivity_auto[] = {
......
......@@ -886,6 +886,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)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册