WSL2-Linux-Kernel/drivers/media/platform/amphion
Ming Qian e670f5d672 media: amphion: only insert the first sequence startcode for vc1l format
For format V4L2_PIX_FMT_VC1_ANNEX_L,
the amphion vpu requires driver to help insert some custom startcode
before sequence and frame.
but only the first sequence startcode is needed,
the extra startcode will cause decoding error.
So after seek, we don't need to insert the sequence startcode.

In other words, for V4L2_PIX_FMT_VC1_ANNEX_L,
the vpu doesn't support dynamic resolution change.

Fixes: 145e936380 ("media: amphion: implement malone decoder rpc interface")
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>
2022-07-08 18:18:49 +01:00
..
Kconfig media: platform: amphion: Fix build error without MAILBOX 2022-03-18 06:03:40 +01:00
Makefile
vdec.c media: amphion: only insert the first sequence startcode for vc1l format 2022-07-08 18:18:49 +01:00
venc.c media: amphion: delete unnecessary NULL check 2022-06-20 10:30:36 +01:00
vpu.h media: amphion: only insert the first sequence startcode for vc1l format 2022-07-08 18:18:49 +01:00
vpu_cmds.c media: amphion: delete unnecessary NULL check 2022-06-20 10:30:36 +01:00
vpu_cmds.h media: amphion: implement vpu core communication based on mailbox 2022-03-07 17:13:33 +01:00
vpu_codec.h media: amphion: add vpu core driver 2022-03-07 17:13:33 +01:00
vpu_color.c media: amphion: add vpu v4l2 m2m support 2022-03-07 17:13:33 +01:00
vpu_core.c media: amphion: release core lock before reset vpu core 2022-07-08 14:53:35 +01:00
vpu_core.h media: amphion: add vpu core driver 2022-03-07 17:13:33 +01:00
vpu_dbg.c media: amphion: Replace zero-length array with flexible-array member 2022-06-20 10:30:36 +01:00
vpu_defs.h media: amphion: handle picture skipped event 2022-05-13 11:02:19 +02:00
vpu_drv.c media: amphion: cleanup media device if register it fail 2022-03-18 07:32:40 +01:00
vpu_helpers.c media: amphion: fix some issues to improve robust 2022-03-18 07:32:10 +01:00
vpu_helpers.h media: amphion: fix some issues to improve robust 2022-03-18 07:32:10 +01:00
vpu_imx8q.c media: amphion: fix some issues to improve robust 2022-03-18 07:32:10 +01:00
vpu_imx8q.h media: amphion: fix some issues to improve robust 2022-03-18 07:32:10 +01:00
vpu_malone.c media: amphion: only insert the first sequence startcode for vc1l format 2022-07-08 18:18:49 +01:00
vpu_malone.h media: amphion: vdec check format in enum_fmt 2022-06-20 10:30:34 +01:00
vpu_mbox.c media: amphion: implement vpu core communication based on mailbox 2022-03-07 17:13:33 +01:00
vpu_mbox.h media: amphion: implement vpu core communication based on mailbox 2022-03-07 17:13:33 +01:00
vpu_msgs.c media: amphion: output firmware error message 2022-06-27 08:53:56 +01:00
vpu_msgs.h media: amphion: implement vpu core communication based on mailbox 2022-03-07 17:13:33 +01:00
vpu_rpc.c media: amphion: vdec check format in enum_fmt 2022-06-20 10:30:34 +01:00
vpu_rpc.h media: amphion: only insert the first sequence startcode for vc1l format 2022-07-08 18:18:49 +01:00
vpu_v4l2.c media: amphion: defer setting last_buffer_dequeued until resolution changes are processed 2022-07-08 18:13:03 +01:00
vpu_v4l2.h media: amphion: decoder copy timestamp from output to capture 2022-05-13 11:02:19 +02:00
vpu_windsor.c media: amphion: fix some issues to improve robust 2022-03-18 07:32:10 +01:00
vpu_windsor.h media: amphion: implement windsor encoder rpc interface 2022-03-07 17:13:33 +01:00