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

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

Message

Jacopo Mondi July 27, 2021, 11:05 a.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

v2->v3:
- Use a switch case for format enumeration as suggested by Laurent

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 | 57 +++++++++++++++++------------
 src/android/camera_capabilities.h   |  8 ++--
 2 files changed, 37 insertions(+), 28 deletions(-)

--
2.32.0