aubio
0.4.9
|
Discrete Cosine Transform. More...
Go to the source code of this file.
Typedefs | |
typedef struct _aubio_dct_t | aubio_dct_t |
DCT object. More... | |
Functions | |
aubio_dct_t * | new_aubio_dct (uint_t size) |
create new DCT computation object More... | |
void | aubio_dct_do (aubio_dct_t *s, const fvec_t *input, fvec_t *dct_output) |
compute forward DCT More... | |
void | aubio_dct_rdo (aubio_dct_t *s, const fvec_t *input, fvec_t *idct_output) |
compute backward DCT More... | |
void | del_aubio_dct (aubio_dct_t *s) |
delete DCT object More... | |
Discrete Cosine Transform.
Functions aubio_dct_do() and aubio_dct_rdo() are equivalent to MATLAB/Octave dct() and idct() functions, as well as scipy.fftpack.dct(x, norm='ortho') and scipy.fftpack.idct(x, norm='ortho')
Definition in file dct.h.
typedef struct _aubio_dct_t aubio_dct_t |
void aubio_dct_do | ( | aubio_dct_t * | s, |
const fvec_t * | input, | ||
fvec_t * | dct_output | ||
) |
compute forward DCT
s | dct object as returned by new_aubio_dct |
input | input signal |
dct_output | transformed input array |
void aubio_dct_rdo | ( | aubio_dct_t * | s, |
const fvec_t * | input, | ||
fvec_t * | idct_output | ||
) |
compute backward DCT
s | dct object as returned by new_aubio_dct |
input | input signal |
idct_output | transformed input array |
void del_aubio_dct | ( | aubio_dct_t * | s | ) |
delete DCT object
s | dct object as returned by new_aubio_dct |
aubio_dct_t* new_aubio_dct | ( | uint_t | size | ) |