ARX  1.2.0
The next-generation open source augmented reality toolkit.
Loading...
Searching...
No Matches
jpeg.c File Reference
#include <ARX/AR/ar.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "jpeglib.h"
#include <setjmp.h>
#include <ARX/AR2/imageFormat.h>
Include dependency graph for jpeg.c:

Classes

struct  my_error_mgr

Macros

#define BUFFER_HEIGHT   5

Typedefs

typedef struct my_error_mgr * my_error_ptr

Functions

int ar2WriteJpegImage (const char *filename, const char *ext, AR2JpegImageT *jpegImage, int quality)
int ar2WriteJpegImage2 (FILE *fp, AR2JpegImageT *jpegImage, int quality)
AR2JpegImageT * ar2ReadJpegImage (const char *filename, const char *ext)
AR2JpegImageT * ar2ReadJpegImage2 (FILE *fp)
int ar2FreeJpegImage (AR2JpegImageT **jpegImage)

Macro Definition Documentation

◆ BUFFER_HEIGHT

#define BUFFER_HEIGHT   5

Typedef Documentation

◆ my_error_ptr

typedef struct my_error_mgr* my_error_ptr

Function Documentation

◆ ar2FreeJpegImage()

int ar2FreeJpegImage ( AR2JpegImageT ** jpegImage)
Here is the call graph for this function:

◆ ar2ReadJpegImage()

AR2JpegImageT * ar2ReadJpegImage ( const char * filename,
const char * ext )
Here is the call graph for this function:

◆ ar2ReadJpegImage2()

AR2JpegImageT * ar2ReadJpegImage2 ( FILE * fp)
Here is the call graph for this function:

◆ ar2WriteJpegImage()

int ar2WriteJpegImage ( const char * filename,
const char * ext,
AR2JpegImageT * jpegImage,
int quality )
Here is the call graph for this function:

◆ ar2WriteJpegImage2()

int ar2WriteJpegImage2 ( FILE * fp,
AR2JpegImageT * jpegImage,
int quality )
Here is the call graph for this function: