diff options
author | Monty <xiphmont@xiph.org> | 2000-06-18 12:33:47 +0000 |
---|---|---|
committer | Monty <xiphmont@xiph.org> | 2000-06-18 12:33:47 +0000 |
commit | 3c933c57401cc707d9998ec158b506a29b2da7d3 (patch) | |
tree | aec87a0f50a3eb0586236b8785f62667980b3714 /lib/mdct.h | |
parent | 1f9c20fbff63a72f4091221d61478b4bd7c37364 (diff) | |
download | libvorbis-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.h | 11 |
1 files changed, 10 insertions, 1 deletions
@@ -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); |