Searched refs:log_gain (Results 1 – 2 of 2) sorted by relevance
252 int gbits, log_gain; in ff_eac3_decode_transform_coeffs_aht_ch() local254 log_gain = gaq_gain[gs++]; in ff_eac3_decode_transform_coeffs_aht_ch()256 log_gain = 0; in ff_eac3_decode_transform_coeffs_aht_ch()258 gbits = bits - log_gain; in ff_eac3_decode_transform_coeffs_aht_ch()262 if (log_gain && mant == -(1 << (gbits-1))) { in ff_eac3_decode_transform_coeffs_aht_ch()265 int mbits = bits - (2 - log_gain); in ff_eac3_decode_transform_coeffs_aht_ch()270 b = 1 << (23 - log_gain); in ff_eac3_decode_transform_coeffs_aht_ch()272 b = ff_eac3_gaq_remap_2_4_b[hebap-8][log_gain-1] * (1 << 8); in ff_eac3_decode_transform_coeffs_aht_ch()273 … mant += ((ff_eac3_gaq_remap_2_4_a[hebap-8][log_gain-1] * (int64_t)mant) >> 15) + b; in ff_eac3_decode_transform_coeffs_aht_ch()277 if (!log_gain) { in ff_eac3_decode_transform_coeffs_aht_ch()
34 int log_gain; member564 int log_gain; //Q7 in silk_decode_frame() local570 log_gain = (x<<3) | ff_opus_rc_dec_cdf(rc, ff_silk_model_gain_lowbits); in silk_decode_frame()573 log_gain = FFMAX(log_gain, frame->log_gain - 16); in silk_decode_frame()577 log_gain = av_clip_uintp2(FFMAX((delta_gain<<1) - 16, in silk_decode_frame()578 frame->log_gain + delta_gain - 4), 6); in silk_decode_frame()581 frame->log_gain = log_gain; in silk_decode_frame()584 log_gain = (log_gain * 0x1D1C71 >> 16) + 2090; in silk_decode_frame()585 ipart = log_gain >> 7; in silk_decode_frame()586 fpart = log_gain & 127; in silk_decode_frame()[all …]