diff options
author | Vikash Garodia <[email protected]> | 2018-10-08 07:09:04 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <[email protected]> | 2018-10-09 08:07:07 -0400 |
commit | ce32c0a530bd955206fe45c2eff77e581202d699 (patch) | |
tree | 7c79197fa331ced650b868af9e39829c79c5156b /tools/perf/util/trace-event-scripting.c | |
parent | 32ae592036d7aeaabcccb2b1715373a68639a768 (diff) |
media: venus: vdec: fix decoded data size
Existing code returns the max of the decoded size and buffer size.
It turns out that buffer size is always greater due to hardware
alignment requirement. As a result, payload size given to client
is incorrect. This change ensures that the bytesused is assigned
to actual payload size, when available.
Signed-off-by: Vikash Garodia <[email protected]>
Acked-by: Stanimir Varbanov <[email protected]>
Signed-off-by: Hans Verkuil <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions