Lines Matching defs:decode

4 \section{Residue setup and decode} \label{vorbis:spec:residue}
17 vectors during decode. Vorbis makes use of three different encoding
48 decode that partition. The classification numbers of each partition
63 from multiple decode passes. The classification value associated with
144 as in type 1 with decode interleave reversed. If operating on a single
153 \subsection{Residue decode}
155 \subsubsection{header decode}
157 Header decode for all three residue types is identical.
231 An end-of-packet condition at any point in header decode renders the
241 \subsubsection{packet decode}
243 Format 0 and 1 packet decode is identical except for specific
244 partition interleave. Format 2 packet decode can be built out of the
245 format 1 decode process. Thus we describe first the decode
248 In addition to configuration information, the residue decode process
252 decode', decode skips vector 1 during the decode loop. However, even
253 'do not decode' vectors are allocated and zeroed.
263 decode, limit \varname{[residue_begin]} and
278 the decode process:
286 Packet decode proceeds as follows, matching the description offered earlier in the document.
289 2) if ([n_to_read] is zero), stop; there is no residue to decode.
300 8) if vector [j] is not marked 'do not decode' {
322 15) if vector [j] is not marked 'do not decode' {
328 19) decode partition into output vector number [j], starting at scalar
344 An end-of-packet condition during packet decode is to be considered a
345 nominal occurrence. Decode returns the result of vector decode up to
418 Format 2 is reducible to format 1. It may be implemented as an additional step prior to and an additional post-decode step after a normal format 1 decode.
421 Format 2 handles 'do not decode' vectors differently than residue 0 or
422 1; if all vectors are marked 'do not decode', no decode occurrs.
424 decoded. We then request normal format 1 to decode a single vector
426 channel. After decode, deinterleave the vector into independent vectors, one for each output channel. That is:
429 \item If all vectors 0 through \emph{ch}-1 are marked 'do not decode', allocate and clear a single vector \varname{[v]}of length \emph{ch*n} and skip step 2 below; proceed directly to the post-decode step.
430 \item Rather than performing format 1 decode to produce \emph{ch} vectors of length \emph{n} each, call format 1 decode to produce a single vector \varname{[v]} of length \emph{ch*n}.
431 \item Post decode: Deinterleave the single vector \varname{[v]} returned by format 1 decode as described above into \emph{ch} independent vectors, one for each outputchannel, according to: