Lines Matching refs:gain1
1119 opus_val16 gain1; in run_prefilter() local
1152 gain1 = remove_doubling(pitch_buf, COMBFILTER_MAXPERIOD, COMBFILTER_MINPERIOD, in run_prefilter()
1156 gain1 = MULT16_16_Q15(QCONST16(.7f,15),gain1); in run_prefilter()
1159 gain1 = HALF32(gain1); in run_prefilter()
1161 gain1 = HALF32(gain1); in run_prefilter()
1163 gain1 = 0; in run_prefilter()
1165 gain1 = 0; in run_prefilter()
1186 if (gain1<pf_threshold) in run_prefilter()
1188 gain1 = 0; in run_prefilter()
1194 if (ABS16(gain1-st->prefilter_gain)<QCONST16(.1f,15)) in run_prefilter()
1195 gain1=st->prefilter_gain; in run_prefilter()
1198 qg = ((gain1+1536)>>10)/3-1; in run_prefilter()
1200 qg = (int)floor(.5f+gain1*32/3)-1; in run_prefilter()
1203 gain1 = QCONST16(0.09375f,15)*(qg+1); in run_prefilter()
1218 st->prefilter_period, pitch_index, N-offset, -st->prefilter_gain, -gain1, in run_prefilter()
1232 *gain = gain1; in run_prefilter()
1383 opus_val16 gain1 = 0; in celt_encode_with_ec() local
1606 …pf_on = run_prefilter(st, in, prefilter_mem, CC, N, prefilter_tapset, &pitch_index, &gain1, &qg, e… in celt_encode_with_ec()
1607 …if ((gain1 > QCONST16(.4f,15) || st->prefilter_gain > QCONST16(.4f,15)) && (!st->analysis.valid ||… in celt_encode_with_ec()
2195 st->prefilter_gain, gain1, st->prefilter_tapset, prefilter_tapset, in celt_encode_with_ec()
2208 st->prefilter_gain = gain1; in celt_encode_with_ec()