[vorbis-dev] Vorbis memory consumption

Monty xiphmont at xiph.org
Wed Jan 16 12:49:03 PST 2002



On Wed, Jan 16, 2002 at 06:39:59AM +0100, Segher Boessenkool wrote:
> > Vorbis need not use so much decode memory, but our code happens to do
> > so.  Drastically reducing memory usage would mostly require
> > redesigning how the codebook code unpacks codebooks; now that Vorbis
> > officially encourages only lattice VQ, there's no reason to have a
> > N-dimensional codebook fully always unpacked into an array of size
> > values^N.
> > 
> > (This is the cause of most of the large footprint)
> 
> The actual huffman decode tree is even bigger...

Well, I guess I'll go fix that now.  Eliminating the decode tree is a
fun little algorithm trick.

Monty

--- >8 ----
List archives:  http://www.xiph.org/archives/
Ogg project homepage: http://www.xiph.org/ogg/
To unsubscribe from this list, send a message to 'vorbis-dev-request at xiph.org'
containing only the word 'unsubscribe' in the body.  No subject is needed.
Unsubscribe messages sent to the list will be ignored/filtered.



More information about the Vorbis-dev mailing list