Changeset 8c50194
- Timestamp:
- Aug 8, 2018, 4:49:36 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:
- 98ceec5d
- Parents:
- 06baeb2
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/spectral/dct_ipp.c
r06baeb2 r8c50194 47 47 #endif 48 48 49 struct _aubio_dct_t { 49 typedef struct _aubio_dct_ipp_t aubio_dct_ipp_t; 50 51 struct _aubio_dct_ipp_t { 50 52 uint_t size; 51 53 Ipp8u* pSpecFwd; … … 57 59 }; 58 60 59 aubio_dct_t * new_aubio_dct (uint_t size) { 60 aubio_dct_t * s = AUBIO_NEW(aubio_dct_t); 61 void del_aubio_dct_ipp (aubio_dct_ipp_t *s); 62 63 aubio_dct_ipp_t * new_aubio_dct_ipp (uint_t size) { 64 aubio_dct_ipp_t * s = AUBIO_NEW(aubio_dct_ipp_t); 61 65 62 66 const IppHintAlgorithm qualityHint = ippAlgHintAccurate; // ippAlgHintFast; … … 118 122 119 123 beach: 120 del_aubio_dct (s);124 del_aubio_dct_ipp(s); 121 125 return NULL; 122 126 } 123 127 124 void del_aubio_dct (aubio_dct_t *s) {128 void del_aubio_dct_ipp(aubio_dct_ipp_t *s) { 125 129 ippFree(s->pSpecFwd); 126 130 ippFree(s->pSpecInv); … … 130 134 } 131 135 132 void aubio_dct_ do(aubio_dct_t *s, const fvec_t *input, fvec_t *output) {136 void aubio_dct_ipp_do(aubio_dct_ipp_t *s, const fvec_t *input, fvec_t *output) { 133 137 134 138 aubio_ippsDCTFwd((const aubio_IppFloat*)input->data, … … 137 141 } 138 142 139 void aubio_dct_ rdo(aubio_dct_t *s, const fvec_t *input, fvec_t *output) {143 void aubio_dct_ipp_rdo(aubio_dct_ipp_t *s, const fvec_t *input, fvec_t *output) { 140 144 141 145 aubio_ippsDCTInv((const aubio_IppFloat*)input->data,
Note: See TracChangeset
for help on using the changeset viewer.