Searched refs:COEFF_BITS (Results 1 – 5 of 5) sorted by relevance
52 d = s0 + ((-c->coeff[0] * s1 - c->coeff[1] * s2) >> COEFF_BITS); in adx_encode()83 d = wav[i] + ((-c->coeff[0] * s1 - c->coeff[1] * s2) >> COEFF_BITS); in adx_encode()89 s0 = d * scale + ((c->coeff[0] * s1 + c->coeff[1] * s2) >> COEFF_BITS); in adx_encode()136 ff_adx_calculate_coeffs(c->cutoff, avctx->sample_rate, COEFF_BITS, c->coeff); in adx_encode_init()
51 #define COEFF_BITS 12 macro
83 ff_adx_calculate_coeffs(cutoff, avctx->sample_rate, COEFF_BITS, coeff); in ff_adx_decode_header()
85 s0 = d * scale + ((c->coeff[0] * s1 + c->coeff[1] * s2) >> COEFF_BITS); in adx_decode()
34 #define COEFF_BITS 11 macro259 s->coeff[i][j] = lrint((1 << COEFF_BITS) * temp[j] / sum); in config_input()345 sum = (sum + (1<<(COEFF_BITS * 2 - 1))) >> (COEFF_BITS * 2); in resample_cubic()