FreeCalypso > hg > gsm-codec-lib
view .hgignore @ 477:4c9222d95647
libtwamr encoder: always emit frame->mode = mode;
In the original implementation of amr_encode_frame(), the 'mode' member
of the output struct was set to 0xFF if the output frame type is TX_NO_DATA.
This design was made to mimic the mode field (16-bit word) being set to
0xFFFF (or -1) in 3GPP test sequence format - but nothing actually depends
on this struct member being set in any way, and amr_frame_to_tseq()
generates the needed 0xFFFF on its own, based on frame->type being equal
to TX_NO_DATA.
It is simpler and more efficient to always set frame->mode to the actual
encoding mode in amr_encode_frame(), and this new behavior has already
been documented in doc/AMR-library-API description in anticipation of
the present change.
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Sat, 18 May 2024 22:30:42 +0000 |
parents | 285381a001fc |
children | b0333fa167c3 |
line wrap: on
line source
syntax: regexp \.[oa]$ ^config\.defs$ ^amrconv/amr-cod-parse$ ^amrconv/amr-cod2ietf$ ^amrconv/amr-ietf-parse$ ^amrconv/amr-ietf2cod$ ^amrconv/gsm-amr2efr$ ^amrconv/gsm-efr2amr$ ^amrefr/amrefr-decode-r$ ^amrefr/amrefr-encode-r$ ^amrefr/amrefr-tseq-dec$ ^amrefr/amrefr-tseq-enc$ ^amrtest/twamr-decode$ ^amrtest/twamr-decode-r$ ^amrtest/twamr-encode$ ^amrtest/twamr-encode-r$ ^amrtest/twamr-tseq-dec$ ^amrtest/twamr-tseq-enc$ ^dev/a2s-regen$ ^dev/a2s-regen\.out$ ^dev/efr-bit-packing$ ^dev/efr-bit-packing\.out$ ^dev/efr-sid-insert$ ^dev/efr-sid-insert\.out$ ^dev/efr-tidsp$ ^dev/efr-tidsp\.out$ ^dev/gsm0611-silence-fr$ ^dev/gsm0611-silence-fr\.out$ ^dev/gsmfr-dhf$ ^dev/gsmfr-dhf\.out$ ^dev/mk-256bytes$ ^dev/s2a-regen$ ^dev/s2a-regen\.out$ ^dev/s2u-regen$ ^dev/s2u-regen\.out$ ^dev/s2u-regen-plus4$ ^dev/s2u-regen-plus4\.out$ ^dev/u2s-regen$ ^dev/u2s-regen\.out$ ^dev/xmaxc-tables$ ^dev/xmaxc-tables\.out$ ^efrtest/gsmefr-cod-parse$ ^efrtest/gsmefr-cod2gsmx$ ^efrtest/gsmefr-dec-parse$ ^efrtest/gsmefr-decode$ ^efrtest/gsmefr-decode-r$ ^efrtest/gsmefr-dlcap-dec$ ^efrtest/gsmefr-dlcap-gsmx$ ^efrtest/gsmefr-dlcap-parse$ ^efrtest/gsmefr-dlcap-sync$ ^efrtest/gsmefr-encode$ ^efrtest/gsmefr-encode-r$ ^efrtest/gsmefr-etsi-dec$ ^efrtest/gsmefr-etsi-enc$ ^efrtest/gsmefr-rec2etsi$ ^frtest/gsmfr-cod2std$ ^frtest/gsmfr-decode$ ^frtest/gsmfr-decode-r$ ^frtest/gsmfr-decode-rb$ ^frtest/gsmfr-dlcap-gsmx$ ^frtest/gsmfr-dlcap-parse$ ^frtest/gsmfr-dlcap-sync$ ^frtest/gsmfr-encode$ ^frtest/gsmfr-encode-r$ ^frtest/gsmfr-preproc$ ^libtwamr/namespace\.h$ ^miscutil/amrts-pcm8-compact$ ^miscutil/gsmrec-dump$ ^miscutil/pcm16-check13$ ^miscutil/pcm16-raw2wav$ ^miscutil/pcm16-to-alaw$ ^miscutil/pcm16-to-ulaw$ ^miscutil/pcm16-wav2raw$ ^miscutil/pcm8-to-pcm16$