diff options
author | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2022-11-07 01:36:57 +0100 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2022-11-10 00:39:43 +0100 |
commit | 65f3bc9e7e012624187b5a5abee2e16534cf5fa1 (patch) | |
tree | 2c1c0b472aff24471c0de48eab4f65c5a4b7b293 /libavcodec/vp9prob.c | |
parent | 165682a6d423d4c16b0a4ad0b57e6c0703697ab8 (diff) | |
download | ffmpeg-65f3bc9e7e012624187b5a5abee2e16534cf5fa1.tar.gz |
avcodec/clearvideo: Avoid allocations when decoding tiles
Up until now, the ClearVideo decoder separates parsing tiles
and actually using the parsed information: The information is
instead stored in structures which are constantly allocated
and freed. This commit changes this to use the information
immediately, avoiding said allocations. This e.g. reduced
the amount of allocations for [1] from 2,866,462 to 24,720.
For said sample decoding speed improved by 143%.
[1]: https://samples.ffmpeg.org/V-codecs/UCOD/AccordianDance-300.avi
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavcodec/vp9prob.c')
0 files changed, 0 insertions, 0 deletions