Home
last modified time | relevance | path

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

/third_party/ffmpeg/libavcodec/
Dsonic.c77 #define SAMPLE_FACTOR (1 << SAMPLE_SHIFT) macro
490 if (x > (SAMPLE_FACTOR<<16)) x = (SAMPLE_FACTOR<<16); in predictor_calc_error()
491 if (x < -(SAMPLE_FACTOR<<16)) x = -(SAMPLE_FACTOR<<16); in predictor_calc_error()
814 quant = (int)(BASE_QUANT*s->quantization*energy2/SAMPLE_FACTOR); in sonic_encode_frame()
821 quant *= SAMPLE_FACTOR; in sonic_encode_frame()
1012 quant = get_symbol(&c, state, 0) * SAMPLE_FACTOR; in sonic_decode_frame()