Re: [FFmpeg-devel] [PATCH] avcodec/pngdec: Optimize has_trns code

2019-09-02 Thread Michael Niedermayer
On Sun, Aug 18, 2019 at 10:29:02AM +0200, Michael Niedermayer wrote: > 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_

[FFmpeg-devel] [PATCH] avcodec/pngdec: Optimize has_trns code

2019-08-18 Thread Michael Niedermayer
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://