mirror of
https://git.libcamera.org/libcamera/libcamera.git
synced 2025-07-26 01:55:51 +03:00
libcamera: properties: ColorFilterArrangement draft property
Define the 'ColorFilterArrangement' draft property. The property is currently identical to ANDROID_SENSOR_INFO_COLOR_FILTER_ARRANGEMENT. Reviewed-by: Paul Elder <paul.elder@ideasonboard.com> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Jacopo Mondi <jacopo@jmondi.org>
This commit is contained in:
parent
b7704820f4
commit
5d3d0dcedb
1 changed files with 29 additions and 0 deletions
|
@ -678,4 +678,33 @@ controls:
|
||||||
\todo Turn this property into a "maximum control value" for the
|
\todo Turn this property into a "maximum control value" for the
|
||||||
ScalerCrop control once "dynamic" controls have been implemented.
|
ScalerCrop control once "dynamic" controls have been implemented.
|
||||||
|
|
||||||
|
# ----------------------------------------------------------------------------
|
||||||
|
# Draft properties section
|
||||||
|
|
||||||
|
- ColorFilterArrangement:
|
||||||
|
type: int32_t
|
||||||
|
draft: true
|
||||||
|
description: |
|
||||||
|
The arrangement of color filters on sensor; represents the colors in the
|
||||||
|
top-left 2x2 section of the sensor, in reading order. Currently
|
||||||
|
identical to ANDROID_SENSOR_INFO_COLOR_FILTER_ARRANGEMENT.
|
||||||
|
enum:
|
||||||
|
- name: RGGB
|
||||||
|
value: 0
|
||||||
|
description: RGGB Bayer pattern
|
||||||
|
- name: GRBG
|
||||||
|
value: 1
|
||||||
|
description: GRBG Bayer pattern
|
||||||
|
- name: GBRG
|
||||||
|
value: 2
|
||||||
|
description: GBRG Bayer pattern
|
||||||
|
- name: BGGR
|
||||||
|
value: 3
|
||||||
|
description: BGGR Bayer pattern
|
||||||
|
- name: RGB
|
||||||
|
value: 4
|
||||||
|
description: |
|
||||||
|
Sensor is not Bayer; output has 3 16-bit values for each pixel,
|
||||||
|
instead of just 1 16-bit value per pixel.
|
||||||
|
|
||||||
...
|
...
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue