Loading lib_com/prot.h +2 −2 Original line number Diff line number Diff line Loading @@ -3932,7 +3932,7 @@ void set_impulse( float exc[], /* o : adaptive codebook excitation */ float y1[], /* o : filtered adaptive codebook excitation */ int16_t *imp_shape, /* o : adaptive codebook index */ int16_t *imp_pos, /* o : position of the glotal impulse center index */ int16_t *imp_pos, /* o : position of the glottal impulse center index */ float *gain_trans /* o : transition gain */ ); Loading Loading @@ -4893,7 +4893,7 @@ void FEC_encode( int16_t FEC_pos_dec( Decoder_State *st, /* i/o: decoder state structure */ int16_t *last_pulse_pos, /* o : Last glotal pulse position in the lost ACB */ int16_t *last_pulse_pos, /* o : Last glottal pulse position in the lost ACB */ float *enr_q, /* o : Decoded energy */ const int16_t nBits_es_Pred /* i : number of bits for Es_pred Q */ ); Loading lib_dec/FEC_clas_estim.c +1 −2 Original line number Diff line number Diff line Loading @@ -735,10 +735,9 @@ static void FEC_classificationMusic( int16_t FEC_pos_dec( Decoder_State *st, /* i/o: decoder state structure */ int16_t *last_pulse_pos, /* o : last glotal pulse position in the lost ACB */ int16_t *last_pulse_pos, /* o : last glottal pulse position in the lost ACB */ float *enr_q, /* o : decoded energy */ const int16_t nBits_es_Pred /* i : number of bits for Es_pred Q */ ) { int16_t pitch_index, T0, T0_frac, T0_min, T0_max; Loading lib_enc/FEC_enc.c +1 −2 Original line number Diff line number Diff line Loading @@ -133,8 +133,7 @@ void FEC_encode( { /* retrieve the last glottal pulse position of the previous frame */ /* use the current pitch information to scale or not the quantization */ tmp_FER_pitch = (int16_t) ( fpit[0] ); /* take the 1st subframe pitch, since it is easier to retieve it on decoder side */ tmp_FER_pitch = (int16_t) ( fpit[0] ); /* take the 1st subframe pitch, since it is easier to retrieve it on decoder side */ sign = 0; maxi = *last_pulse_pos; Loading lib_enc/set_impulse.c +4 −4 Original line number Diff line number Diff line Loading @@ -61,10 +61,10 @@ static void convolve_tc2( const float g[], const float h[], float y[], const int /*---------------------------------------------------------------------------------------* * Function set_impulse() for TC * * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * * Builds glottal codebook contribution based on glotal impulses positions finding. * * Builds glottal codebook contribution based on glottal impulses positions finding. * * * * Returns a position of the glotal impulse center and * * a number of the glotal impulse shape. * * Returns a position of the glottal impulse center and * * a number of the glottal impulse shape. * * * * |----| |----| xn * * imp_pos-> || | imp_shape-> | g1 | | * Loading @@ -89,7 +89,7 @@ void set_impulse( float exc[], /* o : adaptive codebook excitation */ float y1[], /* o : filtered adaptive codebook excitation */ int16_t *imp_shape, /* o : adaptive codebook index */ int16_t *imp_pos, /* o : position of the glotal impulse center index */ int16_t *imp_pos, /* o : position of the glottal impulse center index */ float *gain_trans /* o : transition gain */ ) { Loading Loading
lib_com/prot.h +2 −2 Original line number Diff line number Diff line Loading @@ -3932,7 +3932,7 @@ void set_impulse( float exc[], /* o : adaptive codebook excitation */ float y1[], /* o : filtered adaptive codebook excitation */ int16_t *imp_shape, /* o : adaptive codebook index */ int16_t *imp_pos, /* o : position of the glotal impulse center index */ int16_t *imp_pos, /* o : position of the glottal impulse center index */ float *gain_trans /* o : transition gain */ ); Loading Loading @@ -4893,7 +4893,7 @@ void FEC_encode( int16_t FEC_pos_dec( Decoder_State *st, /* i/o: decoder state structure */ int16_t *last_pulse_pos, /* o : Last glotal pulse position in the lost ACB */ int16_t *last_pulse_pos, /* o : Last glottal pulse position in the lost ACB */ float *enr_q, /* o : Decoded energy */ const int16_t nBits_es_Pred /* i : number of bits for Es_pred Q */ ); Loading
lib_dec/FEC_clas_estim.c +1 −2 Original line number Diff line number Diff line Loading @@ -735,10 +735,9 @@ static void FEC_classificationMusic( int16_t FEC_pos_dec( Decoder_State *st, /* i/o: decoder state structure */ int16_t *last_pulse_pos, /* o : last glotal pulse position in the lost ACB */ int16_t *last_pulse_pos, /* o : last glottal pulse position in the lost ACB */ float *enr_q, /* o : decoded energy */ const int16_t nBits_es_Pred /* i : number of bits for Es_pred Q */ ) { int16_t pitch_index, T0, T0_frac, T0_min, T0_max; Loading
lib_enc/FEC_enc.c +1 −2 Original line number Diff line number Diff line Loading @@ -133,8 +133,7 @@ void FEC_encode( { /* retrieve the last glottal pulse position of the previous frame */ /* use the current pitch information to scale or not the quantization */ tmp_FER_pitch = (int16_t) ( fpit[0] ); /* take the 1st subframe pitch, since it is easier to retieve it on decoder side */ tmp_FER_pitch = (int16_t) ( fpit[0] ); /* take the 1st subframe pitch, since it is easier to retrieve it on decoder side */ sign = 0; maxi = *last_pulse_pos; Loading
lib_enc/set_impulse.c +4 −4 Original line number Diff line number Diff line Loading @@ -61,10 +61,10 @@ static void convolve_tc2( const float g[], const float h[], float y[], const int /*---------------------------------------------------------------------------------------* * Function set_impulse() for TC * * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * * Builds glottal codebook contribution based on glotal impulses positions finding. * * Builds glottal codebook contribution based on glottal impulses positions finding. * * * * Returns a position of the glotal impulse center and * * a number of the glotal impulse shape. * * Returns a position of the glottal impulse center and * * a number of the glottal impulse shape. * * * * |----| |----| xn * * imp_pos-> || | imp_shape-> | g1 | | * Loading @@ -89,7 +89,7 @@ void set_impulse( float exc[], /* o : adaptive codebook excitation */ float y1[], /* o : filtered adaptive codebook excitation */ int16_t *imp_shape, /* o : adaptive codebook index */ int16_t *imp_pos, /* o : position of the glotal impulse center index */ int16_t *imp_pos, /* o : position of the glottal impulse center index */ float *gain_trans /* o : transition gain */ ) { Loading