Go to the source code of this file.
Classes | |
struct | bmp_info_s |
Defines | |
#define | INTBITS (8*sizeof(int)) |
#define | TRY(x) if (x) goto try_error |
#define | TRY_EOF(x) if (x) goto eof |
Typedefs | |
typedef struct bmp_info_s | bmp_info_t |
Functions | |
int | bm_print (FILE *f, potrace_bitmap_t *bm) |
int | bm_read (FILE *f, double threshold, potrace_bitmap_t **bmp) |
static int | bm_readbody_bmp (FILE *f, double threshold, potrace_bitmap_t **bmp) |
static int | bm_readbody_pnm (FILE *f, double threshold, potrace_bitmap_t **bmp, int magic) |
void | bm_writepbm (FILE *f, potrace_bitmap_t *bm) |
static int | bmp_forward (FILE *f, int pos) |
static int | bmp_pad (FILE *f) |
static void | bmp_pad_reset (void) |
static int | bmp_readint (FILE *f, int n, unsigned int *p) |
static int | fgetc_ws (FILE *f) |
static int | readbit (FILE *f) |
static int | readnum (FILE *f) |
Variables | |
char * | bm_read_error = NULL |
static int | bmp_count = 0 |
static int | bmp_pos = 0 |
#define INTBITS (8*sizeof(int)) |
Definition at line 13 of file bitmap_io.c.
Definition at line 416 of file bitmap_io.c.
Definition at line 417 of file bitmap_io.c.
typedef struct bmp_info_s bmp_info_t |
Definition at line 352 of file bitmap_io.c.
int bm_print | ( | FILE * | f, |
potrace_bitmap_t * | bm | ||
) |
Definition at line 760 of file bitmap_io.c.
int bm_read | ( | FILE * | f, |
double | threshold, | ||
potrace_bitmap_t ** | bmp | ||
) |
Definition at line 112 of file bitmap_io.c.
static int bm_readbody_bmp | ( | FILE * | f, |
double | threshold, | ||
potrace_bitmap_t ** | bmp | ||
) | [static] |
Definition at line 426 of file bitmap_io.c.
static int bm_readbody_pnm | ( | FILE * | f, |
double | threshold, | ||
potrace_bitmap_t ** | bmp, | ||
int | magic | ||
) | [static] |
Definition at line 138 of file bitmap_io.c.
void bm_writepbm | ( | FILE * | f, |
potrace_bitmap_t * | bm | ||
) |
Definition at line 738 of file bitmap_io.c.
static int bmp_forward | ( | FILE * | f, |
int | pos | ||
) | [static] |
Definition at line 402 of file bitmap_io.c.
static int bmp_pad | ( | FILE * | f | ) | [static] |
Definition at line 386 of file bitmap_io.c.
static void bmp_pad_reset | ( | void | ) | [static] |
Definition at line 380 of file bitmap_io.c.
static int bmp_readint | ( | FILE * | f, |
int | n, | ||
unsigned int * | p | ||
) | [static] |
Definition at line 361 of file bitmap_io.c.
static int fgetc_ws | ( | FILE * | f | ) | [static] |
Definition at line 23 of file bitmap_io.c.
static int readbit | ( | FILE * | f | ) | [static] |
Definition at line 83 of file bitmap_io.c.
static int readnum | ( | FILE * | f | ) | [static] |
Definition at line 48 of file bitmap_io.c.
char* bm_read_error = NULL |
Definition at line 110 of file bitmap_io.c.
int bmp_count = 0 [static] |
Definition at line 356 of file bitmap_io.c.
int bmp_pos = 0 [static] |
Definition at line 357 of file bitmap_io.c.