[libcamera-devel,v2,0/3] Regard crop_rotate_scale_degrees in configuration
mbox series

Message ID 20210328224528.55468-1-hiroh@chromium.org
Headers show
Series
  • Regard crop_rotate_scale_degrees in configuration
Related show

Message

Hirokazu Honda March 28, 2021, 10:45 p.m. UTC
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.

Hirokazu Honda (3):
  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 | 63 +++++++++++++++++++++++++++++++++++
 1 file changed, 63 insertions(+)

--
2.31.0.291.g576ba9dcdaf-goog