Searched refs:L_gain_code (Results 1 – 2 of 2) sorted by relevance
/frameworks/av/media/codecs/amrwb/dec/src/ |
D | pvamrwbdecoder.cpp | 323 int32 L_tmp, L_gain_code; in pvDecoder_AmrWb() local 821 &L_gain_code, in pvDecoder_AmrWb() 838 &L_gain_code, in pvDecoder_AmrWb() 865 L_tmp = L_gain_code; /* L_gain_code in Q16 */ in pvDecoder_AmrWb() 990 phase_dispersion((int16)(L_gain_code >> 16), in pvDecoder_AmrWb() 1008 L_tmp = L_gain_code; in pvDecoder_AmrWb() 1012 L_tmp += fxp_mul32_by_16b(L_gain_code, 6226) << 1; in pvDecoder_AmrWb() 1021 L_tmp = fxp_mul32_by_16b(L_gain_code, 27536) << 1; in pvDecoder_AmrWb() 1030 L_gain_code = fxp_mul32_by_16b(L_gain_code, (32767 - fac)) << 1; in pvDecoder_AmrWb() 1033 L_gain_code = add_int32(L_gain_code, fxp_mul32_by_16b(L_tmp, fac) << 1); in pvDecoder_AmrWb() [all …]
|
/frameworks/av/media/codecs/amrwb/enc/src/ |
D | voAMRWBEnc.c | 208 Word32 L_tmp, L_gain_code, L_max, L_tmp1; in coder() local 1171 &gain_pit, &L_gain_code, clip_gain, st->qua_gain); in coder() 1176 &gain_pit, &L_gain_code, clip_gain, st->qua_gain); in coder() 1182 L_tmp = L_shl(L_gain_code, Q_new); in coder() 1239 VO_L_Extract(L_gain_code, &gain_code, &gain_code_lo); in coder() 1251 L_tmp = L_gain_code; in coder() 1269 L_gain_code = Mpy_32_16(gain_code, gain_code_lo, (32767 - fac)); in coder() 1271 L_gain_code = vo_L_add(L_gain_code, Mpy_32_16(gain_code, gain_code_lo, fac)); in coder() 1300 gain_code = vo_round(L_shl(L_gain_code, Q_new)); in coder()
|