Searched refs:DFT_DATA_LENGTH (Results 1 - 4 of 4) sorted by relevance
/third_party/libsnd/tests/ |
H A D | dft_cmp.c | 32 #define DFT_SPEC_LENGTH (DFT_DATA_LENGTH / 2) 43 { static double orig [DFT_DATA_LENGTH] ; in dft_cmp_float() 44 static double test [DFT_DATA_LENGTH] ; in dft_cmp_float() 47 if (len != DFT_DATA_LENGTH) in dft_cmp_float() 71 if (len != DFT_DATA_LENGTH) in dft_cmp_double() 102 { static double cos_angle [DFT_DATA_LENGTH] = { 0.0 } ; in dft_magnitude() 103 static double sin_angle [DFT_DATA_LENGTH] ; in dft_magnitude() 110 for (n = 0 ; n < DFT_DATA_LENGTH ; n++) in dft_magnitude() 111 { cos_angle [n] = cos (2.0 * M_PI * n / DFT_DATA_LENGTH) ; in dft_magnitude() 112 sin_angle [n] = -1.0 * sin (2.0 * M_PI * n / DFT_DATA_LENGTH) ; in dft_magnitude() [all...] |
H A D | long_read_write_test.c | 116 exit_if_true (sfinfo.frames < out_len, "\n\nLine %d: Incorrect number of frames in file (too short). (%" PRId64 " should be %d)\n", __LINE__, sfinfo.frames, DFT_DATA_LENGTH) ; in short_lrw_test() 162 exit_if_true (sfinfo.frames < out_len, "\n\nLine %d: Incorrect number of frames in file (too int). (%" PRId64 " should be %d)\n", __LINE__, sfinfo.frames, DFT_DATA_LENGTH) ; in int_lrw_test() 208 exit_if_true (sfinfo.frames < out_len, "\n\nLine %d: Incorrect number of frames in file (too float). (%" PRId64 " should be %d)\n", __LINE__, sfinfo.frames, DFT_DATA_LENGTH) ; in float_lrw_test() 254 exit_if_true (sfinfo.frames < out_len, "\n\nLine %d: Incorrect number of frames in file (too double). (%" PRId64 " should be %d)\n", __LINE__, sfinfo.frames, DFT_DATA_LENGTH) ; in double_lrw_test()
|
H A D | dft_cmp.h | 20 #define DFT_DATA_LENGTH (8192) macro
|
H A D | compression_size_test.c | 51 { static float float_data [DFT_DATA_LENGTH] ; in vorbis_test()
|
Completed in 2 milliseconds