summaryrefslogtreecommitdiff
path: root/drivers/media/v4l2-core/Kconfig
diff options
context:
space:
mode:
authorBoris Brezillon <boris.brezillon@collabora.com>2020-04-04 01:13:41 +0300
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>2020-04-21 14:46:40 +0300
commit624922a2739b96b83aaf1655d0519b41d30140f7 (patch)
tree20159722c44c060221f94cc179adbd828dc0170a /drivers/media/v4l2-core/Kconfig
parent45776c540f7fee193ab5a419d5e188cd220ce226 (diff)
downloadlinux-624922a2739b96b83aaf1655d0519b41d30140f7.tar.xz
media: v4l2-core: Add helpers to build the H264 P/B0/B1 reflists
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>
Diffstat (limited to 'drivers/media/v4l2-core/Kconfig')
-rw-r--r--drivers/media/v4l2-core/Kconfig4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/media/v4l2-core/Kconfig b/drivers/media/v4l2-core/Kconfig
index 3fa75352d04c..bf49f83cb86f 100644
--- a/drivers/media/v4l2-core/Kconfig
+++ b/drivers/media/v4l2-core/Kconfig
@@ -48,6 +48,10 @@ config VIDEO_TUNER
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