comparison libgsmfr2/pp_bad.c @ 526:405a84110997

libgsmfr2: add gsmfr_preproc_bfi_bits()
author Mychaela Falconia <falcon@freecalypso.org>
date Thu, 19 Sep 2024 06:54:06 +0000
parents 573afa985df6
children 96c4ed5529bf
comparison
equal deleted inserted replaced
525:c95e89367321 526:405a84110997
134 } else 134 } else
135 gsmfr_preproc_gen_cn(st, frame); 135 gsmfr_preproc_gen_cn(st, frame);
136 return; 136 return;
137 } 137 }
138 } 138 }
139
140 void gsmfr_preproc_bfi_bits(struct gsmfr_preproc_state *st,
141 const uint8_t *bad_frame, int taf,
142 uint8_t *frame_out)
143 {
144 if (gsmfr_preproc_sid_classify(bad_frame) == 0)
145 gsmfr_preproc_bfi(st, taf, frame_out);
146 else
147 gsmfr_preproc_invalid_sid(st, frame_out);
148 }