Changeset 98ceec5d


Ignore:
Timestamp:
Aug 8, 2018, 4:50:06 PM (6 years ago)
Author:
Paul Brossier <piem@piem.org>
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
Message:

src/spectral/dct_ooura.c: rename to aubio_dct_ooura

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/spectral/dct_ooura.c

    r8c50194 r98ceec5d  
    2525#if !defined(HAVE_ACCELERATE) && !defined(HAVE_FFTW3) && !defined(HAVE_INTEL_IPP)
    2626
     27typedef struct _aubio_dct_ooura_t aubio_dct_ooura_t;
     28
    2729extern void aubio_ooura_ddct(int, int, smpl_t *, int *, smpl_t *);
    2830
    29 struct _aubio_dct_t {
     31struct _aubio_dct_ooura_t {
    3032  uint_t size;
    3133  fvec_t *input;
     
    3537};
    3638
    37 aubio_dct_t * new_aubio_dct (uint_t size) {
    38   aubio_dct_t * s = AUBIO_NEW(aubio_dct_t);
     39aubio_dct_ooura_t * new_aubio_dct_ooura (uint_t size) {
     40  aubio_dct_ooura_t * s = AUBIO_NEW(aubio_dct_ooura_t);
    3941  if (aubio_is_power_of_two(size) != 1) {
    4042    AUBIO_ERR("dct: can only create with sizes power of two, requested %d\n",
     
    5860}
    5961
    60 void del_aubio_dct(aubio_dct_t *s) {
     62void del_aubio_dct_ooura(aubio_dct_ooura_t *s) {
    6163  del_fvec(s->input);
    6264  AUBIO_FREE(s->ip);
     
    6567}
    6668
    67 void aubio_dct_do(aubio_dct_t *s, const fvec_t *input, fvec_t *output) {
     69void aubio_dct_ooura_do(aubio_dct_ooura_t *s, const fvec_t *input, fvec_t *output) {
    6870  uint_t i = 0;
    6971  fvec_copy(input, s->input);
     
    7779}
    7880
    79 void aubio_dct_rdo(aubio_dct_t *s, const fvec_t *input, fvec_t *output) {
     81void aubio_dct_ooura_rdo(aubio_dct_ooura_t *s, const fvec_t *input, fvec_t *output) {
    8082  uint_t i = 0;
    8183  fvec_copy(input, s->input);
Note: See TracChangeset for help on using the changeset viewer.