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: Hans Verkuil <hans.verkuil@cisco.com> Co-Developed-by: Keiichi Watanabe <keiichiw@chromium.org> Signed-off-by: Keiichi Watanabe <keiichiw@chromium.org> Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
This commit is contained in:

committed by
Mauro Carvalho Chehab

parent
251d6fe9a6
commit
256bf813ba
13
drivers/media/platform/vicodec/Kconfig
Normal file
13
drivers/media/platform/vicodec/Kconfig
Normal file
@@ -0,0 +1,13 @@
|
||||
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.
|
4
drivers/media/platform/vicodec/Makefile
Normal file
4
drivers/media/platform/vicodec/Makefile
Normal file
@@ -0,0 +1,4 @@
|
||||
# SPDX-License-Identifier: GPL-2.0
|
||||
vicodec-objs := vicodec-core.o vicodec-codec.o
|
||||
|
||||
obj-$(CONFIG_VIDEO_VICODEC) += vicodec.o
|
1506
drivers/media/platform/vicodec/vicodec-core.c
Normal file
1506
drivers/media/platform/vicodec/vicodec-core.c
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user