Home
last modified time | relevance | path

Searched refs:DFT_DATA_LENGTH (Results 1 - 4 of 4) sorted by relevance

/third_party/libsnd/tests/
H A Ddft_cmp.c32 #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 Dlong_read_write_test.c116 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 Ddft_cmp.h20 #define DFT_DATA_LENGTH (8192) macro
H A Dcompression_size_test.c51 { static float float_data [DFT_DATA_LENGTH] ; in vorbis_test()

Completed in 2 milliseconds