aboutsummaryrefslogtreecommitdiffstats
path: root/tests/ref/fate/vp9-02-size-64x66
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2022-03-11 14:19:27 +0100
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2022-03-15 05:45:30 +0100
commitdcc3f6227070fe8fecbcfe7849fb69f5e8b832f7 (patch)
treedc43ddba7589e9dcab971f0b6f9898421c1f9034 /tests/ref/fate/vp9-02-size-64x66
parent88cccd1c7303b2560a94f9d947d422e11f239031 (diff)
downloadffmpeg-dcc3f6227070fe8fecbcfe7849fb69f5e8b832f7.tar.gz
avcodec/flashsv: Avoid deflating data
Currently priming the zlib decompressor involves compressing data directly after having decompressed it and decompressing it again in order to set the "dictionary" and to initialize the adler32-checksum. Yet this is wasteful and can be simplified by synthetizing the compressed data via non-compressed blocks. This reduced the amount of allocations for the decoding part of fate-vsynth1-flashsv2, namely from total heap usage: 9,135 allocs, 9,135 frees, 376,503,427 bytes allocated to total heap usage: 2,373 allocs, 2,373 frees, 14,144,083 bytes allocated Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'tests/ref/fate/vp9-02-size-64x66')
0 files changed, 0 insertions, 0 deletions