libnsgif
|
#include <assert.h>
#include <errno.h>
#include <stdbool.h>
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <sys/stat.h>
#include "../include/libnsgif.h"
Macros | |
#define | BYTES_PER_PIXEL 4 |
#define | MAX_IMAGE_BYTES (48 * 1024 * 1024) |
Functions | |
static void * | bitmap_create (int width, int height) |
static void | bitmap_set_opaque (void *bitmap, bool opaque) |
static bool | bitmap_test_opaque (void *bitmap) |
static unsigned char * | bitmap_get_buffer (void *bitmap) |
static void | bitmap_destroy (void *bitmap) |
static void | bitmap_modified (void *bitmap) |
static unsigned char * | load_file (const char *path, size_t *data_size) |
static void | warning (const char *context, gif_result code) |
static void | write_ppm (FILE *fh, const char *name, gif_animation *gif) |
int | main (int argc, char *argv[]) |
#define BYTES_PER_PIXEL 4 |
#define MAX_IMAGE_BYTES (48 * 1024 * 1024) |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
int main | ( | int | argc, |
char * | argv[] | ||
) |
|
static |
|
static |