Home | History | Annotate | Download | only in libspeex

Lines Matching refs:ol_pitch

256    int ol_pitch;
371 ol_pitch=nol_pitch[0];
381 (ABS(2*nol_pitch[i]-ol_pitch)<=2 || ABS(3*nol_pitch[i]-ol_pitch)<=3 ||
382 ABS(4*nol_pitch[i]-ol_pitch)<=4 || ABS(5*nol_pitch[i]-ol_pitch)<=5))
385 ol_pitch = nol_pitch[i];
388 /*if (ol_pitch>50)
389 ol_pitch/=2;*/
393 ol_pitch=0;
405 if (st->submodeID!=1 && ol_pitch>0)
450 st->relative_quality = vbr_analysis(st->vbr, in, st->frameSize, ol_pitch, GAIN_SCALING_1*ol_pitch_coef);
586 speex_bits_pack(bits, ol_pitch-st->min_pitch, 7);
771 if (ol_pitch < st->min_pitch+margin-1)
772 ol_pitch=st->min_pitch+margin-1;
773 if (ol_pitch > st->max_pitch-margin)
774 ol_pitch=st->max_pitch-margin;
775 pit_min = ol_pitch-margin+1;
776 pit_max = ol_pitch+margin;
778 pit_min=pit_max=ol_pitch;
1090 int ol_pitch=0;
1259 ol_pitch = st->min_pitch+speex_bits_unpack_unsigned(bits, 7);
1332 if (ol_pitch < st->min_pitch+margin-1)
1333 ol_pitch=st->min_pitch+margin-1;
1334 if (ol_pitch > st->max_pitch-margin)
1335 ol_pitch=st->max_pitch-margin;
1336 pit_min = ol_pitch-margin+1;
1337 pit_max = ol_pitch+margin;
1339 pit_min = ol_pitch-margin+1;
1342 pit_max = ol_pitch+margin;
1346 pit_min = pit_max = ol_pitch;
1441 /* exc[st->voc_offset]= g*sqrt(2*ol_pitch)*ol_gain;
1444 exc[st->voc_offset]=MULT16_16(spx_sqrt(MULT16_16_16(2,ol_pitch)),EXTRACT16(PSHR32(MULT16_16(g,PSHR32(ol_gain,SIG_SHIFT)),6)));
1445 st->voc_offset+=ol_pitch;