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