diff options
author | Janne Grunau <janne-libav@jannau.net> | 2014-02-21 13:13:36 +0100 |
---|---|---|
committer | Janne Grunau <janne-libav@jannau.net> | 2014-02-28 13:00:48 +0100 |
commit | 7686afd049be98d18663682b92d983340fa2c305 (patch) | |
tree | e50dd1c93c3eef3bdb920b223bfcbb900816c915 /libavcodec/vp5.c | |
parent | 08e3ea60ff4059341b74be04a428a38f7c3630b0 (diff) | |
download | ffmpeg-7686afd049be98d18663682b92d983340fa2c305.tar.gz |
dca: factorize scaling in inverse ADPCM
Based on a patch from Christophe Gisquet.
Unrolling of the m == 0 case avoids a possible use of the uninitilized
value sum when s->predictor_history is not set. I failed to find a
sample for it. It also reduced the cycle count from 220 to 150 on
sandy bridge, x86_64 linux, gcc 4.8.2 compared to his patch.
Diffstat (limited to 'libavcodec/vp5.c')
0 files changed, 0 insertions, 0 deletions