]> asedeno.scripts.mit.edu Git - linux.git/commit
media: mtk-vcodec: Remove extra area allocation in an input buffer on encoding
authorHirokazu Honda <hiroh@chromium.org>
Thu, 7 Nov 2019 03:30:57 +0000 (04:30 +0100)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Mon, 16 Dec 2019 09:19:42 +0000 (10:19 +0100)
commit81735ecb62f882853a37a8c157407ec4aed44fd0
treebfcf969a6f0ff81cc528656d08e66e323d780bfc
parenta36807784b74a5218977e829c16e05b2fc98f8ff
media: mtk-vcodec: Remove extra area allocation in an input buffer on encoding

MediaTek encoder allocates non pixel data area for an input buffer every
plane. As the input buffer should be read-only, the driver should not write
anything in the buffer. Therefore, the extra data should be unnecessary.

Signed-off-by: Hirokazu Honda <hiroh@chromium.org>
Reviewed-by: Tomasz Figa <tfiga@chromium.org>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
drivers/media/platform/mtk-vcodec/mtk_vcodec_enc.c