#include <stdio.h>
#include <stdlib.h>
#include <sys/types.h>
#include <unistd.h>
#include <fcntl.h>
#include <math.h>
#include <string.h>
#include <sys/stat.h>
#include <sys/mman.h>
Go to the source code of this file.
◆ BIG_LONG
◆ BIG_SHORT
◆ ENDIAN_NOP
◆ IMB_DPI_DEFAULT
◆ LITTLE_LONG
◆ LITTLE_SHORT
◆ O_BINARY
◆ SWAP_LONG
#define SWAP_LONG |
( |
|
x | ) |
(((x) << 24) | (((x)&0xff00) << 8) | (((x) >> 8) & 0xff00) | (((x) >> 24) & 0xff)) |
◆ SWAP_SHORT
#define SWAP_SHORT |
( |
|
x | ) |
(((x & 0xff) << 8) | ((x >> 8) & 0xff)) |