/frameworks/av/media/libstagefright/codecs/amrwb/src/ |
D | lagconceal.cpp | 141 int16 * T0, in lagconceal() argument 196 *T0 = *old_T0; in lagconceal() 200 *T0 = lag_hist[0]; in lagconceal() 227 *T0 = add_int16(mult_int16(tmp, ONE_PER_3), D2); in lagconceal() 231 if (*T0 > maxLag) in lagconceal() 233 *T0 = maxLag; in lagconceal() 236 if (*T0 < minLag) in lagconceal() 238 *T0 = minLag; in lagconceal() 253 tmp = *T0 - maxLag; in lagconceal() 254 tmp2 = *T0 - lastLag; in lagconceal() [all …]
|
D | pvamrwbdecoder.cpp | 329 int16 T0, T0_frac, pit_flag, T0_max, select, T0_min = 0; in pvDecoder_AmrWb() local 595 T0 = PIT_MIN + (index >> 1); in pvDecoder_AmrWb() 596 T0_frac = sub_int16(index, shl_int16(sub_int16(T0, PIT_MIN), 1)); in pvDecoder_AmrWb() 601 T0 = add_int16(index, PIT_FR1_8b - ((PIT_FR1_8b - PIT_MIN) * 2)); in pvDecoder_AmrWb() 611 T0 = PIT_MIN + (index >> 2); in pvDecoder_AmrWb() 612 T0_frac = sub_int16(index, shl_int16(sub_int16(T0, PIT_MIN), 2)); in pvDecoder_AmrWb() 617 T0 = PIT_FR2 + (index >> 1); in pvDecoder_AmrWb() 618 T0_frac = sub_int16(index, shl_int16(sub_int16(T0, PIT_FR2), 1)); in pvDecoder_AmrWb() 623 … T0 = add_int16(index, (PIT_FR1_9b - ((PIT_FR2 - PIT_MIN) * 4) - ((PIT_FR1_9b - PIT_FR2) * 2))); in pvDecoder_AmrWb() 630 T0_min = T0 - 8; in pvDecoder_AmrWb() [all …]
|
D | pred_lt4.cpp | 164 int16 T0, /* input : integer pitch lag */ in Pred_lt4() argument 174 pt_exc = &exc[-T0]; in Pred_lt4()
|
/frameworks/av/media/libstagefright/codecs/amrnb/enc/src/ |
D | cbsearch.cpp | 188 Word16 T0, /* i : Pitch lag */ in cbsearch() argument 217 T0, in cbsearch() 232 T0, in cbsearch() 247 T0, in cbsearch() 262 T0, in cbsearch() 285 for (i = T0; i < L_SUBFR; i++) in cbsearch() 289 h[i - T0], in cbsearch() 317 for (i = T0; i < L_SUBFR; i++) in cbsearch() 321 code[i - T0], in cbsearch() 343 for (i = T0; i < L_SUBFR; i++) in cbsearch() [all …]
|
D | enc_lag3.cpp | 252 Word16 T0, /* i : Pitch delay */ in Enc_lag3() argument 273 temp1 = sub(T0, 85, pOverflow); in Enc_lag3() 277 temp2 = add(T0, T0, pOverflow); in Enc_lag3() 278 i = add(temp2, T0, pOverflow); in Enc_lag3() 284 index = add(T0, 112, pOverflow); in Enc_lag3() 295 i = sub(T0, T0_min, pOverflow); in Enc_lag3() 316 temp1 = add(T0, T0, pOverflow); in Enc_lag3() 317 temp2 = add(temp1, T0, pOverflow); in Enc_lag3() 327 temp1 = sub(T0, tmp_lag, pOverflow); in Enc_lag3() 344 temp1 = sub(T0, tmp_lag, pOverflow); in Enc_lag3()
|
D | enc_lag6.cpp | 187 Word16 T0, /* i : Pitch delay */ in Enc_lag6() argument 201 if (T0 <= 94) in Enc_lag6() 204 i = 6 * T0 - 105; in Enc_lag6() 210 index = add(T0, 368, pOverflow); in Enc_lag6() 218 temp = sub(T0, T0_min, pOverflow); in Enc_lag6()
|
D | c2_11pf.cpp | 231 Word16 T0, /* i : Pitch lag */ in code_2i40_11bits() argument 253 if (T0 < L_CODE) in code_2i40_11bits() 255 for (i = T0; i < L_CODE; i++) in code_2i40_11bits() 259 h[i - T0], in code_2i40_11bits() 314 if (T0 < L_CODE) in code_2i40_11bits() 316 for (i = T0; i < L_CODE; i++) in code_2i40_11bits() 320 code[i - T0], in code_2i40_11bits()
|
D | c2_9pf.cpp | 307 Word16 T0, /* i : Pitch lag */ in code_2i40_9bits() argument 341 if (T0 < L_CODE) in code_2i40_9bits() 343 for (i = T0; i < L_CODE; i++) in code_2i40_9bits() 347 *(h + i - T0), in code_2i40_9bits() 403 if (T0 < L_CODE) in code_2i40_9bits() 405 for (i = T0; i < L_CODE; i++) in code_2i40_9bits() 409 *(code + i - T0), in code_2i40_9bits()
|
D | c3_14pf.cpp | 206 Word16 T0, /* i : Pitch lag */ in code_3i40_14bits() argument 227 if (T0 < L_CODE) in code_3i40_14bits() 229 for (i = T0; i < L_CODE; i++) in code_3i40_14bits() 233 h[i - T0], in code_3i40_14bits() 287 if (T0 < L_CODE) in code_3i40_14bits() 289 for (i = T0; i < L_CODE; i++) in code_3i40_14bits() 293 code[i - T0], in code_3i40_14bits()
|
D | c4_17pf.cpp | 216 Word16 T0, /* i : Pitch lag */ in code_4i40_17bits() argument 237 if (T0 < L_CODE) in code_4i40_17bits() 239 for (i = T0; i < L_CODE; i++) in code_4i40_17bits() 243 h[i - T0], in code_4i40_17bits() 297 tempWord = T0 - L_CODE; in code_4i40_17bits() 301 for (i = T0; i < L_CODE; i++) in code_4i40_17bits() 305 code[i - T0], in code_4i40_17bits()
|
D | cl_ltp.cpp | 632 Word16 *T0, /* o : Pitch delay (integer part) */ in cl_ltp() argument 656 *T0 = in cl_ltp() 684 *T0, in cl_ltp()
|
D | cod_amr.cpp | 1259 Word16 T0, T0_frac; in cod_amr() local 1488 &T0, &T0_frac, &gain_pit, gCoeff, &ana, in cod_amr() 1495 st->old_lags[1] = T0; in cod_amr() 1501 st->old_lags[0] = T0; in cod_amr() 1507 cbsearch(xn2, st->h1, T0, st->sharp, gain_pit, res2, in cod_amr() 1540 T0_sf0 = T0; in cod_amr() 1580 Pred_lt_3or6(&st->exc[i_subfr], T0, T0_frac, L_SUBFR, 1, pOverflow); in cod_amr()
|
D | enc_lag6.h | 106 Word16 T0, /* i : Pitch delay */
|
D | c2_11pf.h | 106 Word16 T0, /* i : Pitch lag */
|
/frameworks/av/media/libeffects/lvm/lib/Eq/src/ |
D | LVEQNB_CalcCoef.c | 103 LVM_INT32 T0; in LVEQNB_DoublePrecCoefs() local 120 T0 = (LVM_INT32)Frequency * LVEQNB_TwoPiOnFsTable[Fs]; /* T0 = 2 * Pi * Fc / Fs */ in LVEQNB_DoublePrecCoefs() 133 Dt0 = D * (T0 >> 10); in LVEQNB_DoublePrecCoefs() 143 T0 = (T0 >> 6) * 0x7f53; /* Scale to 1.0 in 16-bit for range 0 to fs/50 */ in LVEQNB_DoublePrecCoefs() 144 t0 = (LVM_INT16)(T0 >> 16); in LVEQNB_DoublePrecCoefs() 234 LVM_FLOAT T0; in LVEQNB_SinglePrecCoefs() local 243 T0 = Frequency * LVEQNB_TwoPiOnFsTable[Fs]; /* T0 = 2 * Pi * Fc / Fs */ in LVEQNB_SinglePrecCoefs() 256 B2 = -0.5 * (2 * QFactor - D * T0) / (2 * QFactor + D * T0); in LVEQNB_SinglePrecCoefs() 257 B1 = (0.5 - B2) * cos(T0); in LVEQNB_SinglePrecCoefs() 294 LVM_INT32 T0; in LVEQNB_SinglePrecCoefs() local [all …]
|
/frameworks/av/media/libstagefright/codecs/amrnb/dec/src/ |
D | dec_lag3.cpp | 192 Word16 * T0, /* o : integer part of pitch lag */ in Dec_lag3() argument 221 *T0 = i; in Dec_lag3() 226 i = add(i, *T0, pOverflow); in Dec_lag3() 242 *T0 = index - 112; in Dec_lag3() 274 *T0 = in Dec_lag3() 340 *T0 = in Dec_lag3() 362 *T0 = add( in Dec_lag3() 393 *T0 = in Dec_lag3()
|
D | dec_lag6.cpp | 190 Word16 *T0, /* in/out: integer part of pitch lag */ in Dec_lag6() argument 219 *T0 = i; in Dec_lag6() 224 i = add(i, *T0, pOverflow); in Dec_lag6() 248 *T0 = in Dec_lag6() 263 *T0, in Dec_lag6() 308 *T0 = in Dec_lag6()
|
D | dec_amr.cpp | 1371 Word16 T0; in Decoder_amr() local 1629 &T0, &T0_frac, flag4, pOverflow); in Decoder_amr() 1631 st->T0_lagBuff = T0; in Decoder_amr() 1639 T0 = st->old_T0; in Decoder_amr() 1645 T0 = st->T0_lagBuff; in Decoder_amr() 1649 Pred_lt_3or6(st->exc, T0, T0_frac, L_SUBFR, 1, pOverflow); in Decoder_amr() 1654 PIT_MAX, pit_flag, &T0, &T0_frac, pOverflow); in Decoder_amr() 1659 st->T0_lagBuff = T0; in Decoder_amr() 1660 T0 = st->old_T0; in Decoder_amr() 1664 Pred_lt_3or6(st->exc, T0, T0_frac, L_SUBFR, 0, pOverflow); in Decoder_amr() [all …]
|
D | dec_lag6.h | 111 Word16 *T0, /* in/out: integer part of pitch lag */
|
/frameworks/av/media/libeffects/lvm/lib/SpectrumAnalyzer/src/ |
D | LVPSA_Control.c | 538 LVM_FLOAT T0; in LVPSA_BPSinglePrecCoefs() local 562 T0 = Frequency * LVPSA_Float_TwoPiOnFsTable[Fs]; /* T0 = 2 * Pi * Fc / Fs */ in LVPSA_BPSinglePrecCoefs() 570 Dt0 = T0 / 2048 ; in LVPSA_BPSinglePrecCoefs() 580 T0 = (T0 / 2048) * 0.63658558f; /* Scale to 1.0 in 16-bit for range 0 to fs/2 */ in LVPSA_BPSinglePrecCoefs() 581 t0 = T0 ; in LVPSA_BPSinglePrecCoefs() 618 LVM_INT32 T0; in LVPSA_BPSinglePrecCoefs() local 643 T0 = (LVM_INT32)Frequency * LVPSA_TwoPiOnFsTable[Fs]; /* T0 = 2 * Pi * Fc / Fs */ in LVPSA_BPSinglePrecCoefs() 651 Dt0 = D * (T0 >> 10); in LVPSA_BPSinglePrecCoefs() 661 T0 = (T0 >> 10) * 20859; /* Scale to 1.0 in 16-bit for range 0 to fs/2 */ in LVPSA_BPSinglePrecCoefs() 662 t0 = (LVM_INT16)(T0 >> 16); in LVPSA_BPSinglePrecCoefs() [all …]
|
/frameworks/av/media/libstagefright/codecs/amrwbenc/src/asm/ARMV7/ |
D | pred_lt4_1_neon.s | 19 @ Word16 T0, /* input : integer pitch lag */ 25 @ r1 --- T0 37 SUB r4, r0, r1, LSL #1 @ x = exc - T0
|
/frameworks/av/media/libstagefright/codecs/amrwbenc/src/ |
D | voAMRWBEnc.c | 203 Word16 T_op, T_op2, T0, T0_min, T0_max, T0_frac, index; in coder() local 845 T0 = Pitch_fr4(&exc[i_subfr], xn, h1, T0_min, T0_max, &T0_frac, in coder() 857 if (T0 < PIT_FR1_8b) in coder() 859 index = ((T0 << 1) + (T0_frac >> 1) - (PIT_MIN<<1)); in coder() 862 index = ((T0 - PIT_FR1_8b) + ((PIT_FR1_8b - PIT_MIN)*2)); in coder() 868 T0_min = (T0 - 8); in coder() 885 i = (T0 - T0_min); in coder() 892 T0 = Pitch_fr4(&exc[i_subfr], xn, h1, T0_min, T0_max, &T0_frac, in coder() 906 if (T0 < PIT_FR2) in coder() 908 index = ((T0 << 2) + T0_frac) - (PIT_MIN << 2); in coder() [all …]
|
D | pred_lt4.c | 53 Word16 T0, /* input : integer pitch lag */ in Pred_lt4() argument 63 x = exc - T0; in Pred_lt4()
|
/frameworks/av/media/libstagefright/codecs/amrnb/common/src/ |
D | pred_lt.cpp | 256 Word16 T0, /* input : integer pitch lag */ in Pred_lt_3or6() argument 281 pX0 = &(exc[-T0]); in Pred_lt_3or6()
|
/frameworks/av/media/libstagefright/codecs/amrnb/common/include/ |
D | pred_lt.h | 99 Word16 T0, /* input : integer pitch lag */
|