OSDN Git Service

media: vicodec: pass on enc output format to capture side
authorHans Verkuil <hverkuil-cisco@xs4all.nl>
Fri, 15 Mar 2019 15:04:24 +0000 (11:04 -0400)
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Tue, 11 Jun 2019 15:29:51 +0000 (11:29 -0400)
commitefec9c815e5da15fe671fe7b3a0ea5575067b4b5
treeb394690b4161f4ecd5fc32d667fb06ba0c63feb9
parent518f6b9a145a6994ce3838d8a917abd71ad98b70
media: vicodec: pass on enc output format to capture side

Setting the encoder output format to e.g. 1920x1080 will set the
crop rectangle to 1920x1088, the coded resolution to 1920x1088 and
the capture coded resolution and sizeimage to 1920x1088 as well.

Note that this might change, since the encoder spec is still in
flux with respect to how this should behave.

Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
drivers/media/platform/vicodec/vicodec-core.c