Home
last modified time | relevance | path

Searched refs:COEFF_BITS (Results 1 – 5 of 5) sorted by relevance

/third_party/ffmpeg/libavcodec/
Dadxenc.c52 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()
Dadx.h51 #define COEFF_BITS 12 macro
Dadx.c83 ff_adx_calculate_coeffs(cutoff, avctx->sample_rate, COEFF_BITS, coeff); in ff_adx_decode_header()
Dadxdec.c85 s0 = d * scale + ((c->coeff[0] * s1 + c->coeff[1] * s2) >> COEFF_BITS); in adx_decode()
/third_party/ffmpeg/libavfilter/
Dvf_perspective.c34 #define COEFF_BITS 11 macro
259 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()