[libcamera-devel,RFC,0/5] Report available test pattern modes
mbox series

Message ID 20210409043208.1823330-1-hiroh@chromium.org
Headers show
Series
  • Report available test pattern modes
Related show

Message

Hirokazu Honda April 9, 2021, 4:32 a.m. UTC
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