]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
media: amphion: decoder implement display delay enable
authorMing Qian <ming.qian@nxp.com>
Thu, 2 Mar 2023 05:34:10 +0000 (06:34 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 11 May 2023 14:11:00 +0000 (23:11 +0900)
commit898c10ce2c94da4306f54a4d6257417d288ae14a
treefcdb47e572954ec63514cad9fff1ef418813c4fa
parent4c173a65a2b1cc0556c3f6f0bab82e4fdb449522
media: amphion: decoder implement display delay enable

[ Upstream commit ffa331d9bf9407655fc4c4d57dcc92ed2868e326 ]

amphion vpu support a low latency mode,
when V4L2_CID_MPEG_VIDEO_DEC_DISPLAY_DELAY_ENABLE is enabled,
decoder can display frame immediately after it's decoded.
Only h264 is support yet.

Fixes: 6de8d628df6e ("media: amphion: add v4l2 m2m vpu decoder stateful driver")
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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/media/platform/amphion/vdec.c
drivers/media/platform/amphion/vpu_codec.h
drivers/media/platform/amphion/vpu_malone.c