libcamera/include
David Plowman 5e5eadabd8 libcamera: camera: Add validateColorSpaces to CameraConfiguration class
This function forces raw streams to have the "raw" color space, and
also optionally makes all non-raw output streams to share the same
color space as some platforms may require this.

When sharing color spaces we take the shared value to be the one from
the largest of these streams. This choice is ultimately arbitrary, but
can be appropriate if smaller output streams are used for image
analysis rather than human consumption, when the precise colours may
be less important.

Signed-off-by: David Plowman <david.plowman@raspberrypi.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Jacopo Mondi <jacopo@jmondi.org>
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
2021-12-13 11:29:02 +02:00
..
android android: Update Android headers 2021-05-31 19:26:59 +03:00
libcamera libcamera: camera: Add validateColorSpaces to CameraConfiguration class 2021-12-13 11:29:02 +02:00
linux include: drm_fourcc: Add R10 and R12 FourCC 2021-11-02 12:06:09 +00:00
meson.build libcamera: Fix base and ipa include dir 2021-09-28 20:09:39 +03:00