opus/tests
Timothy B. Terriberry 845dfa1986 Changes to ec_dec_cdf() to support 8-bit tables.
This renames ec_dec_cdf() to ec_dec_icdf(), and changes the
 functionality to use an "inverse" CDF table, where
 icdf[i]=ft-cdf[i+1].
The first entry is omitted entirely.
It also adds a corresonding ec_enc_icdf() to the encoder, which uses
 the same table.
One could use ec_encode_bin() by converting the values in the tables
 back to normal CDF values, but the icdf[] table already has them in
 the form ec_encode_bin() wants to use them, so there's no reason to
 translate them and then translate them back.

This is done primarily to allow SILK to use the range coder with
 8-bit probability tables containing cumulative frequencies that
 span the full range 0...256.
With an 8-bit table, the final 256 of a normal CDF becomes 0 in the
 "inverse" CDF.
It's the 0 at the start of a normal CDF which would become 256, but
 this is the value we omit, as it already has to be special-cased in
 the encoder, and is not used at all in the decoder.
2011-01-08 14:57:01 -05:00
..
cwrs32-test.c updated cwrs test for previous commit 2010-07-28 10:14:07 +02:00
dft-test.c Disabling mdct and fft init code with static modes 2010-08-26 02:04:03 -04:00
ectest.c Changes to ec_dec_cdf() to support 8-bit tables. 2011-01-08 14:57:01 -05:00
laplace-test.c Add coarse energy entropy model tuning. 2010-11-09 17:54:41 +08:00
Makefile.am Getting "make dist" to work again with the files that got removed 2010-01-16 23:35:45 -05:00
mathops-test.c Fixing tests on machines with no __builtin_clz() 2010-09-13 14:53:29 -04:00
mdct-test.c Fixing tests on machines with no __builtin_clz() 2010-09-13 14:53:29 -04:00
real-fft-test.c Fix compilation of test cases with fixed-debug enabled 2009-07-01 03:50:44 -04:00
rotation-test.c Removed the _t from all the celt*_t types to avoid clashing with POSIX 2009-10-17 22:12:42 -04:00
tandem-test.c Updates tandem-test for more robust error reporting and additional frame sizes and sample rates. 2010-09-29 20:07:22 -04:00
type-test.c Changed all the celt*int*_t types to remove the _t suffix, which is reserved 2009-10-17 14:35:13 -04:00