Displaying 2 results from an estimated 2 matches for "limit_residue_begin".
2015 Mar 28
1
Building a new decoder - some questions on the spec (residue decode)
...ze] = [actual\_size] * [ch];
4) [limit\_residue\_begin] = maximum of ([residue\_begin],[actual\_size]);
5) [limit\_residue\_end] = maximum of ([residue\_end],[actual\_size]);
In a real world vorbis file I see
residue_begin = 0;
residue_end = 256;
actual_size = 8;
following that code I would get
limit_residue_begin = 8
limit_residue_end = 256
Is this right? It feels wrong having an actual size of 8 yet the
difference of end-begin being 248.
Question 2)
Further down in 8.6.2 it has a line of code
18) if ([vqbook] is not ?unused?) {
Can someone tell me the full definition of 'unused' here? I have a...
2015 Aug 16
0
Questions about the accuracy of the spec
...e of [blocksize / 2] * [ch] according to Format 1 and deinterleave once. (correct)
3. On page 60 section 8.6.2., taking the greater of [residue_begin] and [actual_size] will almost always produce [actual_size], which does not make sense.
? Taking the lesser of [residue_begin] and [actual_size] as [limit_residue_begin], and the lesser of [residue_end] and [actual_size] as [limit_residue_end] seems correct.
I came across the questions above in the course of writing a new decoder which is almost working properly,
(https://github.com/sohc1300/Soyogi)
and I am quite certain that it would be very nice if these point...