view libgsmhr1/err_conc.h @ 608:d4e42ec4a688 default tip

hrutil: new program gsmhr-decode-r
author Mychaela Falconia <falcon@freecalypso.org>
date Fri, 05 Dec 2025 09:01:14 +0000
parents 5a7d04bf26f5
children
line wrap: on
line source

#ifndef __ERR_CONC
#define __ERR_CONC

#include "typedefs.h"
#include "tw_gsmhr.h"

/*_________________________________________________________________________
 |                                                                         |
 |                            Function Prototypes                          |
 |_________________________________________________________________________|
*/

  Shortword level_calc(Shortword swInd, Longword *pl_en);

  void   level_estimator_det(struct gsmhr_decoder_state *st,
                                Shortword *pswLevelMean,
                                Shortword *pswLevelMax);

  void   level_estimator_upd(struct gsmhr_decoder_state *st,
                                Shortword pswDecodedSpeechFrame[]);

  void   signal_conceal_sub(Shortword pswPPFExcit[],
                     Shortword ppswSynthAs[], Shortword pswSynthFiltState[],
                       Shortword pswLtpStateOut[], Shortword pswPPreState[],
                                Shortword swLevelMean, Shortword swLevelMax,
                            Shortword swErrorFlag1, Shortword swMuteFlagOld,
                            Shortword *pswMuteFlag, Shortword swMutePermit);

#endif