diff options
author | Jernej Skrabec <jernej.skrabec@gmail.com> | 2023-12-16 14:09:25 +0100 |
---|---|---|
committer | Hans Verkuil <hverkuil-cisco@xs4all.nl> | 2024-02-16 11:46:31 +0100 |
commit | 3a11887f7f11a6bb1f05e7f67b3ea20dadfec443 (patch) | |
tree | 55a3e4ae0d5f333cf5e4343fee689bd12c5a1624 /tools/perf/scripts/python/event_analyzing_sample.py | |
parent | 1b69c938310958e9a0a46d481247f6765422c40a (diff) |
media: cedrus: h265: Fix configuring bitstream size
bit_size field holds size of slice, not slice + header. Because of HW
quirks, driver can't program in just slice, but also preceding header.
But that means that currently used bit_size is wrong (too small).
Instead, just use size of whole buffer. There is no harm in doing this.
Fixes: 86caab29da78 ("media: cedrus: Add HEVC/H.265 decoding support")
Suggested-by: Paul Kocialkowski <paul.kocialkowski@bootlin.com>
Signed-off-by: Jernej Skrabec <jernej.skrabec@gmail.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions