
A virtual stateless device for stateless uAPI development purposes. This tool's objective is to help the development and testing of userspace applications that use the V4L2 stateless API to decode media. A userspace implementation can use visl to run a decoding loop even when no hardware is available or when the kernel uAPI for the codec has not been upstreamed yet. This can reveal bugs at an early stage. This driver can also trace the contents of the V4L2 controls submitted to it. It can also dump the contents of the vb2 buffers through a debugfs interface. This is in many ways similar to the tracing infrastructure available for other popular encode/decode APIs out there and can help develop a userspace application by using another (working) one as a reference. Note that no actual decoding of video frames is performed by visl. The V4L2 test pattern generator is used to write various debug information to the capture buffers instead. Signed-off-by: Daniel Almeida <daniel.almeida@collabora.com> Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
1.0 KiB
SPDX-License-Identifier: GPL-2.0-only
menuconfig V4L_TEST_DRIVERS bool "V4L test drivers" depends on VIDEO_DEV
if V4L_TEST_DRIVERS
config VIDEO_VIM2M tristate "Virtual Memory-to-Memory Driver" depends on VIDEO_DEV select VIDEOBUF2_VMALLOC select V4L2_MEM2MEM_DEV select MEDIA_CONTROLLER select MEDIA_CONTROLLER_REQUEST_API help This is a virtual test device for the memory-to-memory driver framework.
source "drivers/media/test-drivers/vicodec/Kconfig" source "drivers/media/test-drivers/vimc/Kconfig" source "drivers/media/test-drivers/vivid/Kconfig" source "drivers/media/test-drivers/visl/Kconfig"
endif #V4L_TEST_DRIVERS
menuconfig DVB_TEST_DRIVERS bool "DVB test drivers" depends on DVB_CORE && MEDIA_SUPPORT && I2C help Enables DVB test drivers.
This enables the DVB test drivers. They are meant as an aid for
DVB device driver writers and developers working on userspace
media applications.
if DVB_TEST_DRIVERS
source "drivers/media/test-drivers/vidtv/Kconfig"
endif #DVB_TEST_DRIVERS