[libcamera-devel,v4,0/3] Apply a sensor test pattern mode
mbox series

Message ID 20211104064252.2091330-1-hiroh@chromium.org
Headers show
Series
  • Apply a sensor test pattern mode
Related show

Message

Hirokazu Honda Nov. 4, 2021, 6:42 a.m. UTC
This enables CameraSensor to apply a sensor test pattern mode
specified by Request and then actually applies it in IPU3
pipeline handler.

Change in v4:
- Address comments from Jacopo and Kieran
- Change the type of test pattern mode values to its Enum from int32_t
- Add TestPatternModeUnset
- Move the code of filtering and apply test pattern mode to CameraSensor
  so that we don't have to duplicate code in each pipeline handler

Hirokazu Honda (3):
  camera_sensor: Deal test pattern mode control values with its enum
  libcamera: camera_sensor: Enable to set a test pattern mode
  libcamera: pipeline: ipu3: Apply the requested test pattern mode

 include/libcamera/internal/camera_sensor.h    | 18 +++-
 .../internal/camera_sensor_properties.h       |  3 +-
 src/libcamera/camera_sensor.cpp               | 99 +++++++++++++++++--
 src/libcamera/control_ids.yaml                |  5 +
 src/libcamera/pipeline/ipu3/ipu3.cpp          | 35 ++++++-
 5 files changed, 141 insertions(+), 19 deletions(-)

--
2.33.1.1089.g2158813163f-goog