]> git.baikalelectronics.ru Git - kernel.git/commit
media: amphion: handle picture skipped event
authorMing Qian <ming.qian@nxp.com>
Wed, 20 Apr 2022 11:35:59 +0000 (13:35 +0200)
committerMauro Carvalho Chehab <mchehab@kernel.org>
Fri, 13 May 2022 09:02:19 +0000 (11:02 +0200)
commit4eabde0a8ae72903c9f46527ce30faaefe73e2e5
treed31c5991a11ce9e9613937eb101d9b664384b474
parent0f5882bbf44075e75b772265884bc6eb5efb6427
media: amphion: handle picture skipped event

For some invalid frames,
especially multiple consecutive invalid frames,
they all can't be decoded,
then the firmware can send picture skipped event
to notify driver that some frames are invalid,
driver can return them with error flag.

Signed-off-by: Ming Qian <ming.qian@nxp.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
drivers/media/platform/amphion/vpu_defs.h
drivers/media/platform/amphion/vpu_malone.c
drivers/media/platform/amphion/vpu_msgs.c