Lines Matching refs:terms
8 * modify it under the terms of the GNU Lesser General Public
109 int terms;
525 for (i = 0; i < s->terms; i++) {
645 for (i = 0; i < s->terms; i++) {
849 av_log(avctx, AV_LOG_ERROR, "Too many decorrelation terms\n");
850 s->terms = 0;
854 s->terms = size;
855 for (i = 0; i < s->terms; i++) {
856 s->decorr[s->terms - i - 1].value = (*buf & 0x1F) - 5;
857 s->decorr[s->terms - i - 1].delta = *buf >> 5;
864 av_log(avctx, AV_LOG_ERROR, "No decorrelation terms met\n");
868 if (weights > MAX_TERMS || weights > s->terms) {
875 s->decorr[s->terms - i - 1].weightA = t << 3;
876 if (s->decorr[s->terms - i - 1].weightA > 0)
877 s->decorr[s->terms - i - 1].weightA +=
878 (s->decorr[s->terms - i - 1].weightA + 64) >> 7;
881 s->decorr[s->terms - i - 1].weightB = t << 3;
882 if (s->decorr[s->terms - i - 1].weightB > 0)
883 s->decorr[s->terms - i - 1].weightB +=
884 (s->decorr[s->terms - i - 1].weightB + 64) >> 7;
891 av_log(avctx, AV_LOG_ERROR, "No decorrelation terms met\n");
895 for (i = s->terms - 1; (i >= 0) && (t < size); i--) {
1061 av_log(avctx, AV_LOG_ERROR, "No block with decorrelation terms\n");