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

Diff of /xvidcore/src/image/interpolate8x8.h

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

revision 1.10, Sat Feb 15 15:22:18 2003 UTC revision 1.10.2.1, Mon Jun 9 01:20:59 2003 UTC
# Line 124  Line 124 
124  {  {
125          int32_t ddx, ddy;          int32_t ddx, ddy;
126    
127          switch (((dx & 1) << 1) + (dy & 1))     // ((dx%2)?2:0)+((dy%2)?1:0)          switch (((dx & 1) << 1) + (dy & 1))     /* ((dx%2)?2:0)+((dy%2)?1:0) */
128          {          {
129          case 0:          case 0:
130                  ddx = dx / 2;                  ddx = dx / 2;
# Line 206  Line 206 
206  {  {
207          int32_t ddx, ddy;          int32_t ddx, ddy;
208    
209          switch (((dx & 1) << 1) + (dy & 1))     // ((dx%2)?2:0)+((dy%2)?1:0)          switch (((dx & 1) << 1) + (dy & 1))     /* ((dx%2)?2:0)+((dy%2)?1:0) */
210          {          {
211          case 0:          case 0:
212                  return (uint8_t *)refn + (int)((y + dy/2) * stride + x + dx/2);                  return (uint8_t *)refn + (int)((y + dy/2) * stride + x + dx/2);

Legend:
Removed from v.1.10  
changed lines
  Added in v.1.10.2.1

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