libcamera/src/v4l2
Niklas Söderlund ae9a05847c libcamera: buffer: Switch from Plane to FrameBuffer::Plane
It is not libcamera's responsibility to handle memory mappings. Switch
from the soon to be removed Plane class which deals with memory
mappings to FrameBuffer::Plane which just describes it. This makes the
transition to the full FrameBuffer easier.

As the full FrameBuffer interface has not yet spread to all parts of
libcamera core it is hard to create efficient caching of memory mappings
in the qcam application. This will be fixed in a later patch, for now
the dmabuf is mapped and unmapped each time it is seen by the
application.

Signed-off-by: Niklas Söderlund <niklas.soderlund@ragnatech.se>
Reviewed-by: Jacopo Mondi <jacopo@jmondi.org>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
2020-01-12 16:10:37 +01:00
..
meson.build v4l2: v4l2_compat: Add V4L2 compatibility layer 2020-01-03 19:53:20 -05:00
v4l2_camera.cpp libcamera: buffer: Switch from Plane to FrameBuffer::Plane 2020-01-12 16:10:37 +01:00
v4l2_camera.h v4l2: camera: Handle memory mapping of buffers directly 2020-01-12 16:10:37 +01:00
v4l2_camera_proxy.cpp v4l2: camera_proxy: Call V4L2Camera::getBufferFd() directly 2020-01-12 16:10:37 +01:00
v4l2_camera_proxy.h v4l2: camera: Handle memory mapping of buffers directly 2020-01-12 16:10:37 +01:00
v4l2_compat.cpp v4l2: Fix compilation of __open_2() and __openat_2() with gcc 2020-01-04 16:07:17 +02:00
v4l2_compat_manager.cpp v4l2: camera: Handle memory mapping of buffers directly 2020-01-12 16:10:37 +01:00
v4l2_compat_manager.h v4l2: compat_manager: Move file operations to new struct FileOperations 2020-01-07 22:35:23 +02:00