[libcamera-devel] [PATCH 0/2] libcamera: V4L2BufferCache: Improve cache eviction strategy

Niklas Söderlund niklas.soderlund at ragnatech.se
Sun Feb 16 17:16:40 CET 2020


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

-- 
2.25.0



More information about the libcamera-devel mailing list