[xiph-commits] r7717 - experimental/derf/theora-exp/lib

tterribe at motherfish-iii.xiph.org tterribe at motherfish-iii.xiph.org
Wed Sep 8 17:30:59 PDT 2004


Author: tterribe
Date: 2004-09-08 17:30:59 -0700 (Wed, 08 Sep 2004)
New Revision: 7717

Modified:
   experimental/derf/theora-exp/lib/state.c
Log:
Minor documentation fixes.


Modified: experimental/derf/theora-exp/lib/state.c
===================================================================
--- experimental/derf/theora-exp/lib/state.c	2004-09-07 22:34:19 UTC (rev 7716)
+++ experimental/derf/theora-exp/lib/state.c	2004-09-09 00:30:59 UTC (rev 7717)
@@ -24,7 +24,7 @@
 
 /*Fills in the mapping from block positions to fragment numbers for a single
    color plane.
-  This function also fills in the "valid" flag of each macro block in a super
+  This function also fills in the "valid" flag of each quadrant in a super
    block.
   _sbs:    The array of super blocks for the color plane.
   _frag0:  The index of the first fragment in the plane.
@@ -90,7 +90,7 @@
 }
 
 /*Fills in the Y plane fragment map for a macro block given the fragment
-   indices of its upper-left hand corder.
+   coordinates of its upper-left hand corner.
   _mb:     The macro block to fill.
   _fplane: The description of the Y plane.
   _x:      The X location of the upper-left hand fragment in the Y plane.
@@ -1011,6 +1011,11 @@
   y_stride=_state->ref_frame_bufs[framei][0].ystride;
   u_stride=_state->ref_frame_bufs[framei][1].ystride;
   v_stride=_state->ref_frame_bufs[framei][2].ystride;
+  /*Chroma up-sampling is just done with a box filter.
+    This is very likely what will actually be used in practice on a real
+     display, and also removes one more layer to search in for the source of
+     artifacts.
+    As an added bonus, it's dead simple.*/
   for(imgi=height;imgi-->0;){
     int dc;
     y=y_row;



More information about the commits mailing list