From e1a5873701a95ad508b705945201d836c49eab0c Mon Sep 17 00:00:00 2001 From: Jacopo Mondi Date: Thu, 27 Jun 2019 13:02:57 +0200 Subject: test: camera: Add buffer import and mapping test MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 Signed-off-by: Laurent Pinchart Reviewed-by: Niklas Söderlund --- test/camera/meson.build | 1 + 1 file changed, 1 insertion(+) (limited to 'test/camera/meson.build') diff --git a/test/camera/meson.build b/test/camera/meson.build index 35e97ce5..d6fd66b8 100644 --- a/test/camera/meson.build +++ b/test/camera/meson.build @@ -3,6 +3,7 @@ camera_tests = [ [ 'configuration_default', 'configuration_default.cpp' ], [ 'configuration_set', 'configuration_set.cpp' ], + [ 'buffer_import', 'buffer_import.cpp' ], [ 'statemachine', 'statemachine.cpp' ], [ 'capture', 'capture.cpp' ], ] -- cgit v1.2.1