Lines Matching defs:terms
9 * modify it under the terms of the GNU Lesser General Public
78 int terms;
802 for (i = 0; i < s->terms; i++) {
928 for (i = 0; i < s->terms; i++) {
1179 av_log(avctx, AV_LOG_ERROR, "Too many decorrelation terms\n");
1180 s->terms = 0;
1184 s->terms = size;
1185 for (i = 0; i < s->terms; i++) {
1187 s->decorr[s->terms - i - 1].value = (val & 0x1F) - 5;
1188 s->decorr[s->terms - i - 1].delta = val >> 5;
1194 av_log(avctx, AV_LOG_ERROR, "No decorrelation terms met\n");
1198 if (weights > MAX_TERMS || weights > s->terms) {
1205 s->decorr[s->terms - i - 1].weightA = t * (1 << 3);
1206 if (s->decorr[s->terms - i - 1].weightA > 0)
1207 s->decorr[s->terms - i - 1].weightA +=
1208 (s->decorr[s->terms - i - 1].weightA + 64) >> 7;
1211 s->decorr[s->terms - i - 1].weightB = t * (1 << 3);
1212 if (s->decorr[s->terms - i - 1].weightB > 0)
1213 s->decorr[s->terms - i - 1].weightB +=
1214 (s->decorr[s->terms - i - 1].weightB + 64) >> 7;
1221 av_log(avctx, AV_LOG_ERROR, "No decorrelation terms met\n");
1225 for (i = s->terms - 1; (i >= 0) && (t < size); i--) {
1457 av_log(avctx, AV_LOG_ERROR, "No block with decorrelation terms\n");