libcamera/test
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
..
camera libcamera: pipeline: vimc: Switch to using the RGB/YUV Capture video node 2019-08-11 02:16:21 +02:00
controls libcamera: test: Add ControlList tests 2019-07-02 16:59:53 +03:00
ipa libcamera: ipa_module_info: add license field 2019-07-12 15:52:30 +09:00
ipc test: Allow self-contained tests to run in parallel 2019-07-04 16:42:08 +02:00
libtest libcamera: add IPA proxy 2019-07-12 16:32:29 +09:00
log test: logging: move logging tests to a subdirectory 2019-07-17 14:36:35 +09:00
media_device meson: Create and use a dependency for libcamera and its headers 2019-05-23 13:56:33 +03:00
pipeline meson: Create and use a dependency for libcamera and its headers 2019-05-23 13:56:33 +03:00
process libcamera: Add Process and ProcessManager classes 2019-07-12 16:32:29 +09:00
stream test: Allow self-contained tests to run in parallel 2019-07-04 16:42:08 +02:00
v4l2_subdevice libcamera: v4l2_subdevice: Replace FormatEnum with ImageFormats 2019-06-19 03:06:33 +02:00
v4l2_videodevice libcamera: v4l2_videodevice: Signal buffer completion at streamoff time 2019-07-14 16:00:56 +03:00
camera-sensor.cpp tests: Add CameraSensor class test 2019-06-12 15:10:38 +03:00
event-dispatcher.cpp tests: event-dispatcher: Add processEvents() interruption test 2019-01-23 18:51:56 +02:00
event.cpp libcamera: Don't ignore the return value of read() and write() 2019-04-29 15:54:40 +03:00
geometry.cpp test: geometry: Add tests for Size class comparison operators 2019-04-18 18:13:10 +03:00
list-cameras.cpp libcamera: camera: Handle camera objects through shared pointers 2019-01-21 11:13:53 +02:00
meson.build test: logging: move logging tests to a subdirectory 2019-07-17 14:36:35 +09:00
message.cpp libcamera: message: Add user message types 2019-07-16 10:55:27 +03:00
signal-threads.cpp test: Add test case for signal delivery across threads 2019-07-11 11:57:37 +03:00
signal.cpp test: signal: Extend Signal test with multi-inheritance reeiver 2019-07-11 16:38:18 +03:00
threads.cpp test: Add Thread test cases 2019-07-11 11:57:37 +03:00
timer.cpp test: timer: Add dynamically allocated timer test 2019-07-01 23:48:37 +02:00