2013-12-09 17:51:22 +01:00
|
|
|
#
|
|
|
|
# For a description of the syntax of this configuration file,
|
2015-06-28 16:08:57 +02:00
|
|
|
# see the file kconfig-language.txt in the NuttX tools repository.
|
2013-12-09 17:51:22 +01:00
|
|
|
#
|
|
|
|
|
2020-02-06 05:21:22 +01:00
|
|
|
config FB_CMAP
|
|
|
|
bool
|
|
|
|
default n
|
|
|
|
---help---
|
|
|
|
Set by driver-specific configuration to indicate support for color
|
|
|
|
mapping. Not directly user selectable.
|
|
|
|
|
|
|
|
config FB_TRANSPARENCY
|
|
|
|
bool
|
|
|
|
default n
|
|
|
|
---help---
|
|
|
|
Set by driver-specific configuration to indicate support for color
|
|
|
|
transparency. Not directly user selectable.
|
|
|
|
|
2020-06-04 04:35:50 +02:00
|
|
|
config FB_UPDATE
|
|
|
|
bool
|
|
|
|
default n
|
|
|
|
|
2018-05-18 00:11:09 +02:00
|
|
|
config FB_SYNC
|
|
|
|
bool "Hardware signals vertical sync"
|
|
|
|
default n
|
|
|
|
|
|
|
|
config FB_OVERLAY
|
|
|
|
bool "Framebuffer overlay support"
|
|
|
|
default n
|
|
|
|
|
2021-09-04 09:34:31 +02:00
|
|
|
config FB_MODULEINFO
|
|
|
|
bool "Framebuffer module information support"
|
|
|
|
default n
|
|
|
|
|
2018-05-18 00:11:09 +02:00
|
|
|
config FB_OVERLAY_BLIT
|
|
|
|
bool "Framebuffer overlay blit support"
|
|
|
|
depends on FB_OVERLAY
|
|
|
|
default n
|
|
|
|
|
2020-06-04 04:35:50 +02:00
|
|
|
menuconfig DRIVERS_VIDEO
|
|
|
|
bool "Video Device Support"
|
|
|
|
default n
|
|
|
|
---help---
|
|
|
|
Enable support for video device drivers.
|
|
|
|
|
|
|
|
if DRIVERS_VIDEO
|
|
|
|
|
|
|
|
config VIDEO_FB
|
|
|
|
bool "Framebuffer character driver"
|
|
|
|
default n
|
video/fb: kernel build framebuffer support
This supports running fb demo app in kernel build with new
config `rv-virt/kfb64`. The demo shows colored rectangles
in graphic window with the following console logs:
```
nsh> cat /proc/version
NuttX version 12.4.0 1ea10ddacc-dirty May 3 2024 07:03:59 rv-virt/kfb64
nsh> fb
VideoInfo:
fmt: 13
xres: 640
yres: 480
nplanes: 1
PlaneInfo (plane 0):
fbmem: 0x80218010
fblen: 1228800
stride: 2560
display: 0
bpp: 32
Mapped FB: 0xc2000010
0: ( 0, 0) (640,480)
1: ( 58, 43) (524,394)
2: (116, 86) (408,308)
3: (174,129) (292,222)
4: (232,172) (176,136)
5: (290,215) ( 60, 50)
Test finished
```
Signed-off-by: Yanfeng Liu <yfliu2008@qq.com>
2024-05-03 01:11:55 +02:00
|
|
|
select ARCH_VMA_MAPPING if BUILD_KERNEL
|
2020-06-04 04:35:50 +02:00
|
|
|
|
2023-07-19 15:11:07 +02:00
|
|
|
config VIDEO_FB_NPOLLWAITERS
|
2023-09-11 04:40:20 +02:00
|
|
|
int "Video fb poll count of each open structure"
|
2023-07-19 15:11:07 +02:00
|
|
|
depends on VIDEO_FB
|
|
|
|
default 2
|
|
|
|
|
2019-07-04 15:30:50 +02:00
|
|
|
config VIDEO_STREAM
|
|
|
|
bool "Video Stream Support"
|
|
|
|
default n
|
|
|
|
---help---
|
|
|
|
Enable video Stream support
|
|
|
|
|
2023-06-29 13:18:09 +02:00
|
|
|
config GOLDFISH_FB
|
|
|
|
bool "Goldfish Framebuffer character driver"
|
|
|
|
depends on VIDEO_FB
|
|
|
|
default n
|
|
|
|
|
2024-03-15 10:14:35 +01:00
|
|
|
config GOLDFISH_GPU_FB
|
|
|
|
bool "Goldfish GPU Framebuffer character driver"
|
|
|
|
depends on VIDEO_FB
|
|
|
|
default n
|
|
|
|
|
2023-06-29 13:18:09 +02:00
|
|
|
config GOLDFISH_FB_VIDEO_MODE
|
|
|
|
bool "Goldfish Framebuffer display mode"
|
|
|
|
depends on GOLDFISH_FB
|
|
|
|
default n
|
|
|
|
---help---
|
|
|
|
GOLDFISH_FB_VIDEO_MODE = y enable video mode
|
|
|
|
GOLDFISH_FB_VIDEO_MODE = n enable command mode
|
|
|
|
|
|
|
|
config GOLDFISH_FB_FRAME_NBUFFER
|
|
|
|
int "Goldfish fb vsync size"
|
|
|
|
depends on GOLDFISH_FB
|
|
|
|
default 2
|
|
|
|
|
2021-09-15 05:02:33 +02:00
|
|
|
if VIDEO_STREAM
|
|
|
|
|
2022-11-11 05:42:19 +01:00
|
|
|
config VIDEO_REQBUFS_COUNT_MAX
|
|
|
|
int "Maximum Video reqbuf buffers count"
|
|
|
|
default 3
|
|
|
|
|
2021-09-15 05:02:33 +02:00
|
|
|
config VIDEO_SCENE_BACKLIGHT
|
2021-12-14 08:52:49 +01:00
|
|
|
bool "Enable backlight scene"
|
|
|
|
default y
|
|
|
|
---help---
|
|
|
|
Enable backlight scene
|
2021-09-15 05:02:33 +02:00
|
|
|
|
|
|
|
config VIDEO_SCENE_BEACHSNOW
|
2021-12-14 08:52:49 +01:00
|
|
|
bool "Enable beach snow scene"
|
|
|
|
default y
|
|
|
|
---help---
|
|
|
|
Enable beach snow scene
|
2021-09-15 05:02:33 +02:00
|
|
|
|
|
|
|
config VIDEO_SCENE_CANDLELIGHT
|
2021-12-14 08:52:49 +01:00
|
|
|
bool "Enable candle light scene"
|
|
|
|
default y
|
|
|
|
---help---
|
|
|
|
Enable candle light scene
|
2021-09-15 05:02:33 +02:00
|
|
|
|
|
|
|
config VIDEO_SCENE_DAWNDUSK
|
2021-12-14 08:52:49 +01:00
|
|
|
bool "Enable dawn dusk scene"
|
|
|
|
default y
|
|
|
|
---help---
|
|
|
|
Enable dawn dusk scene
|
2021-09-15 05:02:33 +02:00
|
|
|
|
|
|
|
config VIDEO_SCENE_FALLCOLORS
|
2021-12-14 08:52:49 +01:00
|
|
|
bool "Enable fall colors scene"
|
|
|
|
default y
|
|
|
|
---help---
|
|
|
|
Enable fall colors scene
|
2021-09-15 05:02:33 +02:00
|
|
|
|
|
|
|
config VIDEO_SCENE_FIREWORKS
|
2021-12-14 08:52:49 +01:00
|
|
|
bool "Enable fireworks scene"
|
|
|
|
default y
|
|
|
|
---help---
|
|
|
|
Enable fireworks scene
|
2021-09-15 05:02:33 +02:00
|
|
|
|
|
|
|
config VIDEO_SCENE_LANDSCAPE
|
2021-12-14 08:52:49 +01:00
|
|
|
bool "Enable landscape scene"
|
|
|
|
default y
|
|
|
|
---help---
|
|
|
|
Enable landscape scene
|
2021-09-15 05:02:33 +02:00
|
|
|
|
|
|
|
config VIDEO_SCENE_NIGHT
|
2021-12-14 08:52:49 +01:00
|
|
|
bool "Enable night scene"
|
|
|
|
default y
|
|
|
|
---help---
|
|
|
|
Enable night scene
|
2021-09-15 05:02:33 +02:00
|
|
|
|
|
|
|
config VIDEO_SCENE_PARTYINDOOR
|
2021-12-14 08:52:49 +01:00
|
|
|
bool "Enable party and indoor scene"
|
|
|
|
default y
|
|
|
|
---help---
|
|
|
|
Enable party and indoor scene
|
2021-09-15 05:02:33 +02:00
|
|
|
|
|
|
|
config VIDEO_SCENE_PORTRAIT
|
2021-12-14 08:52:49 +01:00
|
|
|
bool "Enable portrait scene"
|
|
|
|
default y
|
|
|
|
---help---
|
|
|
|
Enable portrait scene
|
2021-09-15 05:02:33 +02:00
|
|
|
|
|
|
|
config VIDEO_SCENE_SPORTS
|
2021-12-14 08:52:49 +01:00
|
|
|
bool "Enable sports scene"
|
|
|
|
default y
|
|
|
|
---help---
|
|
|
|
Enable sports scene
|
2021-09-15 05:02:33 +02:00
|
|
|
|
|
|
|
config VIDEO_SCENE_SUNSET
|
2021-12-14 08:52:49 +01:00
|
|
|
bool "Enable sunset scene"
|
|
|
|
default y
|
|
|
|
---help---
|
|
|
|
Enable sunset scene
|
2021-09-15 05:02:33 +02:00
|
|
|
|
|
|
|
config VIDEO_SCENE_TEXT
|
2021-12-14 08:52:49 +01:00
|
|
|
bool "Enable text scene"
|
|
|
|
default y
|
|
|
|
---help---
|
|
|
|
Enable text scene
|
2021-09-15 05:02:33 +02:00
|
|
|
endif
|
|
|
|
|
2019-03-24 13:49:34 +01:00
|
|
|
config VIDEO_MAX7456
|
2019-10-06 05:39:12 +02:00
|
|
|
bool "Maxim 7456 Monochrome OSD"
|
2019-03-24 13:49:34 +01:00
|
|
|
default n
|
|
|
|
select SPI
|
|
|
|
---help---
|
|
|
|
Support for the Maxim 7456 monochrome on-screen display
|
|
|
|
multiplexer.
|
|
|
|
|
2021-09-15 05:02:33 +02:00
|
|
|
config VIDEO_ISX012
|
2021-12-14 08:52:49 +01:00
|
|
|
bool "ISX012 Image sensor"
|
|
|
|
default n
|
|
|
|
select I2C
|
2021-09-15 05:02:33 +02:00
|
|
|
|
2022-10-24 14:12:59 +02:00
|
|
|
if VIDEO_ISX012
|
|
|
|
|
|
|
|
config VIDEO_ISX012_REGDEBUG
|
|
|
|
bool "Enable to read registers of ISX012 for test"
|
|
|
|
default n
|
|
|
|
---help---
|
|
|
|
Enable to read registers of ISX012 for test.
|
|
|
|
|
|
|
|
endif
|
|
|
|
|
2022-05-11 09:59:27 +02:00
|
|
|
config VIDEO_ISX019
|
|
|
|
bool "ISX019 Image sensor"
|
|
|
|
default n
|
|
|
|
select I2C
|
|
|
|
|
|
|
|
if VIDEO_ISX019
|
|
|
|
choice
|
|
|
|
prompt "HDR mode selection"
|
|
|
|
default VIDEO_ISX019_DOL3
|
|
|
|
---help---
|
|
|
|
ISX019 has the DOL-HDR feature, which combines images with different exposure so that
|
|
|
|
both bright and dark data of high-contrast subject can be viewed at the same time.
|
|
|
|
Select DOLX(X = 2 or 3), in which X represents the number of combined images.
|
|
|
|
|
|
|
|
config VIDEO_ISX019_DOL3
|
|
|
|
bool "DOL3"
|
|
|
|
---help---
|
|
|
|
DOL3 is the mode that combines 3 images with different exposure.
|
|
|
|
|
|
|
|
config VIDEO_ISX019_DOL2
|
|
|
|
bool "DOL2"
|
|
|
|
---help---
|
|
|
|
DOL2 is the mode that combines 2 images with different exposure.
|
|
|
|
|
|
|
|
endchoice
|
|
|
|
|
|
|
|
config VIDEO_ISX019_INITIAL_JPEG_QUALITY
|
|
|
|
int "Initial JPEG quality"
|
|
|
|
default 70
|
|
|
|
range 1 100
|
|
|
|
---help---
|
|
|
|
The initial JPEG quality.
|
|
|
|
|
2022-10-24 14:12:59 +02:00
|
|
|
config VIDEO_ISX019_NAME_WITH_VERSION
|
|
|
|
bool "ISX019 Image sensor name with version number"
|
|
|
|
default n
|
|
|
|
---help---
|
|
|
|
ISX019 Camera board has FPGA for encoding JPEG image.
|
|
|
|
This FPGA has a version number for the circuit.
|
|
|
|
This option enables to report FPGA version with driver name.
|
|
|
|
|
|
|
|
config VIDEO_ISX019_REGDEBUG
|
|
|
|
bool "Enable to read registers of ISX019 for test"
|
|
|
|
default n
|
|
|
|
---help---
|
|
|
|
Enable to read registers of ISX019 for test.
|
|
|
|
|
2022-05-11 09:59:27 +02:00
|
|
|
endif
|
|
|
|
|
2013-12-09 17:51:22 +01:00
|
|
|
config VIDEO_OV2640
|
|
|
|
bool "OV2640 camera chip"
|
|
|
|
default n
|
2021-08-17 14:59:30 +02:00
|
|
|
depends on ALLOW_GPL_COMPONENTS
|
2013-12-09 17:51:22 +01:00
|
|
|
select I2C
|
|
|
|
|
|
|
|
if VIDEO_OV2640
|
|
|
|
|
|
|
|
config OV2640_I2CADDR
|
|
|
|
hex "I2C address (7-bit)"
|
|
|
|
default 0x21
|
|
|
|
---help---
|
|
|
|
OV2640 I2C address in 7-bit format
|
|
|
|
|
|
|
|
config OV2640_FREQUENCY
|
|
|
|
int "I2C frequency"
|
|
|
|
default 400000
|
|
|
|
---help---
|
|
|
|
OV2640 I2C frequency
|
|
|
|
choice
|
|
|
|
prompt "Color format"
|
|
|
|
default OV2640_RGB565_COLORFMT
|
|
|
|
|
|
|
|
config OV2640_RGB565_COLORFMT
|
|
|
|
bool "RGB565"
|
|
|
|
|
|
|
|
config OV2640_YUV422_COLORFMT
|
|
|
|
bool "YUV422"
|
|
|
|
|
|
|
|
endchoice
|
|
|
|
|
|
|
|
config OV2640_JPEG
|
|
|
|
bool "JPEG output format"
|
|
|
|
default n
|
|
|
|
---help---
|
|
|
|
Select JPEG output format
|
|
|
|
|
|
|
|
choice
|
|
|
|
prompt "JPEG resolution"
|
|
|
|
default OV2640_JPEG_SVGA_RESOLUTION
|
|
|
|
depends on OV2640_JPEG
|
|
|
|
|
|
|
|
config OV2640_JPEG_QCIF_RESOLUTION
|
|
|
|
bool "QCIF (176x144)"
|
|
|
|
|
|
|
|
config OV2640_JPEG_QVGA_RESOLUTION
|
|
|
|
bool "QVGA (320x240)"
|
|
|
|
|
|
|
|
config OV2640_JPEG_CIF_RESOLUTION
|
|
|
|
bool "CIF (352x288)"
|
|
|
|
|
|
|
|
config OV2640_JPEG_VGA_RESOLUTION
|
|
|
|
bool "VGA (640x480)"
|
|
|
|
|
|
|
|
config OV2640_JPEG_SVGA_RESOLUTION
|
|
|
|
bool "SVGA (800x600)"
|
|
|
|
|
|
|
|
config OV2640_JPEG_XVGA_RESOLUTION
|
|
|
|
bool "XVGA (1024x768)"
|
|
|
|
|
|
|
|
config OV2640_JPEG_SXVGA_RESOLUTION
|
|
|
|
bool "SXVGA (1280x1024)"
|
|
|
|
|
|
|
|
config OV2640_JPEG_UXGA_RESOLUTION
|
|
|
|
bool "UXVGA (1600x1200)"
|
|
|
|
|
|
|
|
endchoice
|
|
|
|
|
|
|
|
choice
|
|
|
|
prompt "Output resolution"
|
|
|
|
default OV2640_SVGA_RESOLUTION
|
|
|
|
depends on !OV2640_JPEG
|
|
|
|
|
|
|
|
config OV2640_QCIF_RESOLUTION
|
|
|
|
bool "QCIF (176x144)"
|
|
|
|
|
|
|
|
config OV2640_QVGA_RESOLUTION
|
|
|
|
bool "QVGA (320x240)"
|
|
|
|
|
|
|
|
config OV2640_CIF_RESOLUTION
|
|
|
|
bool "CIF (352x288)"
|
|
|
|
|
|
|
|
config OV2640_VGA_RESOLUTION
|
|
|
|
bool "VGA (640x480)"
|
|
|
|
|
|
|
|
config OV2640_SVGA_RESOLUTION
|
|
|
|
bool "SVGA (800x600)"
|
|
|
|
|
|
|
|
config OV2640_XVGA_RESOLUTION
|
|
|
|
bool "XVGA (1024x768)"
|
|
|
|
|
|
|
|
config OV2640_SXGA_RESOLUTION
|
|
|
|
bool "SXVGA (1280x1024)"
|
|
|
|
|
|
|
|
config OV2640_UXGA_RESOLUTION
|
|
|
|
bool "UXVGA (1600x1200)"
|
|
|
|
|
|
|
|
endchoice
|
|
|
|
|
|
|
|
config OV2640_REGDEBUG
|
|
|
|
bool "Register level debug output"
|
|
|
|
default n
|
2016-06-11 22:14:08 +02:00
|
|
|
depends on DEBUG_FEATURES
|
2013-12-09 17:51:22 +01:00
|
|
|
---help---
|
|
|
|
Enable details, register level debug output.
|
|
|
|
|
|
|
|
endif
|
2020-02-08 08:30:09 +01:00
|
|
|
|
2023-06-13 05:18:51 +02:00
|
|
|
config GOLDFISH_CAMERA
|
|
|
|
bool "Goldfish camera support"
|
|
|
|
depends on VIDEO
|
|
|
|
default n
|
|
|
|
|
|
|
|
if GOLDFISH_CAMERA
|
|
|
|
|
|
|
|
config GOLDFISH_CAMERA_PIPE_PATH
|
|
|
|
string "Goldfish camera pipe path"
|
|
|
|
default "/dev/goldfish_pipe"
|
|
|
|
|
|
|
|
endif
|
|
|
|
|
2021-12-31 09:22:11 +01:00
|
|
|
source "drivers/video/vnc/Kconfig"
|
2022-12-28 11:57:02 +01:00
|
|
|
source "drivers/video/mipidsi/Kconfig"
|
2021-12-31 09:22:11 +01:00
|
|
|
|
2020-02-08 08:30:09 +01:00
|
|
|
endif # DRIVERS_VIDEO
|