equal
deleted
inserted
replaced
220 clr = ap[idx]; |
220 clr = ap[idx]; |
221 v = __intVal(clr); |
221 v = __intVal(clr); |
222 #ifdef MSBFIRST |
222 #ifdef MSBFIRST |
223 ((short *)dstPtr)[0] = v; |
223 ((short *)dstPtr)[0] = v; |
224 #else |
224 #else |
225 # ifdef SWAP_BYTES |
225 # ifdef xxSWAP_BYTES |
226 SWAP_BYTES(v); |
226 SWAP_BYTES(v); |
227 ((short *)dstPtr)[0] = v; |
227 ((short *)dstPtr)[0] = v; |
228 # else |
228 # else |
229 dstPtr[0] = (v>>8) & 0xFF; |
229 dstPtr[0] = (v>>8) & 0xFF; |
230 dstPtr[1] = (v) & 0xFF; |
230 dstPtr[1] = (v) & 0xFF; |
946 ! ! |
946 ! ! |
947 |
947 |
948 !Depth2Image class methodsFor:'documentation'! |
948 !Depth2Image class methodsFor:'documentation'! |
949 |
949 |
950 version |
950 version |
951 ^ '$Header: /cvs/stx/stx/libview/Depth2Image.st,v 1.33 1998-08-01 13:53:25 cg Exp $' |
951 ^ '$Header: /cvs/stx/stx/libview/Depth2Image.st,v 1.34 1998-08-05 08:52:32 cg Exp $' |
952 ! ! |
952 ! ! |