[libcamera-devel] [PATCH v3 0/4] Regard crop_rotate_scale_degrees in configuration

Hirokazu Honda hiroh at chromium.org
Tue Mar 30 07:25:17 CEST 2021


A HAL client requests the demanded rotation by
|crop_rotate_scale_degrees| in camera3_stream in configuration.
Libcamera ignores it and doesn't handle the rotation request at
all. This patch series still don't support it, but add the
validation check to the rotation values and deny if a rotation
is requested.

Change in v2:
- Address Jacopo's comments.

Change in v3:
- Introduce CHROMEOS define macro suggested by Laurent.

Hirokazu Honda (4):
  android: Define CHROMEOS macro if android_platform=cros
  android: CameraDevice: Validate crop_rotate_scale_degrees in
    configuration
  android: CameraDevice: Log rotation variables in camera3_stream
  android: CameraDevice: Deny non ROTATION_0 stream configuration

 src/android/camera_device.cpp | 78 +++++++++++++++++++++++++++++++++++
 src/android/meson.build       |  6 +++
 src/libcamera/meson.build     |  6 +++
 3 files changed, 90 insertions(+)

--
2.31.0.291.g576ba9dcdaf-goog


More information about the libcamera-devel mailing list