xref: /OK3568_Linux_fs/kernel/drivers/media/test-drivers/vivid/Kconfig (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyun# SPDX-License-Identifier: GPL-2.0-only
2*4882a593Smuzhiyunconfig VIDEO_VIVID
3*4882a593Smuzhiyun	tristate "Virtual Video Test Driver"
4*4882a593Smuzhiyun	depends on VIDEO_DEV && VIDEO_V4L2 && !SPARC32 && !SPARC64 && FB
5*4882a593Smuzhiyun	depends on HAS_DMA
6*4882a593Smuzhiyun	select FONT_SUPPORT
7*4882a593Smuzhiyun	select FONT_8x16
8*4882a593Smuzhiyun	select FB_CFB_FILLRECT
9*4882a593Smuzhiyun	select FB_CFB_COPYAREA
10*4882a593Smuzhiyun	select FB_CFB_IMAGEBLIT
11*4882a593Smuzhiyun	select VIDEOBUF2_VMALLOC
12*4882a593Smuzhiyun	select VIDEOBUF2_DMA_CONTIG
13*4882a593Smuzhiyun	select VIDEO_V4L2_TPG
14*4882a593Smuzhiyun	select MEDIA_CONTROLLER
15*4882a593Smuzhiyun	select MEDIA_CONTROLLER_REQUEST_API
16*4882a593Smuzhiyun	help
17*4882a593Smuzhiyun	  Enables a virtual video driver. This driver emulates a webcam,
18*4882a593Smuzhiyun	  TV, S-Video and HDMI capture hardware, including VBI support for
19*4882a593Smuzhiyun	  the SDTV inputs. Also video output, VBI output, radio receivers,
20*4882a593Smuzhiyun	  transmitters and software defined radio capture is emulated.
21*4882a593Smuzhiyun
22*4882a593Smuzhiyun	  It is highly configurable and is ideal for testing applications.
23*4882a593Smuzhiyun	  Error injection is supported to test rare errors that are hard
24*4882a593Smuzhiyun	  to reproduce in real hardware.
25*4882a593Smuzhiyun
26*4882a593Smuzhiyun	  Say Y here if you want to test video apps or debug V4L devices.
27*4882a593Smuzhiyun	  When in doubt, say N.
28*4882a593Smuzhiyun
29*4882a593Smuzhiyunconfig VIDEO_VIVID_CEC
30*4882a593Smuzhiyun	bool "Enable CEC emulation support"
31*4882a593Smuzhiyun	depends on VIDEO_VIVID
32*4882a593Smuzhiyun	select CEC_CORE
33*4882a593Smuzhiyun	help
34*4882a593Smuzhiyun	  When selected the vivid module will emulate the optional
35*4882a593Smuzhiyun	  HDMI CEC feature.
36*4882a593Smuzhiyun
37*4882a593Smuzhiyunconfig VIDEO_VIVID_MAX_DEVS
38*4882a593Smuzhiyun	int "Maximum number of devices"
39*4882a593Smuzhiyun	depends on VIDEO_VIVID
40*4882a593Smuzhiyun	default "64"
41*4882a593Smuzhiyun	help
42*4882a593Smuzhiyun	  This allows you to specify the maximum number of devices supported
43*4882a593Smuzhiyun	  by the vivid driver.
44