[media] media: add a VEU MEM2MEM format conversion and scaling driver
Video Engine Unit (VEU) is an IP block, found in multiple SuperH and ARM- based sh-mobile and r-mobile SoCs, capable of processing video data. It can perform colour-space conversion, scaling and several filtering transformations. This patch adds an initial implementation of a mem2mem V4L2 driver for VEU. So far only conversion from NV12 to RGB565 is supported. Further functionality shall be added in the future. This driver is based on a VEU vidix driver by Magnus Damm. Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de> Acked-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
This commit is contained in:
parent
b1252eb83f
commit
05efa71bdc
3 changed files with 1275 additions and 0 deletions
|
@ -202,6 +202,15 @@ config VIDEO_SAMSUNG_EXYNOS_GSC
|
||||||
help
|
help
|
||||||
This is a v4l2 driver for Samsung EXYNOS5 SoC G-Scaler.
|
This is a v4l2 driver for Samsung EXYNOS5 SoC G-Scaler.
|
||||||
|
|
||||||
|
config VIDEO_SH_VEU
|
||||||
|
tristate "SuperH VEU mem2mem video processing driver"
|
||||||
|
depends on VIDEO_DEV && VIDEO_V4L2
|
||||||
|
select VIDEOBUF2_DMA_CONTIG
|
||||||
|
select V4L2_MEM2MEM_DEV
|
||||||
|
help
|
||||||
|
Support for the Video Engine Unit (VEU) on SuperH and
|
||||||
|
SH-Mobile SoCs.
|
||||||
|
|
||||||
endif # V4L_MEM2MEM_DRIVERS
|
endif # V4L_MEM2MEM_DRIVERS
|
||||||
|
|
||||||
menuconfig V4L_TEST_DRIVERS
|
menuconfig V4L_TEST_DRIVERS
|
||||||
|
|
|
@ -25,6 +25,8 @@ obj-$(CONFIG_VIDEO_MEM2MEM_TESTDEV) += mem2mem_testdev.o
|
||||||
obj-$(CONFIG_VIDEO_MX2_EMMAPRP) += mx2_emmaprp.o
|
obj-$(CONFIG_VIDEO_MX2_EMMAPRP) += mx2_emmaprp.o
|
||||||
obj-$(CONFIG_VIDEO_CODA) += coda.o
|
obj-$(CONFIG_VIDEO_CODA) += coda.o
|
||||||
|
|
||||||
|
obj-$(CONFIG_VIDEO_SH_VEU) += sh_veu.o
|
||||||
|
|
||||||
obj-$(CONFIG_VIDEO_MEM2MEM_DEINTERLACE) += m2m-deinterlace.o
|
obj-$(CONFIG_VIDEO_MEM2MEM_DEINTERLACE) += m2m-deinterlace.o
|
||||||
|
|
||||||
obj-$(CONFIG_VIDEO_S3C_CAMIF) += s3c-camif/
|
obj-$(CONFIG_VIDEO_S3C_CAMIF) += s3c-camif/
|
||||||
|
|
1264
drivers/media/platform/sh_veu.c
Normal file
1264
drivers/media/platform/sh_veu.c
Normal file
File diff suppressed because it is too large
Load diff
Loading…
Reference in a new issue