libcamera/src
Laurent Pinchart 2447d14fa8 pipeline: rkisp1: Fix stream size validation
Unlike RkISP1Path::generateConfiguration(), the validate() function
doesn't take the camera sensor resolution into account but only
considers the absolute minimum and maximum sizes supported by the ISP to
validate the stream size. Fix it by using the same logic as when
generating the configuration.

Instead of passing the sensor resolution to the validate() function,
pass the CameraSensor pointer to prepare for subsequent changes that
will require access to more camera sensor data. While at it, update the
generateConfiguration() function similarly for the same reason.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Paul Elder <paul.elder@ideasonboard.com>
Reviewed-by: Jacopo Mondi <jacopo@jmondi.org>
2022-11-25 10:52:06 +02:00
..
android libcamera: stream: Turn StreamRole into scoped enumeration 2022-11-25 10:52:06 +02:00
apps libcamera: stream: Turn StreamRole into scoped enumeration 2022-11-25 10:52:06 +02:00
gstreamer libcamera: stream: Turn StreamRole into scoped enumeration 2022-11-25 10:52:06 +02:00
ipa ipa: rkisp1: agc: Support raw capture 2022-11-25 10:52:06 +02:00
libcamera pipeline: rkisp1: Fix stream size validation 2022-11-25 10:52:06 +02:00
py py: Support controls that are ControlTypeNone 2022-09-30 23:12:05 +03:00
v4l2 v4l2: v4l2_camera: Apply clang thread safety annotation 2022-11-11 16:25:47 +05:30
meson.build Move test applications to src/apps/ 2022-10-20 13:36:25 +03:00