/frameworks/av/media/module/codecs/amrwb/dec/src/ |
D | qpisf_2s.cpp | 203 isf_q[i] = add_int16(mult_int16(ALPHA, isfold[i]), mult_int16(ONE_ALPHA, ref_isf[i])); in Dpisf_2s_46b() 210 tmp = add_int16(ref_isf[i], mult_int16(past_isfq[i], MU)); /* predicted ISF */ in Dpisf_2s_46b() 249 … isf_q[i + 9] = add_int16(dico2_isf[indice[1] * 7 + i], dico23_isf_36b[indice[4] * 7 + i]); in Dpisf_2s_36b() 254 isf_q[i] = add_int16(isf_q[i], dico21_isf_36b[indice[2] * 5 + i]); in Dpisf_2s_36b() 258 isf_q[i + 5] = add_int16(isf_q[i + 5], dico22_isf_36b[(indice[3] << 2) + i]); in Dpisf_2s_36b() 264 isf_q[i] = add_int16(tmp, mean_isf[i]); in Dpisf_2s_36b() 265 isf_q[i] = add_int16(isf_q[i], mult_int16(MU, past_isfq[i])); in Dpisf_2s_36b() 298 isf_q[i] = add_int16(mult_int16(ALPHA, isfold[i]), mult_int16(ONE_ALPHA, ref_isf[i])); in Dpisf_2s_36b() 305 tmp = add_int16(ref_isf[i], mult_int16(past_isfq[i], MU)); /* predicted ISF */ in Dpisf_2s_36b() 345 isf_min = add_int16(isf[i], min_dist); in Reorder_isf()
|
D | lagconceal.cpp | 226 tmp = add_int16(add_int16(lag_hist2[2], lag_hist2[3]), lag_hist2[4]); in lagconceal() 227 *T0 = add_int16(mult_int16(tmp, ONE_PER_3), D2); in lagconceal() 249 meanLag = add_int16(meanLag, lag_hist[i]); in lagconceal() 311 tmp = add_int16(add_int16(lag_hist2[2], lag_hist2[3]), lag_hist2[4]); in lagconceal() 312 *T0 = add_int16(mult_int16(tmp, ONE_PER_3), D2); in lagconceal()
|
D | synthesis_amr_wb.cpp | 237 *(pt_tmp) = add_int16(*(pt_tmp), 0x0004) >> 3; in synthesis_amr_wb() 239 *(pt_tmp) = add_int16(*(pt_tmp), 0x0004) >> 3; in synthesis_amr_wb() 241 *(pt_tmp) = add_int16(*(pt_tmp), 0x0004) >> 3; in synthesis_amr_wb() 243 *(pt_tmp) = add_int16(*(pt_tmp), 0x0004) >> 3; in synthesis_amr_wb() 433 *(pt_synth) = add_int16(*(pt_synth), *(pt_HF++)); /* check 16 bit saturation */ in synthesis_amr_wb() 435 *(pt_synth) = add_int16(*(pt_synth), *(pt_HF++)); in synthesis_amr_wb()
|
D | phase_dispersion.cpp | 234 code2[i + j] = add_int16(code2[i + j], mult_int16_r(code[i], ph_imp_low[j])); in phase_dispersion() 247 code2[i + j] = add_int16(code2[i + j], mult_int16_r(code[i], ph_imp_mid[j])); in phase_dispersion() 256 code[i] = add_int16(code2[i], code2[i + L_SUBFR]); in phase_dispersion()
|
D | scale_signal.cpp | 146 *(pt_x) = add_int16(*(pt_x), tmp) >> exp; in scale_signal() 148 *(pt_x) = add_int16(*(pt_x), tmp) >> exp; in scale_signal()
|
D | dtx_decoder_amr_wb.cpp | 245 st->log_en = add_int16(st->log_en, st->log_en_hist[i]); in dtx_dec_amr_wb() 366 isf[i] = add_int16(isf[i], mult_int16(int_fac, st->isf_old[i])); in dtx_dec_amr_wb() 569 st->since_last_sid = add_int16(st->since_last_sid, 1); in rx_amr_wb_dtx_handler() 594 st->decAnaElapsedCount = add_int16(st->decAnaElapsedCount, 1); in rx_amr_wb_dtx_handler() 840 indices[i] = add_int16(indices[i], DTX_HIST_SIZE); in find_frame_indices() 897 mean = add_int16(mean, st->log_en_hist[i]); in dithering_control() 945 temp = add_int16(isf[0], mult_int16_r(rand_dith, dither_fac)); in CN_dithering() 959 dither_fac = add_int16(dither_fac, ISF_FACTOR_STEP); in CN_dithering() 964 temp = add_int16(isf[i], mult_int16_r(rand_dith, dither_fac)); in CN_dithering()
|
D | isf_extrapolation.cpp | 209 HfIsf[i] = add_int16(HfIsf[i - 1], tmp); in isf_extrapolation() 213 tmp = add_int16(HfIsf[4], HfIsf[3]); in isf_extrapolation() 261 HfIsf[i] = add_int16(HfIsf[i - 1], IsfDiff[i - (M - 1)]); in isf_extrapolation()
|
D | isp_isf.cpp | 171 isp[i] = add_int16(table[ind], (int16)(L_tmp >> 8)); in Isf_isp()
|
D | qisf_ns.cpp | 140 isf_q[i] = add_int16(isf_q[i], mean_isf_noise[i]); in Disf_ns()
|
D | interpolate_isp.cpp | 129 fac_old = add_int16(sub_int16(32767, fac_new), 1); /* 1.0 - fac_new */ in interpolate_isp()
|
D | dec_alg_codebook.cpp | 158 pos2 = add_int16((int16)(index & mask), offset); /* pos2 = ((index & mask) + offset); */ in dec_2p_2N1() 326 j = add_int16(offset, shl_int16(1, n_1)); /* j = offset + (1 << n_1); */ in dec_5p_5N()
|
D | pvamrwbdecoder.cpp | 422 st->vad_hist = add_int16(st->vad_hist, 1); in pvDecoder_AmrWb() 604 T0 = add_int16(index, PIT_FR1_8b - ((PIT_FR1_8b - PIT_MIN) * 2)); in pvDecoder_AmrWb() 626 … T0 = add_int16(index, (PIT_FR1_9b - ((PIT_FR2 - PIT_MIN) * 4) - ((PIT_FR1_9b - PIT_FR2) * 2))); in pvDecoder_AmrWb() 963 tmp = add_int16(norm_s(max), Q_new) - 1; in pvDecoder_AmrWb() 1084 excp[i] = add_int16(excp[i], exc2[i]); in pvDecoder_AmrWb()
|
D | pvamrwbdecoder_basic_op_cequivalent.h | 88 __inline int16 add_int16(int16 var1, int16 var2) in add_int16() function
|
D | pvamrwbdecoder_basic_op_armv5.h | 62 __inline int16 add_int16(int16 var1, int16 var2) in add_int16() function
|
D | pvamrwbdecoder_basic_op_gcc_armv5.h | 80 static inline int16 add_int16(int16 var1, int16 var2) in add_int16() function
|