Lines Matching defs:coeff
260 #define TOKEN_ZERO_RUN(coeff, zero_run) (((coeff) * 512) + ((zero_run) << 2) + 1)
261 #define TOKEN_COEFF(coeff) (((coeff) * 4) + 2)
438 int coeff = (2 * (sum - s->qps[qpi]) * s->base_matrix[bmi][i] -
447 (i == 0 || s->version < 2) ? av_clip((qscale * coeff) / 100 * 4, qmin, 4096)
448 : (qscale * (coeff - qbias) / 100 + qbias) * 4;
1155 static inline int get_coeff(GetBitContext *gb, int token, int16_t *coeff)
1162 *coeff = coeff_tables[token][bits_to_get];
1191 int16_t coeff = 0;
1245 zero_run = get_coeff(gb, token, &coeff);
1248 dct_tokens[j++] = TOKEN_ZERO_RUN(coeff, zero_run);
1255 all_fragments[coded_fragment_list[coeff_i]].dc = coeff;
1257 dct_tokens[j++] = TOKEN_COEFF(coeff);
1414 int16_t coeff = 0;
1431 zero_run = get_coeff(gb, token, &coeff);
1440 *s->dct_tokens[plane][coeff_i]++ = TOKEN_ZERO_RUN(coeff, zero_run);
1444 s->all_fragments[fragment].dc = coeff;
1446 *s->dct_tokens[plane][coeff_i]++ = TOKEN_COEFF(coeff);
1889 case 2: // coeff