[xiph-commits] r12761 - trunk/theora/doc/spec
giles at svn.xiph.org
giles at svn.xiph.org
Wed Mar 14 12:11:58 PDT 2007
Author: giles
Date: 2007-03-14 12:11:57 -0700 (Wed, 14 Mar 2007)
New Revision: 12761
Modified:
trunk/theora/doc/spec/spec.tex
Log:
Correct the range location formulas, which had the sum on the wrong
side. Bug #1144.
Modified: trunk/theora/doc/spec/spec.tex
===================================================================
--- trunk/theora/doc/spec/spec.tex 2007-03-14 19:01:44 UTC (rev 12760)
+++ trunk/theora/doc/spec/spec.tex 2007-03-14 19:11:57 UTC (rev 12761)
@@ -2840,12 +2840,12 @@
Assign \locvar{\qri} the index of a quant range such that
\begin{displaymath}
\sum_{\qrj=0}^{\locvar{\qri}-1}
- \bitvar{\qi} \ge \bitvar{QRSIZES}[\bitvar{\qti}][\bitvar{\pli}][\qrj],
+ \bitvar{QRSIZES}[\bitvar{\qti}][\bitvar{\pli}][\qrj] \ge \bitvar{\qi},
\end{displaymath}
and
\begin{displaymath}
\sum_{\qrj=0}^{\locvar{\qri}}
- \bitvar{\qi} \le \bitvar{QRSIZES}[\bitvar{\qti}][\bitvar{\pli}][\qrj],
+ \bitvar{QRSIZES}[\bitvar{\qti}][\bitvar{\pli}][\qrj] \le \bitvar{\qi},
\end{displaymath}
where summation from $0$ to $-1$ is defined to be zero.
If there is more than one such value of $\locvar{\qri}$, i.e., if \bitvar{\qi}
More information about the commits
mailing list