[FFmpeg-soc] [soc]: r1262 - dirac/libavcodec/dirac.c

marco subversion at mplayerhq.hu
Thu Aug 30 21:46:28 CEST 2007


Author: marco
Date: Thu Aug 30 21:46:28 2007
New Revision: 1262

Log:
add comments for variables that might otherwise not be clear

Modified:
   dirac/libavcodec/dirac.c

Modified: dirac/libavcodec/dirac.c
==============================================================================
--- dirac/libavcodec/dirac.c	(original)
+++ dirac/libavcodec/dirac.c	Thu Aug 30 21:46:28 2007
@@ -2063,6 +2063,7 @@ static void motion_comp_block2refs(Dirac
     int refxstart1, refystart1;
     int refxstart2, refystart2;
     uint16_t *spatialwt;
+    /* Subhalfpixel in qpel/eighthpel interpolated frame.  */
     int rx1, ry1, rx2, ry2;
     const uint8_t *w1;
     const uint8_t *w2;
@@ -2146,6 +2147,7 @@ START_TIMER
                 val2 = get_halfpel(ref2, s->refwidth, s->refheight,
                                    (x << 1) + vect2[0], (y << 1) + vect2[1]);
             } else {
+                /* Position in halfpel interpolated frame.  */
                 int hx1, hy1, hx2, hy2;
 
                 if (s->frame_decoding.mv_precision == 2) {
@@ -2251,6 +2253,7 @@ static void motion_comp_block1ref(DiracC
     int vect[2];
     int refxstart, refystart;
     uint16_t *spatialwt;
+    /* Subhalfpixel in qpel/eighthpel interpolated frame.  */
     int rx, ry;
     const uint8_t *w;
 
@@ -2307,6 +2310,7 @@ START_TIMER
                 val = get_halfpel(refframe, s->refwidth, s->refheight,
                                   (x << 1) + vect[0], (y << 1) + vect[1]);
             } else {
+                /* Position in halfpel interpolated frame.  */
                 int hx, hy;
 
                 if (s->frame_decoding.mv_precision == 2) {



More information about the FFmpeg-soc mailing list