[xiph-commits] r9219 - trunk/theora/doc/spec websites/theora.org/doc

tterribe at motherfish-iii.xiph.org tterribe at motherfish-iii.xiph.org
Fri May 6 06:37:35 PDT 2005


Author: tterribe
Date: 2005-05-06 06:37:25 -0700 (Fri, 06 May 2005)
New Revision: 9219

Modified:
   trunk/theora/doc/spec/spec.tex
   websites/theora.org/doc/Theora_I_spec.pdf
Log:
Fix DC-unprediction so that it resets the "LASTDC" predictors between each
 color plane.


Modified: trunk/theora/doc/spec/spec.tex
===================================================================
--- trunk/theora/doc/spec/spec.tex	2005-05-06 05:54:34 UTC (rev 9218)
+++ trunk/theora/doc/spec/spec.tex	2005-05-06 13:37:25 UTC (rev 9219)
@@ -5548,6 +5548,7 @@
  containing block \locvar{\bi}. \\
 \locvar{\rfi}     & Integer &  2 & No  & The index of the reference frame
  indicated by the coding mode for macro block \locvar{\mbi}. \\
+\locvar{\pli}     & Integer &  2 & No  & A color plane index. \\
 \bottomrule\end{tabularx}
 \medskip
 
@@ -5563,13 +5564,17 @@
 
 \begin{enumerate}
 \item
+For each consecutive value of \locvar{\pli} from $0$ to $2$:
+\begin{enumerate}
+\item
 Assign $\locvar{LASTDC}[0]$ the value zero.
 \item
 Assign $\locvar{LASTDC}[1]$ the value zero.
 \item
 Assign $\locvar{LASTDC}[2]$ the value zero.
 \item
-For each block in {\em raster} order, with coded-order index \locvar{\bi}:
+For each block of color plane \locvar{\pli} in {\em raster} order, with
+ coded-order index \locvar{\bi}:
 \begin{enumerate}
 \item
 If $\bitvar{BCODED}[\locvar{\bi}]$ is non-zero:
@@ -5596,6 +5601,7 @@
 \end{enumerate}
 \end{enumerate}
 \end{enumerate}
+\end{enumerate}
 
 \section{Reconstruction}
 
@@ -7550,7 +7556,7 @@
  the DCT coefficients into \locvar{NCOEFFS} and \locvar{NCOEFFS} using the
  procedure given in Section~\ref{sub:dct-coeffs}.
 \item
-Using \locvar{BCODED}, \locvar{MBMODES}, undo the DC prediction on the DC
+Using \locvar{BCODED} and \locvar{MBMODES}, undo the DC prediction on the DC
  coefficients stored in \locvar{COEFFS} using the procedure given in
  Section~\ref{sub:dc-pred-undo}.
 \end{enumerate}

Modified: websites/theora.org/doc/Theora_I_spec.pdf
===================================================================
(Binary files differ)



More information about the commits mailing list