Changeset 8c50194 for src


Ignore:
Timestamp:
Aug 8, 2018, 4:49:36 PM (15 months ago)
Author:
Paul Brossier <piem@piem.org>
Branches:
feature/autosink, feature/constantq, feature/pitchshift, feature/pydocstrings, feature/timestretch, master
Children:
98ceec5d
Parents:
06baeb2
Message:

src/spectral/dct_ipp.c: rename to aubio_dct_ipp

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/spectral/dct_ipp.c

    r06baeb2 r8c50194  
    4747#endif
    4848
    49 struct _aubio_dct_t {
     49typedef struct _aubio_dct_ipp_t aubio_dct_ipp_t;
     50
     51struct _aubio_dct_ipp_t {
    5052  uint_t size;
    5153  Ipp8u* pSpecFwd;
     
    5759};
    5860
    59 aubio_dct_t * new_aubio_dct (uint_t size) {
    60   aubio_dct_t * s = AUBIO_NEW(aubio_dct_t);
     61void del_aubio_dct_ipp (aubio_dct_ipp_t *s);
     62
     63aubio_dct_ipp_t * new_aubio_dct_ipp (uint_t size) {
     64  aubio_dct_ipp_t * s = AUBIO_NEW(aubio_dct_ipp_t);
    6165
    6266  const IppHintAlgorithm qualityHint = ippAlgHintAccurate; // ippAlgHintFast;
     
    118122
    119123beach:
    120   del_aubio_dct(s);
     124  del_aubio_dct_ipp(s);
    121125  return NULL;
    122126}
    123127
    124 void del_aubio_dct(aubio_dct_t *s) {
     128void del_aubio_dct_ipp(aubio_dct_ipp_t *s) {
    125129  ippFree(s->pSpecFwd);
    126130  ippFree(s->pSpecInv);
     
    130134}
    131135
    132 void aubio_dct_do(aubio_dct_t *s, const fvec_t *input, fvec_t *output) {
     136void aubio_dct_ipp_do(aubio_dct_ipp_t *s, const fvec_t *input, fvec_t *output) {
    133137
    134138  aubio_ippsDCTFwd((const aubio_IppFloat*)input->data,
     
    137141}
    138142
    139 void aubio_dct_rdo(aubio_dct_t *s, const fvec_t *input, fvec_t *output) {
     143void aubio_dct_ipp_rdo(aubio_dct_ipp_t *s, const fvec_t *input, fvec_t *output) {
    140144
    141145  aubio_ippsDCTInv((const aubio_IppFloat*)input->data,
Note: See TracChangeset for help on using the changeset viewer.