[svn] / branches / dev-api-4 / xvidcore / src / image / image.c Repository:
ViewVC logotype

Diff of /branches/dev-api-4/xvidcore/src/image/image.c

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

revision 890, Sat Feb 22 08:49:45 2003 UTC revision 926, Sun Mar 16 12:05:09 2003 UTC
# Line 131  Line 131 
131  image_swap(IMAGE * image1,  image_swap(IMAGE * image1,
132                     IMAGE * image2)                     IMAGE * image2)
133  {  {
134          uint8_t *tmp;      SWAP(uint8_t*, image1->y, image2->y);
135        SWAP(uint8_t*, image1->u, image2->u);
136          tmp = image1->y;      SWAP(uint8_t*, image1->v, image2->v);
         image1->y = image2->y;  
         image2->y = tmp;  
   
         tmp = image1->u;  
         image1->u = image2->u;  
         image2->u = tmp;  
   
         tmp = image1->v;  
         image1->v = image2->v;  
         image2->v = tmp;  
137  }  }
138    
139    

Legend:
Removed from v.890  
changed lines
  Added in v.926

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