Re: [FFmpeg-devel] [PATCH 21/21] avcodec/smacker: Avoid code duplication

2020-08-01 Thread Paul B Mahol
On 8/1/20, Andreas Rheinhardt wrote: > Besides the obvious advantage of less code this also has a performance > impact: For GCC 9 the time spent on one call to smka_decode_frame() for > the sample from ticket #2425 decreased from 1693619 to 1498127 > decicycles. For Clang 9, it decreased from

[FFmpeg-devel] [PATCH 21/21] avcodec/smacker: Avoid code duplication

2020-08-01 Thread Andreas Rheinhardt
Besides the obvious advantage of less code this also has a performance impact: For GCC 9 the time spent on one call to smka_decode_frame() for the sample from ticket #2425 decreased from 1693619 to 1498127 decicycles. For Clang 9, it decreased from 1369089 to 1366465 decicycles. Signed-off-by: