uint8_t *len, uint32_t *eval)
{
QUANT(coeff)
- get_vc2_ue_uint(abs(coeff), len, eval);
+ get_vc2_ue_uint(FFABS(coeff), len, eval);
if (coeff) {
*eval = (*eval << 1) | (coeff < 0);
*len += 1;
int qfactor)
{
QUANT(coeff)
- put_vc2_ue_uint(pb, abs(coeff));
+ put_vc2_ue_uint(pb, FFABS(coeff));
if (coeff)
put_bits(pb, 1, coeff < 0);
}
bits += s->coef_lut_len[2*quant_idx*COEF_LUT_TAB + coeff + COEF_LUT_TAB];
} else {
QUANT(coeff)
- bits += count_vc2_ue_uint(abs(coeff));
+ bits += count_vc2_ue_uint(FFABS(coeff));
bits += !!coeff;
}
}