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 |
|
226 SWAP_BYTES(v); |
|
227 ((short *)dstPtr)[0] = v; |
|
228 # else |
225 dstPtr[0] = (v>>8) & 0xFF; |
229 dstPtr[0] = (v>>8) & 0xFF; |
226 dstPtr[1] = (v) & 0xFF; |
230 dstPtr[1] = (v) & 0xFF; |
|
231 # endif |
227 #endif |
232 #endif |
228 dstPtr += 2; |
233 dstPtr += 2; |
229 |
234 |
230 if (++r == w) { |
235 if (++r == w) { |
231 dstPtr += p; |
236 dstPtr += p; |
941 ! ! |
946 ! ! |
942 |
947 |
943 !Depth2Image class methodsFor:'documentation'! |
948 !Depth2Image class methodsFor:'documentation'! |
944 |
949 |
945 version |
950 version |
946 ^ '$Header: /cvs/stx/stx/libview/Depth2Image.st,v 1.32 1998-07-29 11:18:53 cg Exp $' |
951 ^ '$Header: /cvs/stx/stx/libview/Depth2Image.st,v 1.33 1998-08-01 13:53:25 cg Exp $' |
947 ! ! |
952 ! ! |