[vorbis-dev] Test files for decoder implementation

Nicolas Pitre nico at cam.org
Fri Sep 20 09:11:40 PDT 2002



On Fri, 20 Sep 2002, Monty wrote:

> > The libvorbis implementation also differs from the format documentation 
> > in variable naming and algorithm implementation. Different variable 
> > naming is of course not really an error, and using different algorithms 
> > and storage structures not necessarily (probably rather an optimization 
> > of the decoding process), but it would be much easier to understand 
> > the format specification if they would match each other. At least 
> > it makes it impossible to compare a partial result from my implementation 
> > with whatever libvorbis has computed up to this point of the decoding 
> > process. Specific examples for this could be the last part of the 
> > residue header decoding process where libvorbis uses a 1-dimensional 
> > array with only the used codebooks, and the format specification 
> > uses a 2-dimensional array, marking unused entries as such, hence 
> > the residue packet decoding process is also very different.
> 
> The intent was to simplify the explanation such that it was easier to
> understand, even if this would produce code that was literally less
> efficient.

Maybe a quick note in the documentation about alternative ways to do the
same thing more efficiently like in libvorbis source code would be less
confusing for people cross referencing both the spec and the source.

<p>Nicolas

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