diff options
author | Ming Qian <ming.qian@nxp.com> | 2022-07-08 11:56:50 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2022-08-17 16:14:44 +0300 |
commit | 7496e06d0e6f687e5eb855f6a01039cd0d70886a (patch) | |
tree | f45ecf5e4dc7ead87d5f23df19da13d4d9864c63 /net | |
parent | 59dbfddc11aa6713b0a1227a561b2f88ebd6684a (diff) | |
download | linux-7496e06d0e6f687e5eb855f6a01039cd0d70886a.tar.xz |
media: amphion: only insert the first sequence startcode for vc1l format
[ Upstream commit e670f5d672ef3d00b0b8c69eff09a019e6dd4ef9 ]
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: 145e936380edb ("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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions