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

Message ID 20200724142120.95538-1-jacopo@jmondi.org
Headers show
Series
  • android: camera_device: generate templates per use-case
Related show

Message

Jacopo Mondi July 24, 2020, 2:21 p.m. UTC
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