OSDN Git Service

media: hantro: Simplify postprocessor
authorEzequiel Garcia <ezequiel@collabora.com>
Tue, 16 Nov 2021 14:38:33 +0000 (14:38 +0000)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Mon, 22 Nov 2021 07:41:55 +0000 (07:41 +0000)
commit53a3e71095c572333ceea30762565dbedec951ca
treea75380c6191eef0afca05ecbfd4326d34be8501d
parent04dad52ee341c738adfd929d5f2b906001a2aeda
media: hantro: Simplify postprocessor

Add a 'postprocessed' boolean property to struct hantro_fmt
to signal that a format is produced by the post-processor.
This will allow to introduce the G2 post-processor in a simple way.

Signed-off-by: Ezequiel Garcia <ezequiel@collabora.com>
Signed-off-by: Andrzej Pietrasiewicz <andrzej.p@collabora.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
drivers/staging/media/hantro/hantro.h
drivers/staging/media/hantro/hantro_postproc.c
drivers/staging/media/hantro/imx8m_vpu_hw.c
drivers/staging/media/hantro/rockchip_vpu_hw.c
drivers/staging/media/hantro/sama5d4_vdec_hw.c