summaryrefslogtreecommitdiff
path: root/test/camera/camera_test.h
diff options
context:
space:
mode:
authorJacopo Mondi <jacopo@jmondi.org>2019-06-27 13:02:57 +0200
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2019-07-14 16:01:11 +0300
commite1a5873701a95ad508b705945201d836c49eab0c (patch)
tree3019747e03e9699b9800518b3d78deb6e25dc5bd /test/camera/camera_test.h
parentb5010e4cee6a84f2101a34318221623d8cba009a (diff)
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>
Diffstat (limited to 'test/camera/camera_test.h')
0 files changed, 0 insertions, 0 deletions