[libcamera-devel] [PATCH 0/3] android: Fix capture templates for video recording

Jacopo Mondi jacopo at jmondi.org
Mon Mar 8 18:07:25 CET 2021


This small series fixes two CTS tests that checks for the correctness of
the capture templates generated by
CameraDevice::constructDefaultRequestSettings():

android.hardware.camera2.cts.CameraDeviceTest#testCameraDeviceRecordingTemplate
android.hardware.camera2.cts.CameraDeviceTest#testCameraDeviceManualTemplate

The video capture templates are equal to the preview templates but require
a fixed FPS range, while the capture template for the manual capture intent
is currently not supported (and not mandatory).

Thanks
   j

Jacopo Mondi (3):
  android: camera_device: Refuse unsupported templates
  android: camera_device: Fail template on no FPS range
  android: camera_device: Generate template for Video

 src/android/camera_device.cpp | 72 ++++++++++++++++++++++++-----------
 src/android/camera_device.h   |  1 +
 2 files changed, 51 insertions(+), 22 deletions(-)

--
2.30.0



More information about the libcamera-devel mailing list