-
I suggest faster version of swaping functions.
inline void
SwapShort(WORD *sp)
{
/* OLD:
BYTE *cp = (BYTE *)sp, t = cp[0];
cp[0] = cp[1];
cp[1] = t; */
*sp = ( ((*sp & 0x00ff) << 8) | ((*sp & 0xff00) >> 8) );
}
inline void
SwapLong(DWORD *lp) {
/* OLD
BYTE *cp = (BYTE *)lp, t = cp[0]; cp[0] = cp[3]; cp[3] = t;
t = cp[1]; cp[1] = cp[2]; cp[2] = t; */.
2009-02-15 12:16:28 UTC in FreeImage
-
milanfranc committed patchset 86 of module hyperion to the Hyperion CVS repository, changing 16 files.
2007-09-11 18:26:24 UTC in Hyperion
-
milanfranc committed patchset 85 of module hyperion to the Hyperion CVS repository, changing 10 files.
2007-01-28 19:14:01 UTC in Hyperion
-
milanfranc committed patchset 84 of module hyperion to the Hyperion CVS repository, changing 6 files.
2007-01-13 16:37:07 UTC in Hyperion
-
milanfranc committed patchset 83 of module hyperion to the Hyperion CVS repository, changing 13 files.
2006-10-10 17:37:50 UTC in Hyperion
-
milanfranc committed patchset 82 of module hyperion to the Hyperion CVS repository, changing 6 files.
2006-09-30 07:56:44 UTC in Hyperion
-
milanfranc committed patchset 81 of module hyperion to the Hyperion CVS repository, changing 22 files.
2006-09-29 13:07:58 UTC in Hyperion
-
milanfranc committed patchset 80 of module hyperion to the Hyperion CVS repository, changing 1 files.
2006-08-10 19:10:05 UTC in Hyperion
-
milanfranc committed patchset 79 of module hyperion to the Hyperion CVS repository, changing 1 files.
2006-08-06 14:35:07 UTC in Hyperion
-
milanfranc committed patchset 78 of module hyperion to the Hyperion CVS repository, changing 26 files.
2006-08-05 17:49:56 UTC in Hyperion