• Home
  • Raw
  • Download

Lines Matching refs:SPL_MUL_16_16

73 #define SPL_MUL_16_16(a, b) ((int32_t) (((int16_t)(a)) * ((int16_t)(b))))  macro
74 #define SPL_MUL_16_16_RSFT(a, b, c) (SPL_MUL_16_16(a, b) >> (c))
554 (*tmp1) = (int16_t) ((SPL_MUL_16_16(maxVal, ilbc_state[(*tmp2)]) + 2097152) >> 22); in state_construct()
562 (*tmp1) = (int16_t) ((SPL_MUL_16_16(maxVal, ilbc_state[(*tmp2)]) + 262144) >> 19); in state_construct()
570 (*tmp1) = (int16_t) ((SPL_MUL_16_16(maxVal, ilbc_state[(*tmp2)]) + 65536) >> 17); in state_construct()
676 k = (int16_t) SPL_MUL_16_16(2, (index - (lMem - cbveclen + 1))) + cbveclen; in get_codebook()
746 a32 = SPL_MUL_16_16(*gainPtr++, cbvec0[j]); in construct_vector()
747 a32 += SPL_MUL_16_16(*gainPtr++, cbvec1[j]); in construct_vector()
748 a32 += SPL_MUL_16_16(*gainPtr, cbvec2[j]); in construct_vector()
1024 measure = SPL_MUL_16_16(SPL_SHIFT_W32(ener, -shift2), cross_square); in do_plc()
1027 max_measure = SPL_MUL_16_16(SPL_SHIFT_W32(ener_comp, -shift3), cross_square_max); in do_plc()
1077 nom = SPL_MUL_16_16(tmp1, tmp2); in do_plc()
1137 s->seed = SPL_MUL_16_16(s->seed, 31821) + 13849; in do_plc()
1321 tmp = SPL_MUL_16_16(y[1], ba[3]); /* (-a[1])*y[i-1] (low part) */ in hp_output()
1322 tmp += SPL_MUL_16_16(y[3], ba[4]); /* (-a[2])*y[i-2] (low part) */ in hp_output()
1324 tmp += SPL_MUL_16_16(y[0], ba[3]); /* (-a[1])*y[i-1] (high part) */ in hp_output()
1325 tmp += SPL_MUL_16_16(y[2], ba[4]); /* (-a[2])*y[i-2] (high part) */ in hp_output()
1328 tmp += SPL_MUL_16_16(signal[i], ba[0]); /* b[0]*x[0] */ in hp_output()
1329 tmp += SPL_MUL_16_16(x[0], ba[1]); /* b[1]*x[i-1] */ in hp_output()
1330 tmp += SPL_MUL_16_16(x[1], ba[2]); /* b[2]*x[i-2] */ in hp_output()