]> 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)
commit98381259b4c8f14da31d353537a378f79df9ca2e
treed31c5991a11ce9e9613937eb101d9b664384b474
parent10f5064cfcca44d9dea2d32a5e5102ee82c412d5
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