view libgsmfr2/pp_internal.h @ 586:b21ea4ab586d

libgsmhr1: update for TW-TS-002 version 1.2.0 The component of libgsmhr1 being changed is RTP input functions; the change is accepting FT=1 (invalid SID) frames both with and without payload data bits.
author Mychaela Falconia <falcon@freecalypso.org>
date Mon, 10 Mar 2025 02:03:31 +0000
parents 573afa985df6
children
line wrap: on
line source

/*
 * This header file is internal to libgsmfr2; it contains declarations
 * of internal functions for the Rx DTX preprocessor component.
 */

extern void gsmfr_preproc_gen_cn(struct gsmfr_preproc_state *state,
				 uint8_t *frame);
extern void gsmfr_preproc_sid2cn(struct gsmfr_preproc_state *state,
				 uint8_t *frame);
extern void gsmfr_preproc_invalid_sid(struct gsmfr_preproc_state *state,
				      uint8_t *frame);
extern uint16_t gsmfr_preproc_prng(struct gsmfr_preproc_state *state,
				   uint16_t no_bits);
extern uint8_t gsmfr_preproc_xmaxc_mean(const uint8_t *frame);