[Vorbis] Clarification on code books usage.

Balatoni Denes dbalatoni at programozo.hu
Fri Sep 16 03:45:12 PDT 2005


Hi!

szerda 14 szeptember 2005 08.30-kor sameen eajaz ezeket a bolcs gondolatokat 
fogalmazta meg:
> code books constructed for decoding of the floor at the encoder should
> have as many entries as the maximum value of the floor 1 Y value can take
> (seems to be 256 ) .

Mostly correct, but there is a multiplier so the codebooks need not have more 
than 256/multiplier entries. Also for coding efficiency, there are several 
codebooks, with differing number of entries.

> In the case of the residue computation the packed entry value decoded is
> used to generate a residue vecotor ( whose length is equal to the code
> book dimension ). In this case the number of entries could be more than
> this . Are these assumptions correct Can someone throw more light on this
> aspect ?

I do not understand the question, but the spec  probably has the answer.

> A related question. Is there a limit on the maximum code book entries
> that could be present in a code book . What does this depend on ? So i
> have seen a codebook with the maximum number of entries being 6536 (
> being used for residue decode i hope ) for the "highnoon1a.ogg" file.

That is a sparse codebook with 81 actual entries. Current encoders don't use 
more real entries than 1000 (or 500).

> warm regards,
>
> Sameen

bye
Denes

-- 
---
What kills me, doesn't make me stronger.


More information about the Vorbis mailing list