• Home
  • Raw
  • Download

Lines Matching refs:gain

173 …(spx_word16_t *sw, int start, int end, int len, int *pitch, spx_word16_t *gain, int N, char *stack)  in open_loop_nbest_pitch()  argument
292 if (gain) in open_loop_nbest_pitch()
302 gain[j]=g; in open_loop_nbest_pitch()
376 spx_word16_t gain[3]; in pitch_gain_search_3tap() local
487 gain[0] = ADD16(32,(spx_word16_t)gain_cdbk[best_cdbk*4]); in pitch_gain_search_3tap()
488 gain[1] = ADD16(32,(spx_word16_t)gain_cdbk[best_cdbk*4+1]); in pitch_gain_search_3tap()
489 gain[2] = ADD16(32,(spx_word16_t)gain_cdbk[best_cdbk*4+2]); in pitch_gain_search_3tap()
492 gain[0] = 0.015625*gain_cdbk[best_cdbk*4] + .5; in pitch_gain_search_3tap()
493 gain[1] = 0.015625*gain_cdbk[best_cdbk*4+1]+ .5; in pitch_gain_search_3tap()
494 gain[2] = 0.015625*gain_cdbk[best_cdbk*4+2]+ .5; in pitch_gain_search_3tap()
509 exc[j]=MAC16_16(exc[j],SHL16(gain[2-i],7),exc2[j-pp]); in pitch_gain_search_3tap()
514 exc[j]=MAC16_16(exc[j],SHL16(gain[2-i],7),exc2[j-pp-pitch]); in pitch_gain_search_3tap()
518 spx_word32_t tmp = ADD32(ADD32(MULT16_16(gain[0],x[2][i]),MULT16_16(gain[1],x[1][i])), in pitch_gain_search_3tap()
519 MULT16_16(gain[2],x[0][i])); in pitch_gain_search_3tap()
676 spx_word16_t gain[3]; in pitch_unquant_3tap() local
690 gain[0] = ADD16(32,(spx_word16_t)gain_cdbk[gain_index*4]); in pitch_unquant_3tap()
691 gain[1] = ADD16(32,(spx_word16_t)gain_cdbk[gain_index*4+1]); in pitch_unquant_3tap()
692 gain[2] = ADD16(32,(spx_word16_t)gain_cdbk[gain_index*4+2]); in pitch_unquant_3tap()
694 gain[0] = 0.015625*gain_cdbk[gain_index*4]+.5; in pitch_unquant_3tap()
695 gain[1] = 0.015625*gain_cdbk[gain_index*4+1]+.5; in pitch_unquant_3tap()
696 gain[2] = 0.015625*gain_cdbk[gain_index*4+2]+.5; in pitch_unquant_3tap()
712 gain_sum = gain_3tap_to_1tap(gain); in pitch_unquant_3tap()
718 gain[i]=MULT16_16_Q14(fact,gain[i]); in pitch_unquant_3tap()
726 gain_val[0]=gain[0]; in pitch_unquant_3tap()
727 gain_val[1]=gain[1]; in pitch_unquant_3tap()
728 gain_val[2]=gain[2]; in pitch_unquant_3tap()
729 gain[0] = SHL16(gain[0],7); in pitch_unquant_3tap()
730 gain[1] = SHL16(gain[1],7); in pitch_unquant_3tap()
731 gain[2] = SHL16(gain[2],7); in pitch_unquant_3tap()
742 exc_out[j]=MAC16_16(exc_out[j],gain[2-i],exc[j-pp]); in pitch_unquant_3tap()
747 exc_out[j]=MAC16_16(exc_out[j],gain[2-i],exc[j-pp-pitch]); in pitch_unquant_3tap()