/frameworks/av/media/libstagefright/codecs/amrwbenc/src/ |
D | isp_isf.c | 35 … Word16 isf[], /* (o) Q15 : isf[m] normalized (range: 0.0<=val<=0.5) */ in Isp_isf() argument 53 isf[i] = vo_round((L_tmp << 4)); /* (isp[i]-table[ind])*slope[ind])>>11 */ in Isp_isf() 54 isf[i] = add1(isf[i], (ind << 7)); in Isp_isf() 56 isf[m - 1] = (isf[m - 1] >> 1); in Isp_isf() 62 … Word16 isf[], /* (i) Q15 : isf[m] normalized (range: 0.0<=val<=0.5) */ in Isf_isp() argument 72 isp[i] = isf[i]; in Isf_isp() 74 isp[m - 1] = (isf[m - 1] << 1); in Isf_isp()
|
D | qpisf_2s.c | 67 Word16 isf[ORDER]; in Qpisf_2s_46b() local 72 isf[i] = vo_sub(isf1[i], mean_isf[i]); in Qpisf_2s_46b() 73 isf[i] = vo_sub(isf[i], vo_mult(MU, past_isfq[i])); in Qpisf_2s_46b() 76 VQ_stage1(&isf[0], dico1_isf, 9, SIZE_BK1, surv1, nb_surv); in Qpisf_2s_46b() 84 isf_stage2[i] = vo_sub(isf[i], dico1_isf[i + surv1[k] * 9]); in Qpisf_2s_46b() 105 VQ_stage1(&isf[9], dico2_isf, 7, SIZE_BK2, surv1, nb_surv); in Qpisf_2s_46b() 113 isf_stage2[i] = vo_sub(isf[9 + i], dico2_isf[i + surv1[k] * 7]); in Qpisf_2s_46b() 157 Word16 isf[ORDER]; in Qpisf_2s_36b() local 162 isf[i] = vo_sub(isf1[i], mean_isf[i]); in Qpisf_2s_36b() 163 isf[i] = vo_sub(isf[i], vo_mult(MU, past_isfq[i])); in Qpisf_2s_36b() [all …]
|
D | gpclip.c | 59 … Word16 isf[], /* (i) : isf values (in frequency domain) */ in Gp_clip_test_isf() argument 66 dist_min = vo_sub(isf[1], isf[0]); in Gp_clip_test_isf() 70 dist = vo_sub(isf[i], isf[i - 1]); in Gp_clip_test_isf()
|
D | voAMRWBEnc.c | 180 Word16 isf[M]; /* ISF (frequency domain) at 4nd sfr */ in coder() local 415 Isp_isf(ispnew, isf, M); in coder() 418 Gp_clip_test_isf(isf, st->gp_clip); in coder() 564 dtx_buffer(st->dtx_encSt, isf, L_tmp, codec_mode); in coder() 567 dtx_enc(st->dtx_encSt, isf, exc2, &prms); in coder() 570 Isf_isp(isf, ispnew_q, M); in coder() 577 Copy(isf, st->isfold, M); in coder() 600 Qpisf_2s_36b(isf, isf, st->past_isfq, indice, 4); in coder() 609 Qpisf_2s_46b(isf, isf, st->past_isfq, indice, 4); in coder() 625 tmp = vo_sub(isf[i], st->isfold[i]); in coder() [all …]
|
D | dtx.c | 160 …Word16 isf[M], /* o : CN ISF vector … in dtx_enc() 191 isf[j] = (Word16)(L_isf[j] >> 3); /* divide by 8 */ in dtx_enc() 218 Qisf_ns(isf, isf, indice); in dtx_enc()
|
/frameworks/av/media/libstagefright/codecs/amrwb/src/ |
D | dtx_decoder_amr_wb.cpp | 139 pv_memcpy((void *)st->isf, (void *)isf_init, M*sizeof(*isf_init)); in dtx_dec_amr_wb_reset() 200 int16 isf[], /* o : CN ISF vector */ in dtx_dec_amr_wb() argument 265 st->isf[j] = (int16)(L_isf[j] >> 3); /* divide by 8 */ in dtx_dec_amr_wb() 275 pv_memcpy((void *)st->isf_old, (void *)st->isf, M*sizeof(*st->isf)); in dtx_dec_amr_wb() 307 Disf_ns(ind, st->isf); in dtx_dec_amr_wb() 327 pv_memcpy((void *)st->isf_old, (void *)st->isf, M*sizeof(*st->isf)); in dtx_dec_amr_wb() 355 isf[i] = mult_int16(int_fac, st->isf[i]);/* Q14 * Q15 -> Q14 */ 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() 367 isf[i] = shl_int16(isf[i], 1); /* Q14 -> Q15 */ in dtx_dec_amr_wb() 373 CN_dithering(isf, &L_log_en_int, &st->dither_seed); in dtx_dec_amr_wb() [all …]
|
D | dtx.h | 135 int16 isf[M]; member 166 …int16 isf[M], /* o : CN ISF vector … 196 …int16 isf[], /* o : CN ISF vector … 202 int16 isf[], 231 int16 isf[M],
|
D | isp_isf.cpp | 149 int16 isf[], /* (i) Q15 : isf[m] normalized (range: 0.0<=val<=0.5) */ in Isf_isp() argument 159 isp[i] = isf[i]; in Isf_isp() 161 isp[m - 1] = shl_int16(isf[m - 1], 1); in Isf_isp()
|
D | pvamrwbdecoder.cpp | 306 int16 *isf = &ispnew[M]; /* ISF (frequency domain) at 4nd sfr */ in pvDecoder_AmrWb() local 307 int16 *isf_tmp = &isf[M]; in pvDecoder_AmrWb() 351 dtx_dec_amr_wb(&(st->dtx_decSt), exc2, newDTXState, isf, &prms); in pvDecoder_AmrWb() 436 Isf_isp(isf, ispnew, M); in pvDecoder_AmrWb() 450 L_tmp = mac_16by16_to_int32(L_tmp, isf[i], interpol_frac[j]); in pvDecoder_AmrWb() 470 pv_memcpy((void *)st->isfold, (void *)isf, M*sizeof(*isf)); in pvDecoder_AmrWb() 499 Dpisf_2s_46b(ind, isf, st->past_isfq, st->isfold, st->isf_buf, bfi, 1); in pvDecoder_AmrWb() 510 Dpisf_2s_36b(ind, isf, st->past_isfq, st->isfold, st->isf_buf, bfi, 1); in pvDecoder_AmrWb() 515 Isf_isp(isf, ispnew, M); in pvDecoder_AmrWb() 534 tmp = sub_int16(isf[i], st->isfold[i]); in pvDecoder_AmrWb() [all …]
|
D | qpisf_2s.cpp | 330 int16 * isf, /* (i/o) Q15: ISF in the frequency domain (0..0.5) */ in Reorder_isf() argument 341 if (isf[i] < isf_min) in Reorder_isf() 343 isf[i] = isf_min; in Reorder_isf() 345 isf_min = add_int16(isf[i], min_dist); in Reorder_isf()
|
D | pvamrwbdecoder_acelp.h | 104 … int16 isf[], /* (i) Q15 : isf[m] normalized (range: 0.0<=val<=0.5) */ 152 int16 * isf, /* (i/o) Q15: ISF in the frequency domain (0..0.5) */
|
/frameworks/av/media/libstagefright/codecs/amrwbenc/inc/ |
D | acelp.h | 75 … Word16 isf[], /* (o) Q15 : isf[m] normalized (range: 0.0<=val<=0.5) */ 80 … Word16 isf[], /* (i) Q15 : isf[m] normalized (range: 0.0<=val<=0.5) */ 160 Word16 * isf, /* (i/o) Q15: ISF in the frequency domain (0..0.5) */ 511 Word16 isf[], /* (i) : isf values (in frequency domain) */
|
D | qpisf_2s.tab | 49 * isf codebooks: two-stage VQ with split-by-5 in 2nd stage * 1019 * isf codebooks: two-stage VQ with split-by-3 in 2nd stage *
|
D | dtx.h | 85 …Word16 isf[M], /* o : CN ISF vector …
|
D | qisf_ns.tab | 45 * isf codebooks: split-by-5 VQ *
|