summaryrefslogtreecommitdiff
path: root/src/libcamera/pipeline/ipu3/cio2.h
diff options
context:
space:
mode:
authorJacopo Mondi <jacopo@jmondi.org>2020-07-07 16:25:34 +0200
committerJacopo Mondi <jacopo@jmondi.org>2020-08-03 11:16:17 +0200
commit4217c9f1aa863cf629bb2420be352b0c39988a5b (patch)
tree1cea208f10d1cefe58fffdc4745de6229f52ad49 /src/libcamera/pipeline/ipu3/cio2.h
parent117e65cef28a5bb29b831b9468e11de732e283f6 (diff)
libcamera: camera: Zero streams before validate()
The current implementation of the Camera::configure() method zeroes the stream pointers assigned to the StreamConfiguration items before calling the pipeline handler configure() operation, just after the CameraConfiguration has been validated. This discards the stream assignment performed at pipeline hander validation time, requiring platforms that need to perform that early assignment to maintain the association in place with custom data structures. To allow pipeline handlers to use StreamConfiguration::setStream() at validate() time, zero the stream assignment before calling validate(). Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Niklas Söderlund <niklas.soderlund@ragnatech.se> Signed-off-by: Jacopo Mondi <jacopo@jmondi.org>
Diffstat (limited to 'src/libcamera/pipeline/ipu3/cio2.h')
0 files changed, 0 insertions, 0 deletions