summaryrefslogtreecommitdiff
path: root/src/android/camera_hal_manager.cpp
diff options
context:
space:
mode:
authorMilan Zamazal <mzamazal@redhat.com>2025-02-25 16:06:09 +0100
committerKieran Bingham <kieran.bingham@ideasonboard.com>2025-03-01 23:09:56 +0000
commitcd32e069ecf23f26312d3b0067c676f8cc33c7b8 (patch)
treeee5248b2c855297b861437c96386b953965d2961 /src/android/camera_hal_manager.cpp
parentba4715ffedea0c6b1ba98049ab5a2bd35a56bb0a (diff)
libcamera: software_isp: Handle queued input buffers on stop
When SoftwareIsp stops, input and output buffers queued to it may not yet be fully processed. They will be eventually returned but stop means stop, there should be no processing related actions invoked afterwards. Let's stop forwarding processed input buffers from SoftwareIsp slots when SoftwareIsp is stopped. Let's track the queued input buffers and return them back for capture in SoftwareIsp::stop(). The returned input buffers are marked as cancelled. This is not necessary at the moment but it gives the pipeline handlers chance to deal with this if they need to. Signed-off-by: Milan Zamazal <mzamazal@redhat.com> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com> Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Diffstat (limited to 'src/android/camera_hal_manager.cpp')
0 files changed, 0 insertions, 0 deletions