| OLD | NEW |
| 1 /* Copyright (c) 2008 Xiph.Org Foundation | 1 /* Copyright (c) 2008 Xiph.Org Foundation |
| 2 Written by Jean-Marc Valin */ | 2 Written by Jean-Marc Valin */ |
| 3 /* | 3 /* |
| 4 Redistribution and use in source and binary forms, with or without | 4 Redistribution and use in source and binary forms, with or without |
| 5 modification, are permitted provided that the following conditions | 5 modification, are permitted provided that the following conditions |
| 6 are met: | 6 are met: |
| 7 | 7 |
| 8 - Redistributions of source code must retain the above copyright | 8 - Redistributions of source code must retain the above copyright |
| 9 notice, this list of conditions and the following disclaimer. | 9 notice, this list of conditions and the following disclaimer. |
| 10 | 10 |
| (...skipping 20 matching lines...) Expand all Loading... |
| 31 | 31 |
| 32 #define SKIP_CONFIG_H | 32 #define SKIP_CONFIG_H |
| 33 | 33 |
| 34 #ifndef CUSTOM_MODES | 34 #ifndef CUSTOM_MODES |
| 35 #define CUSTOM_MODES | 35 #define CUSTOM_MODES |
| 36 #endif | 36 #endif |
| 37 | 37 |
| 38 #include <stdio.h> | 38 #include <stdio.h> |
| 39 | 39 |
| 40 #define CELT_C | 40 #define CELT_C |
| 41 #define TEST_UNIT_DFT_C |
| 41 #include "stack_alloc.h" | 42 #include "stack_alloc.h" |
| 42 #include "kiss_fft.h" | 43 #include "kiss_fft.h" |
| 43 #include "kiss_fft.c" | 44 #include "kiss_fft.c" |
| 44 #include "mathops.c" | 45 #include "mathops.c" |
| 45 #include "entcode.c" | 46 #include "entcode.c" |
| 46 | 47 |
| 47 | 48 |
| 48 #ifndef M_PI | 49 #ifndef M_PI |
| 49 #define M_PI 3.141592653 | 50 #define M_PI 3.141592653 |
| 50 #endif | 51 #endif |
| (...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 155 test1d(36,0); | 156 test1d(36,0); |
| 156 test1d(36,1); | 157 test1d(36,1); |
| 157 test1d(50,0); | 158 test1d(50,0); |
| 158 test1d(50,1); | 159 test1d(50,1); |
| 159 test1d(120,0); | 160 test1d(120,0); |
| 160 test1d(120,1); | 161 test1d(120,1); |
| 161 #endif | 162 #endif |
| 162 } | 163 } |
| 163 return ret; | 164 return ret; |
| 164 } | 165 } |
| OLD | NEW |