mirror of
https://github.com/torvalds/linux.git
synced 2024-12-23 19:31:53 +00:00
0c078e310b
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>
30 lines
808 B
Plaintext
30 lines
808 B
Plaintext
# SPDX-License-Identifier: GPL-2.0+
|
|
config VIDEO_VISL
|
|
tristate "Virtual Stateless Decoder Driver (visl)"
|
|
depends on VIDEO_DEV
|
|
select FONT_SUPPORT
|
|
select FONT_8x16
|
|
select VIDEOBUF2_VMALLOC
|
|
select V4L2_MEM2MEM_DEV
|
|
select MEDIA_CONTROLLER
|
|
select MEDIA_CONTROLLER_REQUEST_API
|
|
select VIDEO_V4L2_TPG
|
|
help
|
|
|
|
A virtual stateless decoder device for uAPI development purposes.
|
|
|
|
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.
|
|
|
|
When in doubt, say N.
|
|
|
|
config VISL_DEBUGFS
|
|
bool "Enable debugfs for visl"
|
|
depends on VIDEO_VISL
|
|
depends on DEBUG_FS
|
|
|
|
help
|
|
Choose Y to dump the bitstream buffers through debugfs.
|
|
When in doubt, say N.
|