FreeCalypso > hg > gsm-codec-lib
changeset 529:79cd992de3ad
libgsmfr2: API definitions for TFO transform
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Thu, 19 Sep 2024 08:07:26 +0000 |
parents | f681fb758041 |
children | 96c4ed5529bf |
files | libgsmfr2/tw_gsmfr.h |
diffstat | 1 files changed, 7 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/libgsmfr2/tw_gsmfr.h Thu Sep 19 07:52:17 2024 +0000 +++ b/libgsmfr2/tw_gsmfr.h Thu Sep 19 08:07:26 2024 +0000 @@ -127,4 +127,11 @@ /* utility datum */ extern const uint8_t gsmfr_decoder_homing_frame[GSMFR_RTP_FRAME_LEN]; +/* TFO transform API based on the preprocessor part of the library */ + +int gsmfr_tfo_xfrm_main(struct gsmfr_preproc_state *state, + const uint8_t *rtp_in, unsigned rtp_in_len, + uint8_t *frame_out); +int gsmfr_tfo_xfrm_dtxd(struct gsmfr_preproc_state *state, uint8_t *frame_out); + #endif /* include guard */