[libcamera-devel] [RFC PATCH 0/5] Report available test pattern modes

Hirokazu Honda hiroh at chromium.org
Fri Apr 9 06:32:03 CEST 2021


ChromeOS camera test tests that a camera frame is not corrupted
while it specifies some test pattern mode. If no test pattern
mode is available, the test fails. In order to pass the test,
libcamera needs to report available test pattern modes and
produce camera frames with requested pattern modes.
This is the first step for the aim. libcamera queries a camera
sensor the supported test pattern modes and reports them with
ANDROID_SENSOR_AVAILABLE_TEST_PATTERN_MODES.

Hirokazu Honda (5):
  libcamera: controls: Add sensor test pattern mode
  libcamera: V4L2Subdevice: Add getter/setter function for test pattern
    mode
  libcamera: CameraSensor: Expose supported test pattern modes
  libcamera: pipeline: ipu3: Report available test pattern modes
  android: CameraDevice: Report queried test pattern modes

 include/libcamera/internal/camera_sensor.h  |   6 ++
 include/libcamera/internal/v4l2_subdevice.h |   5 +
 src/android/camera_device.cpp               |  18 +++-
 src/libcamera/camera_sensor.cpp             |   8 ++
 src/libcamera/control_ids.yaml              |  59 +++++++++++
 src/libcamera/pipeline/ipu3/ipu3.cpp        |  10 ++
 src/libcamera/v4l2_subdevice.cpp            | 104 ++++++++++++++++++++
 7 files changed, 206 insertions(+), 4 deletions(-)

--
2.31.1.295.g9ea45b61b8-goog


More information about the libcamera-devel mailing list