#include "nrrd.h"
#include "privateNrrd.h"
Defines | |
#define | MAGIC_P6 "P6" |
#define | MAGIC_P5 "P5" |
#define | MAGIC_P3 "P3" |
#define | MAGIC_P2 "P2" |
Functions | |
int | _nrrdFormatPNM_available (void) |
int | _nrrdFormatPNM_nameLooksLike (const char *filename) |
int | _nrrdFormatPNM_fitsInto (const Nrrd *nrrd, const NrrdEncoding *encoding, int useBiff) |
int | _nrrdFormatPNM_contentStartsLike (NrrdIoState *nio) |
int | _nrrdFormatPNM_read (FILE *file, Nrrd *nrrd, NrrdIoState *nio) |
int | _nrrdFormatPNM_write (FILE *file, const Nrrd *_nrrd, NrrdIoState *nio) |
Variables | |
const NrrdFormat | _nrrdFormatPNM |
const NrrdFormat *const | nrrdFormatPNM = &_nrrdFormatPNM |
#define MAGIC_P2 "P2" |
#define MAGIC_P3 "P3" |
#define MAGIC_P5 "P5" |
#define MAGIC_P6 "P6" |
int _nrrdFormatPNM_available | ( | void | ) |
int _nrrdFormatPNM_contentStartsLike | ( | NrrdIoState * | nio | ) |
int _nrrdFormatPNM_fitsInto | ( | const Nrrd * | nrrd, | |
const NrrdEncoding * | encoding, | |||
int | useBiff | |||
) |
int _nrrdFormatPNM_nameLooksLike | ( | const char * | filename | ) |
int _nrrdFormatPNM_read | ( | FILE * | file, | |
Nrrd * | nrrd, | |||
NrrdIoState * | nio | |||
) |
int _nrrdFormatPNM_write | ( | FILE * | file, | |
const Nrrd * | _nrrd, | |||
NrrdIoState * | nio | |||
) |
const NrrdFormat _nrrdFormatPNM |
const NrrdFormat* const nrrdFormatPNM = &_nrrdFormatPNM |