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

staging:bcm2835-camera: Fix the cherry-pick of AWB Greyworld

raspberrypi inclusion
category: feature
bugzilla: 50432

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

The cherry-pick of the patch that added the greyworld AWB mode
was incomplete. Fix it up.

Fixes: b3ef481fe243 "staging: bcm2835-camera: Add greyworld AWB mode"
Signed-off-by: NDave Stevenson <dave.stevenson@raspberrypi.com>
Signed-off-by: NFang Yafen <yafen@iscas.ac.cn>
Signed-off-by: NZheng Zengkai <zhengzengkai@huawei.com>
上级 bdebbdc4
...@@ -1056,8 +1056,8 @@ static const struct bm2835_mmal_v4l2_ctrl v4l2_ctrls[V4L2_CTRL_COUNT] = { ...@@ -1056,8 +1056,8 @@ static const struct bm2835_mmal_v4l2_ctrl v4l2_ctrls[V4L2_CTRL_COUNT] = {
{ {
.id = V4L2_CID_AUTO_N_PRESET_WHITE_BALANCE, .id = V4L2_CID_AUTO_N_PRESET_WHITE_BALANCE,
.type = MMAL_CONTROL_TYPE_STD_MENU, .type = MMAL_CONTROL_TYPE_STD_MENU,
.min = ~0x3ff, .min = ~0x7ff,
.max = V4L2_WHITE_BALANCE_SHADE, .max = V4L2_WHITE_BALANCE_GREYWORLD,
.def = V4L2_WHITE_BALANCE_AUTO, .def = V4L2_WHITE_BALANCE_AUTO,
.step = 0, .step = 0,
.imenu = NULL, .imenu = NULL,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册