libcamera/test/camera
Jacopo Mondi e1a5873701 test: camera: Add buffer import and mapping test
Test buffer importing and mapping by streaming the VIMC camera to VIVID
video output device performing zero-copy memory sharing using dmabuf
file descriptors.

The test cycle 20 buffers between the camera and the output with a 1:1
buffer index to dmabuf fd mapping, then randomises the mapping with the
same number of buffers on each side for 20 more frames, to finally
increase the number of buffers on the output side for the 20 last
frames. No remapping of dmabuf fd to buffer index should occur for the
first 40 frames.

Signed-off-by: Jacopo Mondi <jacopo@jmondi.org>
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Niklas Söderlund <niklas.soderlund@ragnatech.se>
2019-07-14 16:01:11 +03:00
..
buffer_import.cpp test: camera: Add buffer import and mapping test 2019-07-14 16:01:11 +03:00
camera_test.cpp libcamera: Switch to CameraConfiguration 2019-04-09 16:59:19 +02:00
camera_test.h libcamera: Switch to CameraConfiguration 2019-04-09 16:59:19 +02:00
capture.cpp libcamera: Stop using Stream::bufferPool to get the number of buffers 2019-07-14 16:00:58 +03:00
configuration_default.cpp libcamera: camera: Add a validation API to the CameraConfiguration class 2019-05-23 01:07:38 +03:00
configuration_set.cpp test: camera: Fix initialisation 2019-06-10 12:29:40 +01:00
meson.build test: camera: Add buffer import and mapping test 2019-07-14 16:01:11 +03:00
statemachine.cpp libcamera: buffer: Split memory information to BufferMemory 2019-07-14 16:00:54 +03:00