18c2ecf20Sopenharmony_ci# SPDX-License-Identifier: GPL-2.0-only 28c2ecf20Sopenharmony_ciconfig VIDEO_VIVID 38c2ecf20Sopenharmony_ci tristate "Virtual Video Test Driver" 48c2ecf20Sopenharmony_ci depends on VIDEO_DEV && VIDEO_V4L2 && !SPARC32 && !SPARC64 && FB 58c2ecf20Sopenharmony_ci depends on HAS_DMA 68c2ecf20Sopenharmony_ci select FONT_SUPPORT 78c2ecf20Sopenharmony_ci select FONT_8x16 88c2ecf20Sopenharmony_ci select FB_CFB_FILLRECT 98c2ecf20Sopenharmony_ci select FB_CFB_COPYAREA 108c2ecf20Sopenharmony_ci select FB_CFB_IMAGEBLIT 118c2ecf20Sopenharmony_ci select VIDEOBUF2_VMALLOC 128c2ecf20Sopenharmony_ci select VIDEOBUF2_DMA_CONTIG 138c2ecf20Sopenharmony_ci select VIDEO_V4L2_TPG 148c2ecf20Sopenharmony_ci select MEDIA_CONTROLLER 158c2ecf20Sopenharmony_ci select MEDIA_CONTROLLER_REQUEST_API 168c2ecf20Sopenharmony_ci help 178c2ecf20Sopenharmony_ci Enables a virtual video driver. This driver emulates a webcam, 188c2ecf20Sopenharmony_ci TV, S-Video and HDMI capture hardware, including VBI support for 198c2ecf20Sopenharmony_ci the SDTV inputs. Also video output, VBI output, radio receivers, 208c2ecf20Sopenharmony_ci transmitters and software defined radio capture is emulated. 218c2ecf20Sopenharmony_ci 228c2ecf20Sopenharmony_ci It is highly configurable and is ideal for testing applications. 238c2ecf20Sopenharmony_ci Error injection is supported to test rare errors that are hard 248c2ecf20Sopenharmony_ci to reproduce in real hardware. 258c2ecf20Sopenharmony_ci 268c2ecf20Sopenharmony_ci Say Y here if you want to test video apps or debug V4L devices. 278c2ecf20Sopenharmony_ci When in doubt, say N. 288c2ecf20Sopenharmony_ci 298c2ecf20Sopenharmony_ciconfig VIDEO_VIVID_CEC 308c2ecf20Sopenharmony_ci bool "Enable CEC emulation support" 318c2ecf20Sopenharmony_ci depends on VIDEO_VIVID 328c2ecf20Sopenharmony_ci select CEC_CORE 338c2ecf20Sopenharmony_ci help 348c2ecf20Sopenharmony_ci When selected the vivid module will emulate the optional 358c2ecf20Sopenharmony_ci HDMI CEC feature. 368c2ecf20Sopenharmony_ci 378c2ecf20Sopenharmony_ciconfig VIDEO_VIVID_MAX_DEVS 388c2ecf20Sopenharmony_ci int "Maximum number of devices" 398c2ecf20Sopenharmony_ci depends on VIDEO_VIVID 408c2ecf20Sopenharmony_ci default "64" 418c2ecf20Sopenharmony_ci help 428c2ecf20Sopenharmony_ci This allows you to specify the maximum number of devices supported 438c2ecf20Sopenharmony_ci by the vivid driver. 44