[media] vcodec: mediatek: Add g/s_selection support for V4L2 Encoder
authorTiffany Lin <tiffany.lin@mediatek.com>
Mon, 15 Aug 2016 02:15:33 +0000 (23:15 -0300)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Tue, 6 Sep 2016 19:21:58 +0000 (16:21 -0300)
commit3a549beef9563c9a8f740dcdb002d18879ee91a6
tree954facf3430ea091e74290f908bbc482546cab8c
parent43c784aab772e9527e2e369f6e1f6d6d1dd63866
[media] vcodec: mediatek: Add g/s_selection support for V4L2 Encoder

This patch add g/s_selection for MT8173 V4L2 Encoder.
Only output queue support g/s_selection to configure crop.
The top/left of active rectangle should always be (0,0)

Signed-off-by: Tiffany Lin <tiffany.lin@mediatek.com>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/media/platform/mtk-vcodec/mtk_vcodec_enc.c