[cvs] / xvidcore / src / image / image.c Repository:
ViewVC logotype

Diff of /xvidcore/src/image/image.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.46.2.2, Tue Mar 8 19:18:34 2011 UTC revision 1.47, Thu Dec 30 11:46:08 2010 UTC
# Line 127  Line 127 
127          memcpy(image1->v, image2->v, edged_width * height / 4);          memcpy(image1->v, image2->v, edged_width * height / 4);
128  }  }
129    
130  /* setedges bug was in this BS versions */  /* setedges bug was fixed in this BS version */
131  #define SETEDGES_BUG_BEFORE             18  #define SETEDGES_BUG_BEFORE             18
 #define SETEDGES_BUG_AFTER              57  
 #define SETEDGES_BUG_REFIXED            63  
132    
133  void  void
134  image_setedges(IMAGE * image,  image_setedges(IMAGE * image,
# Line 151  Line 149 
149    
150          /* According to the Standard Clause 7.6.4, padding is done starting at 16          /* According to the Standard Clause 7.6.4, padding is done starting at 16
151           * pixel width and height multiples. This was not respected in old xvids */           * pixel width and height multiples. This was not respected in old xvids */
152          if (bs_version >= SETEDGES_BUG_BEFORE &&          if (bs_version >= SETEDGES_BUG_BEFORE) {
                 bs_version <  SETEDGES_BUG_AFTER ||  
                 bs_version >= SETEDGES_BUG_REFIXED) {  
153                  width  = (width+15)&~15;                  width  = (width+15)&~15;
154                  height = (height+15)&~15;                  height = (height+15)&~15;
155          }          }

Legend:
Removed from v.1.46.2.2  
changed lines
  Added in v.1.47

No admin address has been configured
ViewVC Help
Powered by ViewVC 1.0.4