[libcamera-devel,v2,0/3] android: Drive-by cleanups
mbox series

Message ID 20210726153100.27856-1-jacopo@jmondi.org
Headers show
Series
  • android: Drive-by cleanups
Related show

Message

Jacopo Mondi July 26, 2021, 3:30 p.m. UTC
While working a larger series I found a small cleanup occasions I thought I
could send out earlier to fast track them.

The first two are basically just cosmetics, the second might impact the way
capabilities are collected in future. No regressions detected when running CTS.

Thanks
   j

v1->v2:
- Collected tags
- Fix format mapping: as reported by Laurent in the previous version RAW
  formats != 16 bpp where passed to initializeYUVResolutions(). Fix that
  by handling all RAW formats in a single if() branch

Jacopo Mondi (3):
  android: capabilities: Use a throw-away config for YUV stream building
  android: capabilties: Rationalize get[YUV|Raw]Resolution names
  android: capabilities: Centralize RAW support check

 src/android/camera_capabilities.cpp | 45 ++++++++++++++---------------
 src/android/camera_capabilities.h   |  8 ++---
 2 files changed, 25 insertions(+), 28 deletions(-)

--
2.32.0