search for: codebook_entries

Displaying 3 results from an estimated 3 matches for "codebook_entries".

2006 May 10
2
Codebook decoding help
...codebook_lengths but this does not work. We followed the instructions in the Vorbis 1 specification script (chapter 3 - Codebooks) but we didn't understand, how it works. So, what we can do is: - reading the 24 bit sync-pattern (0x564342) - reading the 16 codebook_dimensions - reading the 24 codebook_entries Afterwards the script says: "Next read the ordered bit flag" and so we read the 8th byte containing the ordered bit-flag. byte 8: [ x] [ordered] Now the script says: "If the ordered bit is unset do that, if it's set than to that ...". So we proceeded in pro...
2002 Jul 20
3
Vorbis 1.0 spec notes, part 1
...( [sign] is nonzero )" - question: What are the tolerances on this function? Is it acceptable for me to cast mantissa to double, multiply it by the double returned from pow(2,(dobule)(exponent-788)), and cast the result to float? * lookup1_values - given: return_value ^ codebook_dimensions = codebook_entries -> is this correct: ? (I'm out of school so my algebra is slacking...) -> return_value = log(codebook_entires) / log(codebook_dimensions) -> where return_value truncates the double result to int? <p>vorbis-spec-codebook.html * introduce the variable codebook_codeword_lengths ear...
2015 Feb 26
2
Vorbis I spec errata: single entry codebooks
...debooks should be encoded. As such, the above addition made in r16037 is struck from the specification and replaced by the following: "It is possible to declare a Vorbis codebook containing a single codework en- try. A single-entry codebook may be either a fully populated codebook with [codebook_entries] set to 1, or a sparse codebook marking only one entry used. Note that it is not possible to also encode a [codeword_length] of zero for the single used codeword, as the unsigned value written to the stream is [codeword_length]-1. Instead, encoder implementations should indicate a [codeword...