[media] st-hva: add H.264 video encoding support
authorJean-Christophe Trotin <jean-christophe.trotin@st.com>
Mon, 5 Sep 2016 14:06:30 +0000 (11:06 -0300)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Fri, 9 Sep 2016 13:34:32 +0000 (10:34 -0300)
commitba4616b7d9b9324021985fc5ecd9a9acd2f1f0f2
treea134dc22d045a72a0484446bda068641f2f7b21c
parent57b2c0628b6042b7cfad387fe54951ddf7185fd2
[media] st-hva: add H.264 video encoding support

This patch adds the H.264 video encoding capability in the V4L2 HVA
video encoder driver for STMicroelectronics SoC (hva-h264.c).

The main supported features are:
- profile: baseline, main, high, stereo high
- level: up to 4.2
- bitrate mode: CBR, VBR
- entropy mode: CABAC, CAVLC
- video aspect: 1x1 only

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/sti/hva/Makefile
drivers/media/platform/sti/hva/hva-h264.c [new file with mode: 0644]
drivers/media/platform/sti/hva/hva-v4l2.c
drivers/media/platform/sti/hva/hva.h