[vorbis-dev] ogg vorbis dynamic memory allocation.

Segher Boessenkool segher at chello.nl
Mon Jul 2 15:09:02 PDT 2001



Firelight Multimedia wrote:
> 
> > Are you sure about this?  If it can deceode mp3, it can decode vorbis
> in
> > about the same amount of cpu.  At least, in theory...  Any public spec
> of > that IOP?
> 
> Yeah it’s a 33mhz r3000 (ps1.. ew risc! :) with 2mb ram and no fpu, so
> the work involved would be quite large to get it running. .but its not
> really the issue here as we might want to do more than 1 at once, and
> other design issues :)

This could playback one or maybe two stereo vorbis streams just fine, if
optimized for...  But if that's not enough, you want to do it on the main
cpu, yes.

> 
> > > #define SBLIMIT         32
> > > #define SSLIMIT         18
> > > #define MAXFRAMESIZE    1792
> > > unsigned char bsspace[2][MAXFRAMESIZE+512];
> > > float  hybrid_block[2][2][SBLIMIT*SSLIMIT];
> > > float  synth_buffs[2][2][0x120];
> > > float  block[2][2][SBLIMIT * SSLIMIT];
> > > float  hybridIn[2][SBLIMIT][SSLIMIT];
> > > float  hybridOut[2][SSLIMIT][SBLIMIT];
> >
> > That's 40.5k (roughly), for these buffers only...  So my 48k stands.
> > But anyway, 48k or 880k doesn't compare very nice for us...
> 
> well 2816+9216+4608+9216+4608+4608 = 34.25k actually :)

...except your math is kind of funky?

Segher

--- >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