libcamera/src
Jacopo Mondi b7dfefb882 libcamera: raspberrypi: Refuse invalid roles configuration
The generateConfiguration() implementation does not check if the
requested list of roles can actually be satisfied. The camera API
documentation prescribes the function shall fail in that case, instead
of silently adjust the returned configuration.

Fix this by implementing the same logic as the validate() function
implements, as the pipeline handler supports one raw stream and up to
two output streams.

Reviewed-by: Niklas Söderlund <niklas.soderlund@ragnatech.se>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Jacopo Mondi <jacopo@jmondi.org>
2020-06-29 09:39:36 +02:00
..
android libcamera: Replace explicit DRM FourCCs with libcamera formats 2020-06-18 13:26:58 +03:00
cam (q)cam: Fix header guards 2020-05-18 16:35:55 +03:00
gstreamer gst: Replace explicit DRM FourCCs with libcamera formats 2020-06-18 13:26:43 +03:00
ipa ipa: rpi: Add "focus" algorithm 2020-06-25 17:47:51 +03:00
libcamera libcamera: raspberrypi: Refuse invalid roles configuration 2020-06-29 09:39:36 +02:00
qcam meson: options: Add an option to control compilation of qcam 2020-06-24 19:06:16 +02:00
v4l2 v4l2: v4l2_camera_proxy: Serialize accesses to the proxy 2020-06-25 23:47:13 +09:00
meson.build licenses: License all meson files under CC0-1.0 2020-05-13 16:46:24 +03:00