]> git.baikalelectronics.ru Git - kernel.git/commit
media: mediatek: vcodec: Refactor get and put capture buffer flow
authorYunfei Dong <yunfei.dong@mediatek.com>
Thu, 12 May 2022 02:19:39 +0000 (04:19 +0200)
committerMauro Carvalho Chehab <mchehab@kernel.org>
Fri, 13 May 2022 12:44:06 +0000 (14:44 +0200)
commit4075546014b283a8a9b42b70a964c23316544bd9
tree8e477d38cc309d7e3e85f53e57cf24c07362f441
parentebbc08c5697042af2bd0904e90944022b231aeb5
media: mediatek: vcodec: Refactor get and put capture buffer flow

For lat and core decode in parallel, need to get capture buffer
when core start to decode and put capture buffer to display
list when core decode done.

Signed-off-by: Yunfei Dong <yunfei.dong@mediatek.com>
Tested-by: NĂ­colas F. R. A. Prado <nfraprado@collabora.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
drivers/media/platform/mediatek/vcodec/mtk_vcodec_dec_stateless.c
drivers/media/platform/mediatek/vcodec/mtk_vcodec_drv.h
drivers/media/platform/mediatek/vcodec/vdec/vdec_h264_req_if.c
drivers/media/platform/mediatek/vcodec/vdec_msg_queue.h