diff options
author | Jean-Marc Valin <jmvalin@jmvalin.ca> | 2012-12-04 00:40:01 +0400 |
---|---|---|
committer | Jean-Marc Valin <jmvalin@jmvalin.ca> | 2012-12-04 00:40:01 +0400 |
commit | aa3a599caa2aa2e4f3036eb0e3b848bf3946821e (patch) | |
tree | c777e6ee38258f5621bd6db3f76775583db865e4 /celt/tests | |
parent | 259e166648832ba5bf4ed4d08aca87e8f5e8fe5c (diff) |
Fixes forward MDCT for overlaps that aren't a multiple of 4
Adds more sizes to test_unit_mdct.c
Diffstat (limited to 'celt/tests')
-rw-r--r-- | celt/tests/test_unit_mdct.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/celt/tests/test_unit_mdct.c b/celt/tests/test_unit_mdct.c index 42962e11..ac8957fd 100644 --- a/celt/tests/test_unit_mdct.c +++ b/celt/tests/test_unit_mdct.c @@ -183,15 +183,27 @@ int main(int argc,char ** argv) test1d(256,1); test1d(512,0); test1d(512,1); + test1d(1024,0); + test1d(1024,1); + test1d(2048,0); + test1d(2048,1); #ifndef RADIX_TWO_ONLY + test1d(36,0); + test1d(36,1); test1d(40,0); test1d(40,1); + test1d(60,0); + test1d(60,1); test1d(120,0); test1d(120,1); test1d(240,0); test1d(240,1); test1d(480,0); test1d(480,1); + test1d(960,0); + test1d(960,1); + test1d(1920,0); + test1d(1920,1); #endif } return ret; |