[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.5.2.8, Sun Dec 8 05:33:42 2002 UTC revision 1.10.2.1, Mon Jun 9 01:20:59 2003 UTC
# Line 83  Line 83 
83  INTERPOLATE8X8 interpolate8x8_halfpel_v_3dn;  INTERPOLATE8X8 interpolate8x8_halfpel_v_3dn;
84  INTERPOLATE8X8 interpolate8x8_halfpel_hv_3dn;  INTERPOLATE8X8 interpolate8x8_halfpel_hv_3dn;
85    
86    INTERPOLATE8X8 interpolate8x8_halfpel_h_3dne;
87    INTERPOLATE8X8 interpolate8x8_halfpel_v_3dne;
88    INTERPOLATE8X8 interpolate8x8_halfpel_hv_3dne;
89    
90  INTERPOLATE8X8 interpolate8x8_halfpel_h_ia64;  INTERPOLATE8X8 interpolate8x8_halfpel_h_ia64;
91  INTERPOLATE8X8 interpolate8x8_halfpel_v_ia64;  INTERPOLATE8X8 interpolate8x8_halfpel_v_ia64;
92  INTERPOLATE8X8 interpolate8x8_halfpel_hv_ia64;  INTERPOLATE8X8 interpolate8x8_halfpel_hv_ia64;
# Line 120  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 202  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);
# Line 399  Line 403 
403          switch((y_frac << 2) | (x_frac)) {          switch((y_frac << 2) | (x_frac)) {
404    
405          case 0:          case 0:
406                  transfer8x8_copy(dst, src, stride);                  transfer16x16_copy(dst, src, stride);
                 transfer8x8_copy(dst+8, src+8, stride);  
                 transfer8x8_copy(dst+8*stride, src+8*stride, stride);  
                 transfer8x8_copy(dst+8*stride+8, src+8*stride+8, stride);  
407                  break;                  break;
408    
409          case 1:          case 1:
# Line 540  Line 541 
541                  break;                  break;
542          }          }
543  }  }
544    
545  #endif  #endif

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

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