[v3,0/2] Add camera sensor properties for ciri
mbox series

Message ID 20241119073913.500732-1-chenghaoyang@chromium.org
Headers show
Series
  • Add camera sensor properties for ciri
Related show

Message

Harvey Yang Nov. 19, 2024, 7:37 a.m. UTC
Hi folks,

This patch adds camera sensor properties for sensors on ciri. It's
required to produce correct color bars test pattern instead of random
pattern.

Tested on mtkisp7 branch with ChromeOS tast test `camera.HAL3Frame`.

This patch passed gitlab pipeline:
https://gitlab.freedesktop.org/chenghaoyang/libcamera/-/pipelines/1312819

The source file includes quite some legacy code that has linter
warnings. This patch follows the same legacy format, so there are some
lint warnings as well.

v3:
- Updated commit messages.
- Added proper linear conversion rules for the two sensors.

v2:
- Removed hi1339 that was not upstreamed and deprecated.
- Added CameraSensorHelper implementations, while might not end up
  using.
- Split into two patches for two sensors.

BR,
Harvey

Harvey Yang (2):
  libcamera: libipa: camera_sensor: Add MediaTek gc05a2 sensor
    properties
  libcamera: libipa: camera_sensor: Add MediaTek gc08a3 sensor
    properties

 src/ipa/libipa/camera_sensor_helper.cpp       | 22 +++++++++++++++++++
 .../sensor/camera_sensor_properties.cpp       | 14 ++++++++++++
 2 files changed, 36 insertions(+)