libcamera/test/camera
Niklas Söderlund 4debc71ffa libcamera: pipeline: vimc: Switch to using the RGB/YUV Capture video node
Linux commit 85ab1aa1fac17bcd ("media: vimc: deb: fix default sink bayer
format") which is part of v5.2 changes the default media bus format for
the debayer subdevices. This leads to a -EPIPE error when trying to use
the raw capture video device nodes.

Fix this by moving the vimc pipeline to use the RGB/YUV Capture capture
video node. As a consequence of this change the scaler in the vimc
pipeline is used and a hard coded upscale of 3 is present in the video
pipeline. This limits the sizes exposed and accepted by libcamera to
multiples of 3.

Update the buffer import test case to match this  new format constraint
by setting the resolution to 1920x1080, a resolution which works with
both vimc and vivid. With this new resolution the buffer import test
takes a bit more time to complete 60 buffers and it's runtime also needs
to be increased.

The raw capture video node still needs to be handled by the pipeline as
its format needs to be updated to allow the pipeline format validation
to pass.

Signed-off-by: Niklas Söderlund <niklas.soderlund@ragnatech.se>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
2019-08-11 02:16:21 +02:00
..
buffer_import.cpp libcamera: pipeline: vimc: Switch to using the RGB/YUV Capture video node 2019-08-11 02:16:21 +02: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