diff options
author | Monty <xiphmont@xiph.org> | 2002-09-02 22:13:55 +0000 |
---|---|---|
committer | Monty <xiphmont@xiph.org> | 2002-09-02 22:13:55 +0000 |
commit | 56fbebdcf71ea7c8e64cb18ac3a78e5834134fa3 (patch) | |
tree | 55b767ac2280049dd1d7cc8d36cb7589987d92eb /mdct.h | |
download | tremor-56fbebdcf71ea7c8e64cb18ac3a78e5834134fa3.tar.gz |
Put root level of Tremor in CVS
git-svn-id: https://svn.xiph.org/trunk/Tremor@3890 0101bb08-14d6-0310-b084-bc0e0c8e3800
Diffstat (limited to 'mdct.h')
-rw-r--r-- | mdct.h | 42 |
1 files changed, 42 insertions, 0 deletions
@@ -0,0 +1,42 @@ +/******************************************************************** + * * + * THIS FILE IS PART OF THE OggVorbis 'TREMOR' CODEC SOURCE CODE. * + * * + * THE OggVorbis 'TREMOR' SOURCE CODE IS (C) COPYRIGHT 1994-2002 * + * BY THE Xiph.Org FOUNDATION http://www.xiph.org/ * + * ALL REDISTRIBUTION RIGHTS RESERVED. * + * * + ******************************************************************** + + function: modified discrete cosine transform prototypes + + ********************************************************************/ + +#ifndef _OGG_mdct_H_ +#define _OGG_mdct_H_ + +#include "ivorbiscodec.h" +#include "misc.h" + +#define DATA_TYPE ogg_int32_t +#define REG_TYPE register ogg_int32_t +#define cPI3_8 (0x61f78a9bUL>>1) +#define cPI2_8 (0xb504f334UL>>1) +#define cPI1_8 (0xec835e7aUL>>1) + +extern void mdct_forward(int n, DATA_TYPE *in, DATA_TYPE *out); +extern void mdct_backward(int n, DATA_TYPE *in, DATA_TYPE *out); + +#endif + + + + + + + + + + + + |