/******************************************************************** * * * THIS FILE IS PART OF THE OggVorbis SOFTWARE CODEC SOURCE CODE. * * USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS * * GOVERNED BY A BSD-STYLE SOURCE LICENSE INCLUDED WITH THIS SOURCE * * IN 'COPYING'. PLEASE READ THESE TERMS BEFORE DISTRIBUTING. * * * * THE OggVorbis SOURCE CODE IS (C) COPYRIGHT 1994-2009 * * by the Xiph.Org Foundation https://xiph.org/ * * * ******************************************************************** function: modified discrete cosine transform prototypes ********************************************************************/ #ifndef _OGG_mdct_H_ #define _OGG_mdct_H_ #include "vorbis/codec.h" /*#define MDCT_INTEGERIZED <- be warned there could be some hurt left here*/ #ifdef MDCT_INTEGERIZED #define DATA_TYPE … #define REG_TYPE … #define TRIGBITS … #define cPI3_8 … #define cPI2_8 … #define cPI1_8 … #define FLOAT_CONV … #define MULT_NORM … #define HALVE … #else #define DATA_TYPE … #define REG_TYPE … #define cPI3_8 … #define cPI2_8 … #define cPI1_8 … #define FLOAT_CONV(x) … #define MULT_NORM(x) … #define HALVE(x) … #endif mdct_lookup; extern void mdct_init(mdct_lookup *lookup,int n); extern void mdct_clear(mdct_lookup *l); extern void mdct_forward(mdct_lookup *init, DATA_TYPE *in, DATA_TYPE *out); extern void mdct_backward(mdct_lookup *init, DATA_TYPE *in, DATA_TYPE *out); #endif