#ifdef HAVE_CONFIG_H #include "config.h" #endif #include #include #include "celt_types.h" #include "bands.h" #include #define MAX_SIZE 100 int ret=0; void test_rotation(int N, int K) { int i; double err = 0, ener = 0, snr, snr0; celt_word16 x0[MAX_SIZE]; celt_word16 x1[MAX_SIZE]; int nb_rotations = (N+4*K)/(8*K); for (i=0;i 20) ret = 1; } int main(void) { test_rotation(15, 3); test_rotation(23, 5); test_rotation(50, 3); test_rotation(80, 1); return ret; }