Lines Matching refs:code

22     ANSI-C code for the Adaptive Multi-Rate - Wideband (AMR-WB) speech codec
308 int16 *code = &isf_tmp[M]; /* algebraic codevector */
309 int16 *excp = &code[L_SUBFR];
557 * - decode algebraic code
559 * - find voicing factor and tilt of code for next subframe.
706 code[i] = amr_wb_round(L_tmp << 1);
708 pv_memcpy((void *)&exc[i_subfr], (void *)code, L_SUBFR*sizeof(*code));
713 * Add the fixed-gain pitch contribution to code[].
718 /* the innovative code doesn't need to be scaled (see Q_gain2) */
721 code[i] = noise_gen_amrwb(&(st->seed)) >> 3;
727 dec_acelp_2p_in_64(ind[0], code);
735 dec_acelp_4p_in_64(ind, 20, code);
743 dec_acelp_4p_in_64(ind, 36, code);
751 dec_acelp_4p_in_64(ind, 44, code);
759 dec_acelp_4p_in_64(ind, 52, code);
771 dec_acelp_4p_in_64(ind, 64, code);
783 dec_acelp_4p_in_64(ind, 72, code);
792 dec_acelp_4p_in_64(ind, 88, code);
795 preemph_amrwb_dec(code, st->tilt_code, L_SUBFR);
803 Pit_shrp(code, tmp, PIT_SHARP, L_SUBFR);
815 code,
832 code,
882 * - tilt of code: 0.0 (unvoiced) to 0.5 (voiced)
931 voice_fac = voice_factor(exc2, -3, gain_pit, code, gain_code, L_SUBFR);
933 /* tilt of code for next subframe: 0.5=voiced, 0=unvoiced */
948 L_tmp = mul_16by16_to_int32(code[i], gain_code);
989 code,
996 * - Enhance excitation on noise. (modify gain of code)
998 * of code 1.5 dB toward gain of code threshold.
1034 * - Enhance excitation on voice. (HP filtering of code)
1035 * On voiced signal, filtering of code by a smooth fir HP
1036 * filter to decrease energy of code in low frequency.
1045 L_tmp = (int32)(code[0] << 16);
1046 L_tmp = msu_16by16_from_int32(L_tmp, code[1], tmp);
1056 L_tmp = (int32)(code[i] << 16);
1057 L_tmp = msu_16by16_from_int32(L_tmp, (code[i + 1] + code[i - 1]), tmp);
1065 L_tmp = (int32)(code[L_SUBFR - 1] << 16);
1066 L_tmp = msu_16by16_from_int32(L_tmp, code[L_SUBFR - 2], tmp);