 |
Blender
V2.93
|
Go to the documentation of this file.
28 #include <sys/types.h>
40 # include <sys/mman.h>
44 #define SWAP_SHORT(x) (((x & 0xff) << 8) | ((x >> 8) & 0xff))
45 #define SWAP_LONG(x) \
46 (((x) << 24) | (((x)&0xff00) << 8) | (((x) >> 8) & 0xff00) | (((x) >> 24) & 0xff))
48 #define ENDIAN_NOP(x) (x)
51 # define LITTLE_SHORT SWAP_SHORT
52 # define LITTLE_LONG SWAP_LONG
53 # define BIG_SHORT ENDIAN_NOP
54 # define BIG_LONG ENDIAN_NOP
56 # define LITTLE_SHORT ENDIAN_NOP
57 # define LITTLE_LONG ENDIAN_NOP
58 # define BIG_SHORT SWAP_SHORT
59 # define BIG_LONG SWAP_LONG
62 #define IMB_DPI_DEFAULT 72.0f