[libcamera-devel,0/2] libcamera: V4L2BufferCache: Improve cache eviction strategy
mbox series

Message ID 20200216161642.152263-1-niklas.soderlund@ragnatech.se
Headers show
Series
  • libcamera: V4L2BufferCache: Improve cache eviction strategy
Related show

Message

Niklas Söderlund Feb. 16, 2020, 4:16 p.m. UTC
Hello,

This small series improves the function of the V4L2BufferCache and how 
it selects which cache entries to evict. The series also adds a test for 
the V4L2BufferCache.

Niklas Söderlund (2):
  libcamera: V4L2BufferCache: Improve cache eviction strategy
  test: v4l2_videodevice: Add test for V4L2BufferCache

 src/libcamera/include/v4l2_videodevice.h |   1 +
 src/libcamera/v4l2_videodevice.cpp       |   9 +-
 test/v4l2_videodevice/buffer_cache.cpp   | 286 +++++++++++++++++++++++
 test/v4l2_videodevice/meson.build        |   1 +
 4 files changed, 294 insertions(+), 3 deletions(-)
 create mode 100644 test/v4l2_videodevice/buffer_cache.cpp