Lines Matching refs:terms
8 * modify it under the terms of the GNU Lesser General Public
57 int terms;
407 for (i = 0; i < s->terms; i++) {
527 for (i = 0; i < s->terms; i++) {
703 av_log(avctx, AV_LOG_ERROR, "Too many decorrelation terms\n");
704 s->terms = 0;
708 s->terms = size;
709 for (i = 0; i < s->terms; i++) {
711 s->decorr[s->terms - i - 1].value = (val & 0x1F) - 5;
712 s->decorr[s->terms - i - 1].delta = val >> 5;
718 av_log(avctx, AV_LOG_ERROR, "No decorrelation terms met\n");
722 if (weights > MAX_TERMS || weights > s->terms) {
729 s->decorr[s->terms - i - 1].weightA = t << 3;
730 if (s->decorr[s->terms - i - 1].weightA > 0)
731 s->decorr[s->terms - i - 1].weightA +=
732 (s->decorr[s->terms - i - 1].weightA + 64) >> 7;
735 s->decorr[s->terms - i - 1].weightB = t << 3;
736 if (s->decorr[s->terms - i - 1].weightB > 0)
737 s->decorr[s->terms - i - 1].weightB +=
738 (s->decorr[s->terms - i - 1].weightB + 64) >> 7;
745 av_log(avctx, AV_LOG_ERROR, "No decorrelation terms met\n");
749 for (i = s->terms - 1; (i >= 0) && (t < size); i--) {
935 av_log(avctx, AV_LOG_ERROR, "No block with decorrelation terms\n");