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

Message ID 20210308170728.2212649-1-jacopo@jmondi.org
Headers show
Series
  • android: Fix capture templates for video recording
Related show

Message

Jacopo Mondi March 8, 2021, 5:07 p.m. UTC
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