view err_conc.h @ 5:59fc7fc126d0

mv utils.c reid.c In the original GSM 06.06 code drop, reid.c resides in the "utilities" collection (Dir_UTIL.zip), but there is also a copy of reid.c named utils.c in the "C" collection (Dir_C.zip), even though it is never compiled or linked as such. When I originally created the present Hg repository, I did not intend to include REID, only the main body of the codec - but I overlooked that utils.c copy, so it got imported. In the present time, however, it has become useful to have REID code in Hg for easier public study and discussion - so let's have it under its proper name.
author Mychaela Falconia <falcon@freecalypso.org>
date Mon, 22 Jul 2024 18:43:12 +0000
parents 9008dbc8ca74
children
line wrap: on
line source

#ifndef __ERR_CONC
#define __ERR_CONC

#include "typedefs.h"

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

void   para_conceal_speech_decoder(Shortword pswErrorFlag[],
                       Shortword pswSpeechPara[], Shortword *pswMutePermit);

  Shortword level_calc(Shortword swInd, Longword *pl_en);

  void   level_estimator(Shortword update, Shortword *pswLevelMean,
                                Shortword *pswLevelMax,
                                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