#include <assert.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "pam.h"
#include "pnm.h"
#include "image_u8x4.h"
Go to the source code of this file.
Macros | |
#define | DEFAULT_ALIGNMENT_U8X4 64 |
Functions | |
image_u8x4_t * | image_u8x4_copy (const image_u8x4_t *in) |
image_u8x4_t * | image_u8x4_create (unsigned int width, unsigned int height) |
image_u8x4_t * | image_u8x4_create_alignment (unsigned int width, unsigned int height, unsigned int alignment) |
image_u8x4_t * | image_u8x4_create_from_pam (const char *inpath) |
image_u8x4_t * | image_u8x4_create_from_pnm (const char *path) |
void | image_u8x4_destroy (image_u8x4_t *im) |
void | image_u8x4_write_pam (const image_u8x4_t *im, const char *path) |
int | image_u8x4_write_pnm (const image_u8x4_t *imp, const char *path) |
#define DEFAULT_ALIGNMENT_U8X4 64 |
Definition at line 39 of file image_u8x4.c.
image_u8x4_t* image_u8x4_copy | ( | const image_u8x4_t * | in | ) |
Definition at line 63 of file image_u8x4.c.
image_u8x4_t* image_u8x4_create | ( | unsigned int | width, |
unsigned int | height | ||
) |
Definition at line 41 of file image_u8x4.c.
image_u8x4_t* image_u8x4_create_alignment | ( | unsigned int | width, |
unsigned int | height, | ||
unsigned int | alignment | ||
) |
Definition at line 46 of file image_u8x4.c.
image_u8x4_t* image_u8x4_create_from_pam | ( | const char * | inpath | ) |
Definition at line 86 of file image_u8x4.c.
image_u8x4_t* image_u8x4_create_from_pnm | ( | const char * | path | ) |
Definition at line 123 of file image_u8x4.c.
void image_u8x4_destroy | ( | image_u8x4_t * | im | ) |
Definition at line 76 of file image_u8x4.c.
void image_u8x4_write_pam | ( | const image_u8x4_t * | im, |
const char * | path | ||
) |
Definition at line 217 of file image_u8x4.c.
int image_u8x4_write_pnm | ( | const image_u8x4_t * | imp, |
const char * | path | ||
) |
Definition at line 181 of file image_u8x4.c.