Blender V2.61 - r43446
|
#include <stdlib.h>
#include <sys/types.h>
#include <stdio.h>
#include <unistd.h>
#include <fcntl.h>
#include <sys/stat.h>
#include <string.h>
#include <math.h>
#include <sys/mman.h>
Go to the source code of this file.
Defines | |
#define | O_BINARY 0 |
#define | SWAP_SHORT(x) (((x & 0xff) << 8) | ((x >> 8) & 0xff)) |
#define | SWAP_LONG(x) (((x) << 24) | (((x) & 0xff00) << 8) | (((x) >> 8) & 0xff00) | (((x) >> 24) & 0xff)) |
#define | ENDIAN_NOP(x) (x) |
#define | LITTLE_SHORT ENDIAN_NOP |
#define | LITTLE_LONG ENDIAN_NOP |
#define | BIG_SHORT SWAP_SHORT |
#define | BIG_LONG SWAP_LONG |
#define | TRUE 1 |
#define | FALSE 0 |
Typedefs | |
typedef unsigned char | uchar |
Definition in file imbuf.h.
#define BIG_LONG SWAP_LONG |
Definition at line 73 of file imbuf.h.
Referenced by handle_app1(), IMB_ispic_name(), imb_loadtarga(), test_endian_zbuf(), and write_jpeg().
#define LITTLE_SHORT ENDIAN_NOP |
Definition at line 70 of file imbuf.h.
Referenced by checkbmp(), and imb_bmp_decode().
#define SWAP_LONG | ( | x | ) | (((x) << 24) | (((x) & 0xff00) << 8) | (((x) >> 8) & 0xff00) | (((x) >> 24) & 0xff)) |
#define SWAP_SHORT | ( | x | ) | (((x & 0xff) << 8) | ((x >> 8) & 0xff)) |