[Vorbis-dev] Question about blocksizes

Nico Sabbi nsabbi at email.it
Tue Jan 17 07:48:47 PST 2006


Hi,
can someone explain whats the meaning of the two blocksizes in the first 
header of Vorbis, please?
So far I assumed that they meant that 2^b0 and 2^b1 were the only two 
blocksizes used during
the whole encode, but something makes me believe they are not:
if b0 and b1 are 0xb8 respectively (that I interpeted as 2^11 = 2048
and 2^8 = 256) I observe 3 different deltas between each couple of 
consecutive granulepos:
1024, 128 and 576.
Do I have to understand that b0 and b1 indicate 2^(b0-1) and 2^(b1-1) 
blocks?
Are they the min and max values used, rather than the only two?
If no, where does that 576 stem from? It's not even a power of 2.

Thanks,

    Nico


 
 
 --
 Email.it, the professional e-mail, gratis per te: http://www.email.it/f
 
 Sponsor:
 Le speciali Offerte di Benvenuto di Cassine di Pietra:
* scopra il gusto ed i vantaggi delle tradizioni contadine
* 
 Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?mid=3924&d=17-1


More information about the Vorbis-dev mailing list