examples/SFExamples/oggvorbiscodec/src/tremor/mdct.h

00001 /********************************************************************
00002  *                                                                  *
00003  * THIS FILE IS PART OF THE OggVorbis 'TREMOR' CODEC SOURCE CODE.   *
00004  *                                                                  *
00005  * USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS     *
00006  * GOVERNED BY A BSD-STYLE SOURCE LICENSE INCLUDED WITH THIS SOURCE *
00007  * IN 'COPYING'. PLEASE READ THESE TERMS BEFORE DISTRIBUTING.       *
00008  *                                                                  *
00009  * THE OggVorbis 'TREMOR' SOURCE CODE IS (C) COPYRIGHT 1994-2002    *
00010  * BY THE Xiph.Org FOUNDATION http://www.xiph.org/                  *
00011  *                                                                  *
00012  ********************************************************************
00013 
00014  function: modified discrete cosine transform prototypes
00015 
00016  ********************************************************************/
00017 
00018 #ifndef _OGG_mdct_H_
00019 #define _OGG_mdct_H_
00020 
00021 #include "ivorbiscodec.h"
00022 #include "misc.h"
00023 
00024 #define DATA_TYPE ogg_int32_t
00025 #define REG_TYPE  register ogg_int32_t
00026 
00027 #ifdef _LOW_ACCURACY_
00028 #define cPI3_8 (0x0062)
00029 #define cPI2_8 (0x00b5)
00030 #define cPI1_8 (0x00ed)
00031 #else
00032 #define cPI3_8 (0x30fbc54d)
00033 #define cPI2_8 (0x5a82799a)
00034 #define cPI1_8 (0x7641af3d)
00035 #endif
00036 
00037 extern void mdct_forward(int n, DATA_TYPE *in, DATA_TYPE *out);
00038 extern void mdct_backward(int n, DATA_TYPE *in, DATA_TYPE *out);
00039 
00040 #endif
00041 
00042 
00043 
00044 
00045 
00046 
00047 
00048 
00049 
00050 
00051 
00052 

Generated by  doxygen 1.6.2