Files
external_libcamera/include/libcamera
Naushir Patuck 5704856681 libcamera: v4l2_videodevice: Empty the V4L2 buffer cache on streamOff()
When streamOff() is called, ensure the cache entries for the remaining queued
buffers are freed since this will not happen via the dequeueBuffer() mechanism.

Additionally, add a V4L2BufferCache::isEmpty() function and assert that the
cache is empty at the end of the streamOff() call.

Signed-off-by: Naushir Patuck <naush@raspberrypi.com>
Tested-by: David Plowman <david.plowman@raspberrypi.com>
Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
2022-03-28 02:18:34 +03:00
..
2021-12-13 11:29:01 +02:00
2021-11-24 12:17:35 +00:00
2021-12-11 17:53:40 +01:00
2021-11-24 12:17:35 +00:00
2021-12-03 19:20:29 +02:00
2021-11-24 12:17:35 +00:00
2021-12-13 11:29:01 +02:00
2021-11-24 12:17:35 +00:00
2021-11-24 12:17:35 +00:00