FreeCalypso > hg > gsm-codec-lib
view doc/Utils-overview @ 585:3c6bf0d26ee7 default tip
TW-TS-005 reader: fix maximum line length bug
TW-TS-005 section 4.1 states:
The maximum allowed length of each line is 80 characters, not
including the OS-specific newline encoding.
The implementation of this line length limit in the TW-TS-005 hex file
reader function in the present suite was wrong, such that lines of
the full maximum length could not be read. Fix it.
Note that this bug affects comment lines too, not just actual RTP
payloads. Neither Annex A nor Annex B features an RTP payload format
that goes to the maximum of 40 bytes, but if a comment line goes to
the maximum allowed length of 80 characters not including the
terminating newline, the bug will be triggered, necessitating
the present fix.
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Tue, 25 Feb 2025 07:49:28 +0000 |
parents | 8f44d7064c56 |
children |
line wrap: on
line source
Here is the complete list of all command line utilities included in the present package: amr-cod-parse See AMR-study-utils article. amr-ietf-parse amr-cod2ietf amr-ietf2cod amrefr-decode-r See AMR-EFR-hybrid-emu article. amrefr-encode-r amrefr-tseq-dec amrefr-tseq-enc amrts-pcm8-compact The set of AMR test sequences shipped by 3GPP as TS 26.074 includes not only linear PCM and AMR-encoded files, but also 8-bit PCM sequences in both A-law and mu-law. However, those PCM8 sequences are shipped in a stupid and inconvenient format: each 8-bit PCM sample is expanded to a 16-bit word, written in LE byte order. This utility converts a PCM8 test sequence file from this weird format into sane PCM8 format with one byte per sample. gsm-amr2efr See AMR-EFR-conversion article. gsm-efr2amr gsmefr-cod-parse See EFR-testing article. gsmefr-dec-parse gsmefr-cod2gsmx This program reads an EFR codec frame stream in ETSI *.cod format and converts it to Themyscira gsmx format. gsmefr-decode See Codec-utils article. gsmefr-decode-r gsmefr-decode-tw5 gsmefr-decode-tw5-r gsmefr-encode gsmefr-encode-r gsmefr-dlcap-dec See Calypso-TCH-downlink article. gsmefr-dlcap-gsmx gsmefr-dlcap-parse gsmefr-dlcap-sync gsmefr-etsi-dec See EFR-testing article. gsmefr-etsi-enc gsmefr-rec2etsi This program reads an EFR session recording in gsmx format and converts it into ETSI decoder input (.dec) format. It was written early in the project as a sanity check, to verify that the format of TCH uplink from sysmoBTS in EFR mode matches our expectations, before embarking on the labor-intensive project to librify EFR reference code from ETSI. gsmfr-cod2std This program reads an FR codec frame stream in ETSI *.cod format and converts it to "standard" *.gsm format. gsmfr-decode See Codec-utils article. gsmfr-decode-r gsmfr-decode-rb gsmfr-decode-tw5 gsmfr-decode-tw5-r gsmfr-encode gsmfr-encode-r gsmfr-dlcap-gsmx See Calypso-TCH-downlink article. gsmfr-dlcap-parse gsmfr-dlcap-sync gsmfr-preproc See FR1-Rx-DTX article. gsmfr-tfo-xfrm See TFO-transform article. gsmrec-dump See Binary-file-format article. gsmx-to-tw5a See TW-TS-005 article. pcm16-check13 This program reads a 16-bit linear PCM recording file (raw BE by default, or raw LE with -l option) and checks if the 3 least significant bits of every sample are all zeros. All linear PCM samples consumed or generated by GSM codecs are only 13 bits wide, left-justified in 16-bit words, and so is output from G.711 A-law decoding - thus it is useful to be able to check if a given file in 16-bit PCM format is purely 13-bit or not. pcm16-raw2wav See PCM-file-formats article. pcm16-wav2raw pcm16-to-alaw See PCM8-conversions article. pcm16-to-ulaw pcm8-to-pcm16 tw5a-dump See TW-TS-005 article. tw5a-to-gsmx twamr-decode See Codec-utils article. twamr-decode-r twamr-encode twamr-encode-r twamr-tseq-dec See AMR-library-tests article. twamr-tseq-enc