Source: audio_blocks/include/mdct.h
|
|
|
|
// Copyright (C) 2001 Jean-Marc Valin
/********************************************************************
* *
* THIS FILE IS PART OF THE Ogg Vorbis SOFTWARE CODEC SOURCE CODE. *
* USE, DISTRIBUTION AND REPRODUCTION OF THIS SOURCE IS GOVERNED BY *
* THE GNU PUBLIC LICENSE 2, WHICH IS INCLUDED WITH THIS SOURCE. *
* PLEASE READ THESE TERMS DISTRIBUTING. *
* *
* THE OggSQUISH SOURCE CODE IS (C) COPYRIGHT 1994-2000 *
* by Monty <monty@xiph.org> and The XIPHOPHORUS Company *
* http://www.xiph.org/ *
* *
********************************************************************
function: modified discrete cosine transform prototypes
last mod: $Id: mdct.h,v 1.3 2001/05/25 21:33:19 jmvalin Exp $
********************************************************************/
#ifndef _OGG_mdct_H_
#define _OGG_mdct_H_
#ifdef __cplusplus
extern "C"
{
#endif /* __cplusplus */
//#include "codec.h"
typedef struct {
int n;
int log2n;
double *trig;
int *bitrev;
} 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, double *in, double *out);
extern void mdct_backward(mdct_lookup *init, double *in, double *out);
#ifdef __cplusplus
}
#endif /* __cplusplus */
#endif
Generated by: jmvalin@usw-pr-shell2 on Mon Jun 24 00:06:42 2002, using kdoc 2.0a40. |