[MPlayer-dev-eng] [PATCH] af_scaletempo

Robert Juliano juliano.1 at osu.edu
Thu Sep 27 05:16:55 CEST 2007


On Thu, Sep 27, 2007 at 01:54:50AM +0000, JustFillBug wrote:
> >> > +int _best_overlap_offset_float(af_scaletempo_t* s) {
> > ...
> >> > +  search_start = (float*)s->buf_queue;
> >> > +  for (off=0; off<s->frames_search; off++) {
> >> > +    float corr = 0;
> >> > +    float* ps = search_start;
> >> > +    ppc = (float*)s->buf_pre_corr;
> >> > +    for (i=0; i<s->samples_overlap; i++) {
> >> 
> >> shouldn't this be s->num_channels?
> >
> > I'm not sure what your refering to, unless you're pointing
> > out that the first iteration does nothing.  I forgot to
> > unscratch it off my todo list when I realized more than i
> > needs changed.
> >
> 
> I assumed that you were trying to find the minimum deviation
> of the summation of all the channels.

Cross-correlation.



More information about the MPlayer-dev-eng mailing list