[MPlayer-cvslog] r25102 - trunk/libaf/af_scaletempo.c
reimar
subversion at mplayerhq.hu
Sun Nov 18 19:33:45 CET 2007
Author: reimar
Date: Sun Nov 18 19:33:45 2007
New Revision: 25102
Log:
100l, *ppc++ was supposed to be replaced by ppc[i] in r25100, but that is not any faster.
Just removing the += s->samples_overlap - s->num_channels; still provides a
ca. 20% speedup on x86 (AThlon X2 64) with gcc 3.4 (compiler stupidity?)
Modified:
trunk/libaf/af_scaletempo.c
Modified: trunk/libaf/af_scaletempo.c
==============================================================================
--- trunk/libaf/af_scaletempo.c (original)
+++ trunk/libaf/af_scaletempo.c Sun Nov 18 19:33:45 2007
@@ -171,8 +171,6 @@ static int best_overlap_offset_s16(af_sc
int32_t corr = 0;
int16_t* ps = search_start;
ppc = s->buf_pre_corr;
- ppc += s->samples_overlap - s->num_channels;
- ps += s->samples_overlap - s->num_channels;
i = -(s->samples_overlap - s->num_channels);
do {
corr += ( *ppc++ * *ps++ ) >> s->shift_corr;
More information about the MPlayer-cvslog
mailing list