diff options
author | Niklas Söderlund <niklas.soderlund@ragnatech.se> | 2019-10-28 00:21:48 +0100 |
---|---|---|
committer | Niklas Söderlund <niklas.soderlund@ragnatech.se> | 2020-01-12 16:10:37 +0100 |
commit | 9e71540ebbde3592805aff0e2e26803406b2e15c (patch) | |
tree | 56e70619cb6f0157ef15276325259a91c42cae07 /include/linux/drm_fourcc.h | |
parent | 5967363c0b99a59f3526c51917572b807324e389 (diff) |
libcamera: v4l2_videodevice: Add V4L2BufferCache to deal with index mapping
In preparation for the FrameBuffer interface add a class that will deal
with keeping the cache between dmabuf file descriptors and V4L2 video
device buffer indexes.
This initial implementation ensures that no hot association is lost
while its eviction strategy could be improved in the future.
Signed-off-by: Niklas Söderlund <niklas.soderlund@ragnatech.se>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Diffstat (limited to 'include/linux/drm_fourcc.h')
0 files changed, 0 insertions, 0 deletions