libcamera/test/camera
Niklas Söderlund 6e1e847753 test: camera: buffer_import: Update to FrameBuffer restrictions
With the FrameBuffer interface the V4L2 buffer indexes are not visible
outside the V4L2VideoDevice so it's not possible to to test that the
expected indexes are used when using external buffers (allocated
directly from a V4L2 video device) with a Camera. Rewrite the test to
this limitation.

The idea of the test stays the same, test that buffers allocated from a
V4L2 video device (vivid) can be imported and used on a Camera (vimc).
As an added bonus the rewrite makes use of the FrameBuffer interface for
the allocation of buffers at the source (vivid) and imports them to the
Camera which still uses the Buffer interface internally.

Signed-off-by: Niklas Söderlund <niklas.soderlund@ragnatech.se>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
2020-01-12 16:10:37 +01:00
..
buffer_import.cpp test: camera: buffer_import: Update to FrameBuffer restrictions 2020-01-12 16:10:37 +01:00
capture.cpp libcamera: buffer: Move captured metadata to FrameMetadata 2020-01-12 16:10:37 +01:00
configuration_default.cpp test: Extract CameraTest class out of camera tests to libtest 2019-11-20 21:47:20 +02:00
configuration_set.cpp test: Extract CameraTest class out of camera tests to libtest 2019-11-20 21:47:20 +02:00
meson.build test: Extract CameraTest class out of camera tests to libtest 2019-11-20 21:47:20 +02:00
statemachine.cpp libcamera: request: In addBuffer() do not fetch stream from Buffer 2020-01-12 16:10:37 +01:00