[xiph-commits] r14335 - trunk/theora/doc/spec

tterribe at svn.xiph.org tterribe at svn.xiph.org
Sun Dec 30 09:42:25 PST 2007


Author: tterribe
Date: 2007-12-30 09:42:25 -0800 (Sun, 30 Dec 2007)
New Revision: 14335

Modified:
   trunk/theora/doc/spec/spec.tex
Log:
When averaging two motion vectors for 4MV mode in 4:2:2, only divide by two,
 not four.
Also, clarify wording as to which MVs are averaged for which block.


Modified: trunk/theora/doc/spec/spec.tex
===================================================================
--- trunk/theora/doc/spec/spec.tex	2007-12-30 17:40:15 UTC (rev 14334)
+++ trunk/theora/doc/spec/spec.tex	2007-12-30 17:42:25 UTC (rev 14335)
@@ -4195,27 +4195,27 @@
 If \bitvar{PF} is 2 (4:2:2):
 \begin{enumerate}
 \item
-Let \locvar{E} and \locvar{F} be the indices in coded order of the top and
- bottom blocks in the macro block from the $C_b$ plane, respectively, and
- \locvar{G} and \locvar{H} be the indices in coded order of the top and bottom
+Let \locvar{E} and \locvar{F} be the indices in coded order of the bottom and
+ top blocks in the macro block from the $C_b$ plane, respectively, and
+ \locvar{G} and \locvar{H} be the indices in coded order of the bottom and top
  blocks in the $C_r$ plane, respectively. %TODO: as shown in Figure~REF.
 \item
 Assign $\bitvar{MVECTS}[\locvar{E}]$ and $\bitvar{MVECTS}[\locvar{G}]$ the
  value
 \begin{multline*}
 (\round\left(\frac{
- \bitvar{MVECTS}[\locvar{A}]_x+\bitvar{MVECTS}[\locvar{B}]_x}{4}\right), \\
+ \bitvar{MVECTS}[\locvar{A}]_x+\bitvar{MVECTS}[\locvar{B}]_x}{2}\right), \\
  \round\left(\frac{
- \bitvar{MVECTS}[\locvar{A}]_y+\bitvar{MVECTS}[\locvar{B}]_y}{4}\right))
+ \bitvar{MVECTS}[\locvar{A}]_y+\bitvar{MVECTS}[\locvar{B}]_y}{2}\right))
 \end{multline*}
 \item
 Assign $\bitvar{MVECTS}[\locvar{F}]$ and $\bitvar{MVECTS}[\locvar{H}]$ the
  value
 \begin{multline*}
 (\round\left(\frac{
- \bitvar{MVECTS}[\locvar{C}]_x+\bitvar{MVECTS}[\locvar{D}]_x}{4}\right), \\
+ \bitvar{MVECTS}[\locvar{C}]_x+\bitvar{MVECTS}[\locvar{D}]_x}{2}\right), \\
  \round\left(\frac{
- \bitvar{MVECTS}[\locvar{C}]_y+\bitvar{MVECTS}[\locvar{D}]_y}{4}\right))
+ \bitvar{MVECTS}[\locvar{C}]_y+\bitvar{MVECTS}[\locvar{D}]_y}{2}\right))
 \end{multline*}
 \end{enumerate}
 \item



More information about the commits mailing list