50 |
* exception also makes it possible to release a modified version which |
* exception also makes it possible to release a modified version which |
51 |
* carries forward this exception. |
* carries forward this exception. |
52 |
* |
* |
53 |
* $Id: interpolate8x8.h,v 1.7 2002-11-17 00:20:30 edgomez Exp $ |
* $Id: interpolate8x8.h,v 1.8 2002-11-26 23:44:10 edgomez Exp $ |
54 |
* |
* |
55 |
****************************************************************************/ |
****************************************************************************/ |
56 |
|
|
110 |
{ |
{ |
111 |
int32_t ddx, ddy; |
int32_t ddx, ddy; |
112 |
|
|
113 |
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) */ |
114 |
{ |
{ |
115 |
case 0: |
case 0: |
116 |
ddx = dx / 2; |
ddx = dx / 2; |