mirror of
https://github.com/torvalds/linux.git
synced 2024-12-22 10:56:40 +00:00
624922a273
Building those list is a standard procedure described in section '8.2.4 Decoding process for reference picture lists construction' of the H264 specification. We already have 2 drivers needing the same logic (hantro and rkvdec) and I suspect we will soon have more. Let's provide generic helpers to create those lists. Signed-off-by: Boris Brezillon <boris.brezillon@collabora.com> Signed-off-by: Ezequiel Garcia <ezequiel@collabora.com> Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
89 lines
2.0 KiB
Plaintext
89 lines
2.0 KiB
Plaintext
# SPDX-License-Identifier: GPL-2.0-only
|
|
#
|
|
# Generic video config states
|
|
#
|
|
|
|
# Enable the V4L2 core and API
|
|
config VIDEO_V4L2
|
|
tristate
|
|
depends on (I2C || I2C=n) && VIDEO_DEV
|
|
select RATIONAL
|
|
select VIDEOBUF2_V4L2 if VIDEOBUF2_CORE
|
|
default (I2C || I2C=n) && VIDEO_DEV
|
|
|
|
config VIDEO_V4L2_I2C
|
|
bool
|
|
depends on I2C && VIDEO_V4L2
|
|
default y
|
|
|
|
config VIDEO_V4L2_SUBDEV_API
|
|
bool "V4L2 sub-device userspace API"
|
|
depends on VIDEO_DEV && MEDIA_CONTROLLER
|
|
help
|
|
Enables the V4L2 sub-device pad-level userspace API used to configure
|
|
video format, size and frame rate between hardware blocks.
|
|
|
|
This API is mostly used by camera interfaces in embedded platforms.
|
|
|
|
config VIDEO_ADV_DEBUG
|
|
bool "Enable advanced debug functionality on V4L2 drivers"
|
|
help
|
|
Say Y here to enable advanced debugging functionality on some
|
|
V4L devices.
|
|
In doubt, say N.
|
|
|
|
config VIDEO_FIXED_MINOR_RANGES
|
|
bool "Enable old-style fixed minor ranges on drivers/video devices"
|
|
help
|
|
Say Y here to enable the old-style fixed-range minor assignments.
|
|
Only useful if you rely on the old behavior and use mknod instead of udev.
|
|
|
|
When in doubt, say N.
|
|
|
|
# Used by drivers that need tuner.ko
|
|
config VIDEO_TUNER
|
|
tristate
|
|
|
|
# Used by drivers that need v4l2-jpeg.ko
|
|
config V4L2_JPEG_HELPER
|
|
tristate
|
|
|
|
# Used by drivers that need v4l2-h264.ko
|
|
config V4L2_H264
|
|
tristate
|
|
|
|
# Used by drivers that need v4l2-mem2mem.ko
|
|
config V4L2_MEM2MEM_DEV
|
|
tristate
|
|
depends on VIDEOBUF2_CORE
|
|
|
|
# Used by LED subsystem flash drivers
|
|
config V4L2_FLASH_LED_CLASS
|
|
tristate "V4L2 flash API for LED flash class devices"
|
|
depends on VIDEO_V4L2 && VIDEO_V4L2_SUBDEV_API
|
|
depends on LEDS_CLASS_FLASH
|
|
help
|
|
Say Y here to enable V4L2 flash API support for LED flash
|
|
class drivers.
|
|
|
|
When in doubt, say N.
|
|
|
|
config V4L2_FWNODE
|
|
tristate
|
|
|
|
# Used by drivers that need Videobuf modules
|
|
config VIDEOBUF_GEN
|
|
tristate
|
|
|
|
config VIDEOBUF_DMA_SG
|
|
tristate
|
|
select VIDEOBUF_GEN
|
|
|
|
config VIDEOBUF_VMALLOC
|
|
tristate
|
|
select VIDEOBUF_GEN
|
|
|
|
config VIDEOBUF_DMA_CONTIG
|
|
tristate
|
|
select VIDEOBUF_GEN
|