Tachyon (current)
Current Main Branch
|
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <math.h>
#include "tachyon.h"
#include "util.h"
#include "imageio.h"
#include "sgirgb.h"
Go to the source code of this file.
Macros | |
#define | TACHYON_INTERNAL 1 |
Functions | |
static void | putbyte (FILE *outf, unsigned char val) |
static void | putshort (FILE *outf, unsigned short val) |
static void | putint (FILE *outf, unsigned int val) |
int | writergb (char *name, int xres, int yres, unsigned char *imgdata) |
|
static |
Definition at line 22 of file sgirgb.c.
Referenced by writergb().
|
static |
Definition at line 35 of file sgirgb.c.
Referenced by writergb().
|
static |
Definition at line 28 of file sgirgb.c.
Referenced by writergb().
int writergb | ( | char * | name, |
int | xres, | ||
int | yres, | ||
unsigned char * | imgdata | ||
) |
Definition at line 44 of file sgirgb.c.
References IMAGENOERR, putbyte(), putint(), and putshort().
Referenced by writeimage().