Changeset 98ceec5d
- Timestamp:
- Aug 8, 2018, 4:50:06 PM (6 years ago)
- Branches:
- feature/autosink, feature/cnn, feature/cnn_org, feature/constantq, feature/crepe, feature/crepe_org, feature/pitchshift, feature/pydocstrings, feature/timestretch, fix/ffmpeg5, master
- Children:
- b236757
- Parents:
- 8c50194
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/spectral/dct_ooura.c
r8c50194 r98ceec5d 25 25 #if !defined(HAVE_ACCELERATE) && !defined(HAVE_FFTW3) && !defined(HAVE_INTEL_IPP) 26 26 27 typedef struct _aubio_dct_ooura_t aubio_dct_ooura_t; 28 27 29 extern void aubio_ooura_ddct(int, int, smpl_t *, int *, smpl_t *); 28 30 29 struct _aubio_dct_ t {31 struct _aubio_dct_ooura_t { 30 32 uint_t size; 31 33 fvec_t *input; … … 35 37 }; 36 38 37 aubio_dct_ t * new_aubio_dct(uint_t size) {38 aubio_dct_ t * s = AUBIO_NEW(aubio_dct_t);39 aubio_dct_ooura_t * new_aubio_dct_ooura (uint_t size) { 40 aubio_dct_ooura_t * s = AUBIO_NEW(aubio_dct_ooura_t); 39 41 if (aubio_is_power_of_two(size) != 1) { 40 42 AUBIO_ERR("dct: can only create with sizes power of two, requested %d\n", … … 58 60 } 59 61 60 void del_aubio_dct (aubio_dct_t *s) {62 void del_aubio_dct_ooura(aubio_dct_ooura_t *s) { 61 63 del_fvec(s->input); 62 64 AUBIO_FREE(s->ip); … … 65 67 } 66 68 67 void aubio_dct_ do(aubio_dct_t *s, const fvec_t *input, fvec_t *output) {69 void aubio_dct_ooura_do(aubio_dct_ooura_t *s, const fvec_t *input, fvec_t *output) { 68 70 uint_t i = 0; 69 71 fvec_copy(input, s->input); … … 77 79 } 78 80 79 void aubio_dct_ rdo(aubio_dct_t *s, const fvec_t *input, fvec_t *output) {81 void aubio_dct_ooura_rdo(aubio_dct_ooura_t *s, const fvec_t *input, fvec_t *output) { 80 82 uint_t i = 0; 81 83 fvec_copy(input, s->input);
Note: See TracChangeset
for help on using the changeset viewer.