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

Message ID 20240924090051.1617040-1-chenghaoyang@google.com
Headers show
Series
  • Add camera sensor properties for ciri
Related show

Message

Harvey Yang Sept. 24, 2024, 8:26 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/1276930

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.

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: Add gc05a2 camera sensor proprietary for ciri
  libcamera: Add gc08a3 camera sensor proprietary for ciri

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