• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt/router/ffmpeg/libavcodec/

Lines Matching refs:nsample

471     int   cnt, numdata, nsample, startLoc, endLoc;
487 nsample = 0; // current sample = 0
497 for (; nsample < startLoc; nsample++)
498 pOut[nsample] = (pIn[nsample] * gain1 + pPrev[nsample]) * gain2;
501 for (; nsample < endLoc; nsample++) {
502 pOut[nsample] = (pIn[nsample] * gain1 + pPrev[nsample]) * gain2;
507 for (; nsample < 256; nsample++)
508 pOut[nsample] = (pIn[nsample] * gain1) + pPrev[nsample];
542 #define INTERPOLATE(old,new,nsample) ((old) + (nsample)*0.125*((new)-(old)))
546 int i, band, nsample, s1, s2;
553 nsample = 0;
563 for(; nsample < 8; nsample++) {
564 c1 = su1[band+nsample];
565 c2 = su2[band+nsample];
566 c2 = c1 * INTERPOLATE(mc1_l,mc2_l,nsample) + c2 * INTERPOLATE(mc1_r,mc2_r,nsample);
567 su1[band+nsample] = c2;
568 su2[band+nsample] = c1 * 2.0 - c2;
575 for (; nsample < 256; nsample++) {
576 c1 = su1[band+nsample];
577 c2 = su2[band+nsample];
578 su1[band+nsample] = c2 * 2.0;
579 su2[band+nsample] = (c1 - c2) * 2.0;
584 for (; nsample < 256; nsample++) {
585 c1 = su1[band+nsample];
586 c2 = su2[band+nsample];
587 su1[band+nsample] = (c1 + c2) * 2.0;
588 su2[band+nsample] = c2 * -2.0;
593 for (; nsample < 256; nsample++) {
594 c1 = su1[band+nsample];
595 c2 = su2[band+nsample];
596 su1[band+nsample] = c1 + c2;
597 su2[band+nsample] = c1 - c2;
621 int band, nsample;
631 for(nsample = 0; nsample < 8; nsample++) {
632 su1[band*256+nsample] *= INTERPOLATE(w[0][0], w[0][1], nsample);
633 su2[band*256+nsample] *= INTERPOLATE(w[1][0], w[1][1], nsample);
636 for(; nsample < 256; nsample++) {
637 su1[band*256+nsample] *= w[1][0];
638 su2[band*256+nsample] *= w[1][1];