FreeCalypso > hg > gsm-codec-lib
comparison libgsmhr1/tw_gsmhr.h @ 510:5bf71b091323
libgsmhr1: add direct conversion from RTP input to decoder params
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Sun, 25 Aug 2024 02:19:37 +0000 |
parents | af70bf42eb1b |
children | 4f0ab833bec0 |
comparison
equal
deleted
inserted
replaced
509:b7ddcb178ef6 | 510:5bf71b091323 |
---|---|
46 void gsmhr_encoder_twts002_out(const int16_t *param, uint8_t *payload); | 46 void gsmhr_encoder_twts002_out(const int16_t *param, uint8_t *payload); |
47 int gsmhr_decoder_twts002_in(const uint8_t *payload, int16_t *param); | 47 int gsmhr_decoder_twts002_in(const uint8_t *payload, int16_t *param); |
48 | 48 |
49 int gsmhr_rtp_in_preen(const uint8_t *rtp_in, unsigned rtp_in_len, | 49 int gsmhr_rtp_in_preen(const uint8_t *rtp_in, unsigned rtp_in_len, |
50 uint8_t *canon_pl); | 50 uint8_t *canon_pl); |
51 int gsmhr_rtp_in_direct(const uint8_t *rtp_in, unsigned rtp_in_len, | |
52 int16_t *param); | |
51 | 53 |
52 /* perfect SID detection and regeneration */ | 54 /* perfect SID detection and regeneration */ |
53 | 55 |
54 int gsmhr_ts101318_is_perfect_sid(const uint8_t *payload); | 56 int gsmhr_ts101318_is_perfect_sid(const uint8_t *payload); |
55 void gsmhr_ts101318_set_sid_codeword(uint8_t *payload); | 57 void gsmhr_ts101318_set_sid_codeword(uint8_t *payload); |