blob: c0381db04efb9f2cd8423beb36e46aab16072361 [file] [edit]
# Copyright (c) 2019 Linaro Limited
# SPDX-License-Identifier: Apache-2.0
menuconfig VIDEO_DRIVERS
bool "Video drivers"
help
Enable support for video drivers, typically used from the video subsystem.
if VIDEO_DRIVERS
module = VIDEO_DRIVERS
module-str = video_drivers
source "subsys/logging/Kconfig.template.log_config"
config VIDEO_INIT_PRIORITY
int "Video initialization priority"
default 60
help
System initialization priority for video drivers.
config VIDEO_BUFFER_POOL_HEAP_SIZE
int "Size in byte of the video buffer pool"
default 2097152
config VIDEO_BUFFER_POOL_NUM_MAX
int "Number of buffers in the video buffer pool"
default 2
range 1 65535
config VIDEO_BUFFER_POOL_ALIGN
int "Alignment of the video pool’s buffer"
default 64
config VIDEO_BUFFER_POOL_ZEPHYR_REGION
bool "Place video buffer pool in a Zephyr memory-region"
help
Place video buffer pool in a region, automatically
created from a 'zephyr,memory-region' compatible node,
whose name is specified in CONFIG_VIDEO_BUFFER_POOL_ZEPHYR_REGION_NAME.
config VIDEO_BUFFER_POOL_ZEPHYR_REGION_NAME
string "Name of the zephyr memory-region for video buffer pool"
help
Name of the Zephyr memory-region where video buffer pool is placed.
config VIDEO_BUFFER_USE_SHARED_MULTI_HEAP
bool "Use shared multi heap for video buffer"
config VIDEO_BUFFER_SMH_ATTRIBUTE
int "Shared multi heap attribute for video buffer"
depends on VIDEO_BUFFER_USE_SHARED_MULTI_HEAP
default 0
range 0 2
help
Shared multi heap attribute for video buffer:
0: SMH_REG_ATTR_CACHEABLE
1: SMH_REG_ATTR_NON_CACHEABLE
2: SMH_REG_ATTR_EXTERNAL
config VIDEO_I2C_RETRY_NUM
int "Number of retries after a failed I2C communication"
default 0
help
If set to 0, only a single write attempt will be done with no retry.
The default is to not retry. Board configuration files or user project can then
use the number of retries that matches their situation.
config VIDEO_ENCODER_H264
bool "H264 video encoder support"
config VIDEO_ENCODER_JPEG
bool "JPEG video encoder support"
# zephyr-keep-sorted-start
source "drivers/video/Kconfig.arducam_mega"
source "drivers/video/Kconfig.emul_imager"
source "drivers/video/Kconfig.emul_rx"
source "drivers/video/Kconfig.esp32_dvp"
source "drivers/video/Kconfig.gc2145"
source "drivers/video/Kconfig.hm01b0"
source "drivers/video/Kconfig.hm0360"
source "drivers/video/Kconfig.imx219"
source "drivers/video/Kconfig.imx335"
source "drivers/video/Kconfig.mcux_csi"
source "drivers/video/Kconfig.mcux_flexio"
source "drivers/video/Kconfig.mcux_mipi_csi2rx"
source "drivers/video/Kconfig.mcux_sdma"
source "drivers/video/Kconfig.mt9m114"
source "drivers/video/Kconfig.ov2640"
source "drivers/video/Kconfig.ov5640"
source "drivers/video/Kconfig.ov5642"
source "drivers/video/Kconfig.ov767x"
source "drivers/video/Kconfig.ov7725"
source "drivers/video/Kconfig.ov9655"
source "drivers/video/Kconfig.renesas_ra_ceu"
source "drivers/video/Kconfig.st_mipid02"
source "drivers/video/Kconfig.stm32_dcmi"
source "drivers/video/Kconfig.stm32_dcmipp"
source "drivers/video/Kconfig.stm32_jpeg"
source "drivers/video/Kconfig.stm32_venc"
source "drivers/video/Kconfig.sw_generator"
# zephyr-keep-sorted-stop
endif # VIDEO_DRIVERS