Lines Matching refs:residue
4 \section{Residue setup and decode} \label{vorbis:spec:residue}
8 A residue vector represents the fine detail of the audio spectrum of
10 curve and performs any channel coupling. A residue vector may
13 the vector does not matter to the residue abstraction.
15 Whatever the exact qualities, the Vorbis residue abstraction codes the
16 residue vectors into the bitstream packet, and then reconstructs the
29 The exact interleaving and partitioning vary by residue encoding number,
30 however the high-level process used to classify and encode the residue
33 A set of coded residue vectors are all of the same length. High level
41 of \emph{ch} residue vectors, the total number of partitioned chunks
50 illustration below. Just as the residue vectors are coded in grouped
58 \item The values in a residue vector may be encoded monolithically in a
59 single pass through the residue vector, but more often efficient
61 sum of several passes through the residue vector using more than one
62 VQ codebook. Thus, each residue value potentially accumulates values
71 \includegraphics[width=\textwidth]{residue-pack}
72 \captionof{figure}{illustration of residue vector format}
77 \subsection{residue 0}
79 Residue 0 and 1 differ only in the way the values within a residue
90 by residue 0 using codebook sizes of 8, 4, 2 and 1:
94 original residue vector: [ 0 1 2 3 4 5 6 7 ]
107 residue coding setup is restricted to a power of two.
111 \subsection{residue 1}
114 vector scalars in order. As with residue 0, however, partition length
119 by residue 0 using codebook sizes of 8, 4, 2 and 1:
123 original residue vector: [ 0 1 2 3 4 5 6 7 ]
137 \subsection{residue 2}
139 Residue type two can be thought of as a variant of residue type 1.
140 Rather than encoding multiple passed-in vectors as in residue type 1,
145 vector to begin with, residue type 1 and type 2 are equivalent.
149 \captionof{figure}{illustration of residue type 2}
157 Header decode for all three residue types is identical.
172 the unpacked vectors are zeroed. Note that for residue type 2, these
248 In addition to configuration information, the residue decode process
257 portion of a residue vector may be the entire possible residue vector
258 or some other strict subset of the actual residue vector size with
262 wholly beyond the maximum vector size. Before beginning residue
271 2) if residue encoding is format 2
289 2) if ([n_to_read] is zero), stop; there is no residue to decode.
353 'Residue Format: residue 0' section. The following pseudocode
358 \item \varname{[v]} is the residue vector
387 'Residue Format: residue 1' section. The following pseudocode
393 \item \varname{[v]} is the residue vector
421 Format 2 handles 'do not decode' vectors differently than residue 0 or