• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/minidlna/ffmpeg-2.3.4/libavcodec/

Lines Matching refs:icoef

622 static void mclms_update(WmallDecodeCtx *s, int icoef, int *pred)
630 pred_error = s->channel_residues[ich][icoef] - pred[ich];
636 if (s->channel_residues[j][icoef] > 0)
638 else if (s->channel_residues[j][icoef] < 0)
646 if (s->channel_residues[j][icoef] > 0)
648 else if (s->channel_residues[j][icoef] < 0)
656 s->mclms_prevvalues[s->mclms_recent] = s->channel_residues[ich][icoef];
657 if (s->channel_residues[ich][icoef] > range - 1)
659 else if (s->channel_residues[ich][icoef] < -range)
663 if (s->channel_residues[ich][icoef] > 0)
665 else if (s->channel_residues[ich][icoef] < 0)
680 static void mclms_predict(WmallDecodeCtx *s, int icoef, int *pred)
694 pred[ich] += s->channel_residues[i][icoef] *
698 s->channel_residues[ich][icoef] += pred[ich];
704 int icoef, pred[WMALL_MAX_CHANNELS] = { 0 };
705 for (icoef = 0; icoef < tile_size; icoef++) {
706 mclms_predict(s, icoef, pred);
707 mclms_update(s, icoef, pred);
743 int ilms, recent, icoef;
749 for (icoef = 0; icoef < s->cdlms[ich][ilms].order; icoef++)
750 s->cdlms[ich][ilms].lms_updates[icoef + recent] *= 2;
752 for (icoef = 0; icoef < s->cdlms[ich][ilms].order; icoef++)
753 s->cdlms[ich][ilms].lms_updates[icoef] *= 2;
761 int ilms, recent, icoef;
767 for (icoef = 0; icoef < s->cdlms[ich][ilms].order; icoef++)
768 s->cdlms[ich][ilms].lms_updates[icoef + recent] /= 2;
770 for (icoef = 0; icoef < s->cdlms[ich][ilms].order; icoef++)
771 s->cdlms[ich][ilms].lms_updates[icoef] /= 2;
782 int icoef, pred, ilms, num_lms, residue, input;
786 for (icoef = coef_begin; icoef < coef_end; icoef++) {
788 residue = s->channel_residues[ch][icoef];
798 s->channel_residues[ch][icoef] = input;
809 int icoef;
810 for (icoef = 0; icoef < tile_size; icoef++) {
811 s->channel_residues[0][icoef] -= s->channel_residues[1][icoef] >> 1;
812 s->channel_residues[1][icoef] += s->channel_residues[0][icoef];