提交 256bf813 编写于 作者: H Hans Verkuil 提交者: Mauro Carvalho Chehab

media: vicodec: add the virtual codec driver

Add the virtual codec driver that uses the Fast Walsh Hadamard Transform.

Keiichi Watanabe contributed the multiplanar support.
Signed-off-by: NHans Verkuil <hans.verkuil@cisco.com>
Co-Developed-by: NKeiichi Watanabe <keiichiw@chromium.org>
Signed-off-by: NKeiichi Watanabe <keiichiw@chromium.org>
Signed-off-by: NMauro Carvalho Chehab <mchehab+samsung@kernel.org>
上级 251d6fe9
...@@ -15153,6 +15153,14 @@ L: netdev@vger.kernel.org ...@@ -15153,6 +15153,14 @@ L: netdev@vger.kernel.org
S: Maintained S: Maintained
F: drivers/net/ethernet/via/via-velocity.* F: drivers/net/ethernet/via/via-velocity.*
VICODEC VIRTUAL CODEC DRIVER
M: Hans Verkuil <hans.verkuil@cisco.com>
L: linux-media@vger.kernel.org
T: git git://linuxtv.org/media_tree.git
W: https://linuxtv.org
S: Maintained
F: drivers/media/platform/vicodec/*
VIDEO MULTIPLEXER DRIVER VIDEO MULTIPLEXER DRIVER
M: Philipp Zabel <p.zabel@pengutronix.de> M: Philipp Zabel <p.zabel@pengutronix.de>
L: linux-media@vger.kernel.org L: linux-media@vger.kernel.org
......
...@@ -514,6 +514,9 @@ config VIDEO_VIM2M ...@@ -514,6 +514,9 @@ config VIDEO_VIM2M
---help--- ---help---
This is a virtual test device for the memory-to-memory driver This is a virtual test device for the memory-to-memory driver
framework. framework.
source "drivers/media/platform/vicodec/Kconfig"
endif #V4L_TEST_DRIVERS endif #V4L_TEST_DRIVERS
menuconfig DVB_PLATFORM_DRIVERS menuconfig DVB_PLATFORM_DRIVERS
......
...@@ -16,6 +16,7 @@ obj-$(CONFIG_VIDEO_VIU) += fsl-viu.o ...@@ -16,6 +16,7 @@ obj-$(CONFIG_VIDEO_VIU) += fsl-viu.o
obj-$(CONFIG_VIDEO_VIMC) += vimc/ obj-$(CONFIG_VIDEO_VIMC) += vimc/
obj-$(CONFIG_VIDEO_VIVID) += vivid/ obj-$(CONFIG_VIDEO_VIVID) += vivid/
obj-$(CONFIG_VIDEO_VIM2M) += vim2m.o obj-$(CONFIG_VIDEO_VIM2M) += vim2m.o
obj-$(CONFIG_VIDEO_VICODEC) += vicodec/
obj-$(CONFIG_VIDEO_TI_VPE) += ti-vpe/ obj-$(CONFIG_VIDEO_TI_VPE) += ti-vpe/
......
config VIDEO_VICODEC
tristate "Virtual Codec Driver"
depends on VIDEO_DEV && VIDEO_V4L2 && VIDEO_V4L2_SUBDEV_API
select VIDEOBUF2_VMALLOC
select V4L2_MEM2MEM_DEV
default n
help
Driver for a Virtual Codec
This driver can be compared to the vim2m driver for emulating
a video device node that exposes an emulated hardware codec.
When in doubt, say N.
# SPDX-License-Identifier: GPL-2.0
vicodec-objs := vicodec-core.o vicodec-codec.o
obj-$(CONFIG_VIDEO_VICODEC) += vicodec.o
此差异已折叠。
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册