summaryrefslogtreecommitdiff
path: root/src/libcamera/property_ids.yaml
diff options
context:
space:
mode:
authorDavid Plowman <david.plowman@raspberrypi.com>2021-06-28 13:23:22 +0100
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2021-06-28 19:33:42 +0300
commitbdf04cca086eb72a9e0528ba90a5c53d96e52a01 (patch)
treedbe4f65e6e61fe36cfdf445907983718c070aa05 /src/libcamera/property_ids.yaml
parent8738d539f4a350d51bc1f6b780cc1fdfd62cf4ec (diff)
libcamera: Add support for monochrome sensors
This commit adds support for monochrome (greyscale) raw sensors. These are sensors that have no colour filter array, so all pixels are the same and there are no distinct colour channels. These sensors still require many of an ISP's processing stages, such as denoise, tone mapping, but not those that involve colours (such as demosaic, or colour matrices). Signed-off-by: David Plowman <david.plowman@raspberrypi.com> Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Diffstat (limited to 'src/libcamera/property_ids.yaml')
-rw-r--r--src/libcamera/property_ids.yaml4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/libcamera/property_ids.yaml b/src/libcamera/property_ids.yaml
index 104e9aaf..12ecbce5 100644
--- a/src/libcamera/property_ids.yaml
+++ b/src/libcamera/property_ids.yaml
@@ -706,5 +706,9 @@ controls:
description: |
Sensor is not Bayer; output has 3 16-bit values for each pixel,
instead of just 1 16-bit value per pixel.
+ - name: MONO
+ value: 5
+ description: |
+ Sensor is not Bayer; output consists of a single colour channel.
...