summaryrefslogtreecommitdiffstats
path: root/src/codec/gsm620.c
Commit message (Collapse)AuthorAgeFilesLines
* Include codec.h file from codec C filesHarald Welte2017-06-091-0/+1
| | | | | | | failure to do so would prevent the compiler from catching inconsistencies between declaration and definition. Change-Id: I88617c97adcff328292e501fd5d254eeae96a660
* osmo_{fr,hr}_check_sid(): Use const input argumentHarald Welte2017-06-091-2/+2
| | | | Change-Id: If779cce63f06a18d4f3b0cb3d6dd7a99aa52a646
* Add functions to detect HR/FR SID framesMax2016-06-011-0/+32
| | | | | | | | | | | Add functions which check if given FR or HR frame (packed in RTP) contains SID (SIlence Descriptor) and corresponding tests. Related: OS#22 Change-Id: I4051e3c0d4fb9ee93d7e9e0ef4abaf9f18e227ca Reviewed-on: https://gerrit.osmocom.org/160 Tested-by: Jenkins Builder Reviewed-by: Harald Welte <laforge@gnumonks.org>
* codec: Fix the GSM 06.20 ordering tablesSylvain Munaut2013-03-011-41/+41
| | | | | | | | | | Seems the script I used to parse those had a bug where range of bits in the 'decreasing' direction ( like 6..0 ) were not processed properly. Thanks to Andreas for noticing this ! Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
* codec: make data tables constant.Diego Elio Pettenò2012-06-301-2/+2
| | | | | | | | When declaring them constant, they are written on the .rodata section instead of .data, which means that they can be mapped directly from disk to memory. Signed-off-by: Diego Elio Pettenò <flameeyes@flameeyes.eu>
* codec: Add bit ordering tables from specs for HR,FR,EFR & AMRSylvain Munaut2010-10-151-0/+262
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>