Searched refs:L_gain_code (Results 1 – 2 of 2) sorted by relevance
/frameworks/av/media/libstagefright/codecs/amrwb/src/ |
D | pvamrwbdecoder.cpp | 323 int32 L_tmp, L_gain_code; in pvDecoder_AmrWb() local 818 &L_gain_code, in pvDecoder_AmrWb() 835 &L_gain_code, in pvDecoder_AmrWb() 862 L_tmp = L_gain_code; /* L_gain_code in Q16 */ in pvDecoder_AmrWb() 987 phase_dispersion((int16)(L_gain_code >> 16), in pvDecoder_AmrWb() 1005 L_tmp = L_gain_code; in pvDecoder_AmrWb() 1009 L_tmp += fxp_mul32_by_16b(L_gain_code, 6226) << 1; in pvDecoder_AmrWb() 1018 L_tmp = fxp_mul32_by_16b(L_gain_code, 27536) << 1; in pvDecoder_AmrWb() 1027 L_gain_code = fxp_mul32_by_16b(L_gain_code, (32767 - fac)) << 1; in pvDecoder_AmrWb() 1030 L_gain_code = add_int32(L_gain_code, fxp_mul32_by_16b(L_tmp, fac) << 1); in pvDecoder_AmrWb() [all …]
|
/frameworks/av/media/libstagefright/codecs/amrwbenc/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()
|