 |
Blender
V3.3
|
Go to the documentation of this file.
12 #include <sys/types.h>
24 # include <sys/mman.h>
28 #define SWAP_SHORT(x) (((x & 0xff) << 8) | ((x >> 8) & 0xff))
29 #define SWAP_LONG(x) \
30 (((x) << 24) | (((x)&0xff00) << 8) | (((x) >> 8) & 0xff00) | (((x) >> 24) & 0xff))
32 #define ENDIAN_NOP(x) (x)
35 # define LITTLE_SHORT SWAP_SHORT
36 # define LITTLE_LONG SWAP_LONG
37 # define BIG_SHORT ENDIAN_NOP
38 # define BIG_LONG ENDIAN_NOP
40 # define LITTLE_SHORT ENDIAN_NOP
41 # define LITTLE_LONG ENDIAN_NOP
42 # define BIG_SHORT SWAP_SHORT
43 # define BIG_LONG SWAP_LONG
46 #define IMB_DPI_DEFAULT 72.0f