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; |
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; |
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); |
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: |
541 |
break; |
break; |
542 |
} |
} |
543 |
} |
} |
544 |
|
|
545 |
#endif |
#endif |