[media] st-hva: multi-format video encoder V4L2 driver
authorJean-Christophe Trotin <jean-christophe.trotin@st.com>
Mon, 5 Sep 2016 14:06:29 +0000 (11:06 -0300)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Fri, 9 Sep 2016 13:32:34 +0000 (10:32 -0300)
commit57b2c0628b6042b7cfad387fe54951ddf7185fd2
tree472bb482e9a21e249439573dc7f28a67ff0b1cff
parent9ef0b3f3f88d2a177e3403dd57e373d97f1c389c
[media] st-hva: multi-format video encoder V4L2 driver

This patch adds V4L2 HVA (Hardware Video Accelerator) video encoder
driver for STMicroelectronics SoC. It uses the V4L2 mem2mem framework.

This patch only contains the core parts of the driver:
- the V4L2 interface with the userland (hva-v4l2.c)
- the hardware services (hva-hw.c)
- the memory management utilities (hva-mem.c)

This patch doesn't include the support of specific codec (e.g. H.264)
video encoding: this support is part of subsequent patches.

Signed-off-by: Yannick Fertre <yannick.fertre@st.com>
Signed-off-by: Jean-Christophe Trotin <jean-christophe.trotin@st.com>
Acked-by: Peter Griffin <peter.griffin@linaro.org>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/media/platform/Kconfig
drivers/media/platform/Makefile
drivers/media/platform/sti/hva/Makefile [new file with mode: 0644]
drivers/media/platform/sti/hva/hva-hw.c [new file with mode: 0644]
drivers/media/platform/sti/hva/hva-hw.h [new file with mode: 0644]
drivers/media/platform/sti/hva/hva-mem.c [new file with mode: 0644]
drivers/media/platform/sti/hva/hva-mem.h [new file with mode: 0644]
drivers/media/platform/sti/hva/hva-v4l2.c [new file with mode: 0644]
drivers/media/platform/sti/hva/hva.h [new file with mode: 0644]