[vorbis-dev] mdct.c

Segher Boessenkool segher at chello.nl
Thu Mar 21 23:09:26 PST 2002



Alan MacDonald wrote:
> 
> > How about this vorbis_book_decodevv_add and its children? From my profile
> > information it consumes 20.5% of time. Do you think it is
> > worth/possible/difficult to do it in hardware?
> >
> 
> All the codebook related stuff is intensive as far as bit packing because of
> the huffman coding.  Which means you have to mask and shift a lot in order
> to extract the data.  Unless you have built in bit operations in your
> hardware, it can be require a decent amount of operations.

That's why most "dvd decoder" chips have VLC code support hardware, in
addition to a generic cpu core (and some dct and/or motion compensation
accelerator stuff).

Vorbis decode tables are bigger and non-fixed, so your mileage may vary.

<p>Segher

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