mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-25 08:21:14 +00:00
7d7aa2fd92
This change makes the names of Broadcom targets consistent by using the common notation based on SoC/CPU ID (which is used internally anyway), bcmXXXX instead of brcmXXXX. This is even used for target TITLE in make menuconfig already, only the short target name used brcm so far. Despite, since subtargets range from bcm2708 to bcm2711, it seems appropriate to use bcm27xx instead of bcm2708 (again, as already done for BOARDNAME). This also renames the packages brcm2708-userland and brcm2708-gpu-fw. Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de> Acked-by: Álvaro Fernández Rojas <noltari@gmail.com>
35 lines
1.1 KiB
Diff
35 lines
1.1 KiB
Diff
From c8f63d006ff5f84ad629f4c06cdc9fee34fdfe3d Mon Sep 17 00:00:00 2001
|
|
From: Dave Stevenson <dave.stevenson@raspberrypi.org>
|
|
Date: Fri, 6 Sep 2019 15:04:51 +0100
|
|
Subject: [PATCH] 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>
|
|
---
|
|
drivers/media/v4l2-core/v4l2-ctrls.c | 1 +
|
|
include/uapi/linux/v4l2-controls.h | 1 +
|
|
2 files changed, 2 insertions(+)
|
|
|
|
--- a/drivers/media/v4l2-core/v4l2-ctrls.c
|
|
+++ b/drivers/media/v4l2-core/v4l2-ctrls.c
|
|
@@ -275,6 +275,7 @@ const char * const *v4l2_ctrl_get_menu(u
|
|
"Flash",
|
|
"Cloudy",
|
|
"Shade",
|
|
+ "Greyworld",
|
|
NULL,
|
|
};
|
|
static const char * const camera_iso_sensitivity_auto[] = {
|
|
--- a/include/uapi/linux/v4l2-controls.h
|
|
+++ b/include/uapi/linux/v4l2-controls.h
|
|
@@ -815,6 +815,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)
|