Tachyon (current)  Current Main Branch
Macros | Functions
jpeg.c File Reference
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <math.h>
#include "tachyon.h"
#include "util.h"
#include "imageio.h"
#include "jpeg.h"

Go to the source code of this file.

Macros

#define TACHYON_INTERNAL   1
 

Functions

int readjpeg (const char *name, int *xres, int *yres, unsigned char **imgdata)
 
int writejpeg (const char *name, int xres, int yres, unsigned char *imgdata)
 

Macro Definition Documentation

◆ TACHYON_INTERNAL

#define TACHYON_INTERNAL   1

Definition at line 21 of file jpeg.c.

Function Documentation

◆ readjpeg()

int readjpeg ( const char *  name,
int *  xres,
int *  yres,
unsigned char **  imgdata 
)

Definition at line 29 of file jpeg.c.

References IMAGEUNSUP.

Referenced by readimage().

◆ writejpeg()

int writejpeg ( const char *  name,
int  xres,
int  yres,
unsigned char *  imgdata 
)

Definition at line 33 of file jpeg.c.

References IMAGEUNSUP.

Referenced by writeimage().