diff options
author | Paul Kocialkowski <paul.kocialkowski@bootlin.com> | 2019-01-09 15:19:20 +0100 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab+samsung@kernel.org> | 2019-01-21 18:43:42 +0100 |
commit | cf20ae1535eb690a87c29b9cc7af51881384e967 (patch) | |
tree | 828a03870574cd050371f0464402de66402863c6 /drivers/media/i2c | |
parent | media: cedrus: Cleanup duplicate declarations from cedrus_dec header (diff) | |
download | linux-cf20ae1535eb690a87c29b9cc7af51881384e967.tar.xz linux-cf20ae1535eb690a87c29b9cc7af51881384e967.zip |
media: cedrus: Allow using the current dst buffer as reference
It was reported that some cases of interleaved video decoding require
using the current destination buffer as a reference. However, this is
no longer possible after the move to vb2_find_timestamp because only
dequeued and done buffers are considered.
Add a helper in our driver that also considers the current destination
buffer before resorting to vb2_find_timestamp and use it in MPEG-2.
Signed-off-by: Paul Kocialkowski <paul.kocialkowski@bootlin.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
Diffstat (limited to 'drivers/media/i2c')
0 files changed, 0 insertions, 0 deletions