[libcamera-devel] [PATCH v3 0/3] android: Drive-by cleanups

Jacopo Mondi jacopo at jmondi.org
Tue Jul 27 13:05:16 CEST 2021


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



More information about the libcamera-devel mailing list