diff options
author | Michael Niedermayer <michael@niedermayer.cc> | 2019-08-18 01:28:38 +0200 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2019-09-02 21:37:18 +0200 |
commit | 361b3c873ee011598e16397db699bbfe5c045d7c (patch) | |
tree | bb14c2da55943199e5434ec0d0dbc3e96d53de65 /libavcodec/gif.c | |
parent | 8ae5d2cbb254e9e967184b2aad6fa43fe2780eaf (diff) | |
download | ffmpeg-361b3c873ee011598e16397db699bbfe5c045d7c.tar.gz |
avcodec/pngdec: Optimize has_trns code
add inner loop specialisations for 2 bpp and 4 bpp
These are all cases for which i found testsamples.
30M cycles -> 5M cycles
Testcase: fate-rgbapng-4816
Testcase: 16097/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_APNG_fuzzer-5664690889293824
Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavcodec/gif.c')
0 files changed, 0 insertions, 0 deletions