diff options
| author | Philipp Zabel <[email protected]> | 2020-03-18 19:35:36 +0100 |
|---|---|---|
| committer | Mauro Carvalho Chehab <[email protected]> | 2020-04-14 11:56:20 +0200 |
| commit | 15c3d5aae73ecfe8cad916000cf42b85197e7308 (patch) | |
| tree | e096f02ad7910e6ca35ea2dad11bc133ec013dcd /tools/perf/scripts/python/bin/stackcollapse-record | |
| parent | 1e34e446d79cbc85b14e881a7198ee6617909f13 (diff) | |
media: coda: lock capture queue wakeup against decoder stop command
Similar to commit 9ee50a9489f1 ("media: coda: lock capture queue wakeup
against encoder stop command"), make sure that a JPEG decoder stop
command running concurrently with a decoder finish_run always either
flags the last returned buffer or wakes up the capture queue to signal
the end of stream condition afterwards.
This was not necessary for BIT processor contexts because of the need to
release the bitstream buffer with the stream end condition. In contrast,
the JPEG decoder can be finished with decoding the image between the
time the application queues the last output buffer and the time it
issues the decoder stop command.
Signed-off-by: Philipp Zabel <[email protected]>
Signed-off-by: Hans Verkuil <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions