libcamera/include
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
..
android android: Update Android headers 2021-05-31 19:26:59 +03:00
libcamera libcamera: v4l2_videodevice: Empty the V4L2 buffer cache on streamOff() 2022-03-28 02:18:34 +03:00
linux include: linux: Add MEDIA_LNK_FL_ANCILLARY_LINK 2022-03-15 17:20:59 +00:00
meson.build libcamera: Fix base and ipa include dir 2021-09-28 20:09:39 +03:00