1# VIDEO driver configuration options
2
3# Copyright (c) 2019 Linaro Limited
4# SPDX-License-Identifier: Apache-2.0
5
6#
7# VIDEO Drivers
8#
9menuconfig VIDEO
10	bool "Video drivers"
11	help
12	  Enable support for the VIDEO.
13
14if VIDEO
15
16module = VIDEO
17module-str = video
18source "subsys/logging/Kconfig.template.log_config"
19
20config VIDEO_INIT_PRIORITY
21	int "Video initialization priority"
22	default 60
23	help
24	  System initialization priority for video drivers.
25
26config VIDEO_BUFFER_POOL_HEAP_SIZE
27	int "Size in byte of the video buffer pool"
28	default 2097152
29
30config VIDEO_BUFFER_POOL_NUM_MAX
31	int "Number of maximum sized buffer in the video pool"
32	default 2
33
34config VIDEO_BUFFER_POOL_ALIGN
35	int "Alignment of the video pool’s buffer"
36	default 64
37
38config VIDEO_BUFFER_POOL_ZEPHYR_REGION
39	bool "Place video buffer pool in a Zephyr memory-region"
40	help
41	  Place video buffer pool in a region, automatically
42	  created from a 'zephyr,memory-region' compatible node,
43	  whose name is specified in CONFIG_VIDEO_BUFFER_ZEPHYR_REGION_NAME.
44
45config VIDEO_BUFFER_POOL_ZEPHYR_REGION_NAME
46	string "Name of the zephyr memory-region for video buffer pool"
47	help
48	  Name of the Zephyr memory-region where video buffer pool is placed.
49
50config VIDEO_BUFFER_USE_SHARED_MULTI_HEAP
51	bool "Use shared multi heap for video buffer"
52
53config VIDEO_BUFFER_SMH_ATTRIBUTE
54	int "Shared multi heap attribute for video buffer"
55	depends on VIDEO_BUFFER_USE_SHARED_MULTI_HEAP
56	default 0
57	range 0 2
58	help
59	  Shared multi heap attribute for video buffer:
60	  0: SMH_REG_ATTR_CACHEABLE
61	  1: SMH_REG_ATTR_NON_CACHEABLE
62	  2: SMH_REG_ATTR_EXTERNAL
63
64config VIDEO_I2C_RETRY_NUM
65	int "Number of retries after a failed I2C communication"
66	default 0
67	help
68	  If set to 0, only a single write attempt will be done with no retry.
69	  The default is to not retry. Board configuration files or user project can then
70	  use the number of retries that matches their situation.
71
72config VIDEO_ENCODER_H264
73	bool "H264 video encoder support"
74
75config VIDEO_ENCODER_JPEG
76	bool "JPEG video encoder support"
77
78# zephyr-keep-sorted-start
79source "drivers/video/Kconfig.emul_imager"
80source "drivers/video/Kconfig.emul_rx"
81source "drivers/video/Kconfig.esp32_dvp"
82source "drivers/video/Kconfig.gc2145"
83source "drivers/video/Kconfig.hm01b0"
84source "drivers/video/Kconfig.hm0360"
85source "drivers/video/Kconfig.imx335"
86source "drivers/video/Kconfig.mcux_csi"
87source "drivers/video/Kconfig.mcux_mipi_csi2rx"
88source "drivers/video/Kconfig.mcux_sdma"
89source "drivers/video/Kconfig.mt9m114"
90source "drivers/video/Kconfig.ov2640"
91source "drivers/video/Kconfig.ov5640"
92source "drivers/video/Kconfig.ov7725"
93source "drivers/video/Kconfig.ov9655"
94source "drivers/video/Kconfig.renesas_ra_ceu"
95source "drivers/video/Kconfig.shell"
96source "drivers/video/Kconfig.st_mipid02"
97source "drivers/video/Kconfig.stm32_dcmi"
98source "drivers/video/Kconfig.stm32_dcmipp"
99source "drivers/video/Kconfig.stm32_jpeg"
100source "drivers/video/Kconfig.stm32_venc"
101source "drivers/video/Kconfig.sw_generator"
102# zephyr-keep-sorted-stop
103
104source "drivers/video/Kconfig.ov5642"
105source "drivers/video/Kconfig.ov767x"
106
107endif # VIDEO
108