First cut of c2wideband.c and its wideband_enc_dec() function.
authorphilayres <philayres@01035d8c-6547-0410-b346-abe4f91aad63>
Wed, 19 Jul 2017 13:08:57 +0000 (13:08 +0000)
committerphilayres <philayres@01035d8c-6547-0410-b346-abe4f91aad63>
Wed, 19 Jul 2017 13:08:57 +0000 (13:08 +0000)
commit631c9e3c9f406b9e2dad381ae2767b58f8d64e5d
treed9f99b70254ea66fa9e8a57f7438cf2b8f747f7c
parentd534a7f9fc31d649af5ad955230b77800a0f02fd
First cut of c2wideband.c and its wideband_enc_dec() function.
A unittest/tc2wideband.c file has been created to test some of the core calculation functions, plus to run wideband_enc_dec() with random data in order to track down buffer overflows, etc.
At this commit, the unit tests in this new file run. The core functions operate as expected. wideband_enc_dec() runs on a single block of 16 frames without crashing, and has been stepped through to validate that most code is working as expected. Real data has not been used at this point in time.
Created generate_wideband_map.c, which creates c2wideband_map.h from the Octave text file ../Octave/c2wideband_map
codec2.c, c2dec.c, c2enc.c have been adapted to include the new wideband option.
Makefiles have been adapted and appear to work.

git-svn-id: https://svn.code.sf.net/p/freetel/code@3314 01035d8c-6547-0410-b346-abe4f91aad63
15 files changed:
codec2-dev/octave/c2wideband_batch.m
codec2-dev/octave/c2wideband_map [new file with mode: 0644]
codec2-dev/raw/speech_orig_16k.wav [new file with mode: 0644]
codec2-dev/src/CMakeLists.txt
codec2-dev/src/c2dec.c
codec2-dev/src/c2enc.c
codec2-dev/src/c2wideband.c [new file with mode: 0644]
codec2-dev/src/c2wideband.h [new file with mode: 0644]
codec2-dev/src/c2wideband_map.h [new file with mode: 0644]
codec2-dev/src/codebook/c2wideband_map.txt [new file with mode: 0644]
codec2-dev/src/codec2.c
codec2-dev/src/codec2.h
codec2-dev/src/generate_wideband_map.c [new file with mode: 0644]
codec2-dev/unittest/CMakeLists.txt
codec2-dev/unittest/tc2wideband.c [new file with mode: 0644]