summaryrefslogtreecommitdiff
path: root/lib/mdct.h
diff options
context:
space:
mode:
authorMonty <xiphmont@xiph.org>2000-06-18 12:33:47 +0000
committerMonty <xiphmont@xiph.org>2000-06-18 12:33:47 +0000
commit3c933c57401cc707d9998ec158b506a29b2da7d3 (patch)
treeaec87a0f50a3eb0586236b8785f62667980b3714 /lib/mdct.h
parent1f9c20fbff63a72f4091221d61478b4bd7c37364 (diff)
downloadlibvorbis-git-3c933c57401cc707d9998ec158b506a29b2da7d3.tar.gz
Short block bugfix + tuning. I'm still not satisfied with the short
block triggering algorithm, but it is functioning reasonably well at this point. Monty svn path=/trunk/vorbis/; revision=456
Diffstat (limited to 'lib/mdct.h')
-rw-r--r--lib/mdct.h11
1 files changed, 10 insertions, 1 deletions
diff --git a/lib/mdct.h b/lib/mdct.h
index c08827cc..06ee975f 100644
--- a/lib/mdct.h
+++ b/lib/mdct.h
@@ -12,7 +12,7 @@
********************************************************************
function: modified discrete cosine transform prototypes
- last mod: $Id: mdct.h,v 1.10 2000/01/22 13:28:26 xiphmont Exp $
+ last mod: $Id: mdct.h,v 1.11 2000/06/18 12:33:47 xiphmont Exp $
********************************************************************/
@@ -21,6 +21,15 @@
#include "vorbis/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);