[FFmpeg-devel] [PATCH] wmadec.c: SIMD optimization using float_to_int16_interleave
Carl Eugen Hoyos
cehoyos
Mon Mar 8 17:22:13 CET 2010
Zhou Zongyi <zhouzy <at> os.pku.edu.cn> writes:
> - for(i=0;i<n;i++) {
> - *ptr = av_clip_int16(lrintf(*iptr++));
> - ptr += incr;
> + for(i=0;i<n;i++) {
> + *ptr = av_clip_int16(lrintf(*iptr));
> + ptr += incr;
This mixes functional and cosmetic changes, which should be avoided.
The move of the variable declaration on top of the patch also looks unrelated.
Carl Eugen
More information about the ffmpeg-devel
mailing list