[libcamera-devel] [PATCH 0/6] android: camera_device: generate templates per use-case

Jacopo Mondi jacopo at jmondi.org
Fri Jul 24 16:21:14 CEST 2020


This series aims to be a starting point to fix several CTS reported issues
on the request template generation.

we currently return the same template for all the supported use cases, which
was a temporary shortcut at the time, but doesn't match what is expected
by CTS.

Start by fixing the PREVIEW template, and pave the road to make the other
templates generated depending on the requested use case.

Thanks
  j

Jacopo Mondi (6):
  android: camera_metadata: Mark isValid() as const
  android: camera_metadata: Add const version of get()
  andrdid: camera_device: Store const templates
  android: camera_metadata: Add method to update an entry
  android: camera_device: Create request templates per use-case
  android: camera_device: Fix preview template

 src/android/camera_device.cpp   | 178 ++++++++++++++++++++++++--------
 src/android/camera_device.h     |   9 +-
 src/android/camera_metadata.cpp |  32 ++++++
 src/android/camera_metadata.h   |   4 +-
 4 files changed, 179 insertions(+), 44 deletions(-)

--
2.27.0



More information about the libcamera-devel mailing list