# HG changeset patch # User Mychaela Falconia # Date 1726733246 0 # Node ID 79cd992de3add226d94b98cb49369d5e03710233 # Parent f681fb7580415dda320ab81fbcc69c9627895ec3 libgsmfr2: API definitions for TFO transform diff -r f681fb758041 -r 79cd992de3ad libgsmfr2/tw_gsmfr.h --- 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 */