diff options
author | Naushir Patuck <naush@raspberrypi.com> | 2020-09-18 10:42:29 +0100 |
---|---|---|
committer | Niklas Söderlund <niklas.soderlund@ragnatech.se> | 2020-09-21 13:10:48 +0200 |
commit | b752c57c33151eff5b0e003a24f05a4e05465b1f (patch) | |
tree | 9596fdc005a53e2c021b6e1a758899e4c63e0c25 /src/libcamera/pipeline/raspberrypi/raspberrypi.cpp | |
parent | 45430e12ee74a92a46d8f6b92ba6bb647868ba3f (diff) |
libcamera: pipeline: raspberrypi: Add more robust stream buffer logic
Add further queueing into the RPiStream object to ensure that we always
follow the buffer ordering (be it internal or external) given by
incoming Requests.
This is essential, otherwise we risk dropping frames that are meant to
be part of a Request, and can cause the pipeline to stall indefinitely.
This also prevents any possibility of mismatched frame buffers going
through the pipeline and out to the application.
Signed-off-by: Naushir Patuck <naush@raspberrypi.com>
Reviewed-by: Niklas Söderlund <niklas.soderlund@ragnatech.se>
Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Tested-by: David Plowman <david.plowman@raspberrypi.com>
Signed-off-by: Niklas Söderlund <niklas.soderlund@ragnatech.se>
Diffstat (limited to 'src/libcamera/pipeline/raspberrypi/raspberrypi.cpp')
0 files changed, 0 insertions, 0 deletions