diff options
author | Monty <xiphmont@xiph.org> | 2002-01-22 08:06:08 +0000 |
---|---|---|
committer | Monty <xiphmont@xiph.org> | 2002-01-22 08:06:08 +0000 |
commit | 8bc503a5542c92625e705000f381995a55af1b88 (patch) | |
tree | c4e390b959df8c103b862c40e30706df25b1c729 /lib/codec_internal.h | |
parent | 65edd8f42e2c38650fd5c790337d11eab297f2ea (diff) | |
download | libvorbis-git-8bc503a5542c92625e705000f381995a55af1b88.tar.gz |
Fixed a memory management error in the new codebook code
Removed final-stage infinite shift buffer; now a no-copy
double buffer; removes another 70kB nominal from decode
with slight speed improvement (~2%)
there's still an exact-position seek bug found by seeking_example to
track down. The seek succeeds, but the position is off.
Monty
svn path=/trunk/vorbis/; revision=2975
Diffstat (limited to 'lib/codec_internal.h')
-rw-r--r-- | lib/codec_internal.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/codec_internal.h b/lib/codec_internal.h index 956ea833..e5851dd2 100644 --- a/lib/codec_internal.h +++ b/lib/codec_internal.h @@ -5,13 +5,13 @@ * GOVERNED BY A BSD-STYLE SOURCE LICENSE INCLUDED WITH THIS SOURCE * * IN 'COPYING'. PLEASE READ THESE TERMS BEFORE DISTRIBUTING. * * * - * THE OggVorbis SOURCE CODE IS (C) COPYRIGHT 1994-2001 * + * THE OggVorbis SOURCE CODE IS (C) COPYRIGHT 1994-2002 * * by the XIPHOPHORUS Company http://www.xiph.org/ * * * ******************************************************************** function: libvorbis codec headers - last mod: $Id: codec_internal.h,v 1.12 2001/12/20 01:00:26 segher Exp $ + last mod: $Id: codec_internal.h,v 1.13 2002/01/22 08:06:06 xiphmont Exp $ ********************************************************************/ @@ -61,7 +61,6 @@ typedef struct backend_lookup_state { envelope_lookup *ve; /* envelope lookup */ float **window[2][2][2]; /* block, leadin, leadout, type */ vorbis_look_transform **transform[2]; /* block, type */ - codebook *fullbooks; vorbis_look_psy_global *psy_g_look; /* backend lookups are tied to the mode, not the backend or naked mapping */ @@ -157,6 +156,7 @@ typedef struct codec_setup_info { int residue_type[64]; vorbis_info_residue *residue_param[64]; static_codebook *book_param[256]; + codebook *fullbooks; vorbis_info_psy *psy_param[64]; /* encode only */ vorbis_info_psy_global psy_g_param; |