Visualization Library 2.0.0-b5

A lightweight C++ OpenGL middleware for 2D/3D graphics

VL     Star     Watch     Fork     Issue

[Download] [Tutorials] [All Classes] [Grouped Classes]
Typedefs | Functions | Variables
example.c File Reference
#include <stdio.h>
#include "jpeglib.h"
#include <setjmp.h>

Go to the source code of this file.

Typedefs

typedef struct my_error_mgr * my_error_ptr
 

Functions

 write_JPEG_file (char *filename, int quality)
 
 my_error_exit (j_common_ptr cinfo)
 
 read_JPEG_file (char *filename)
 

Variables

JSAMPLEimage_buffer
 
int image_height
 
int image_width
 

Typedef Documentation

◆ my_error_ptr

typedef struct my_error_mgr* my_error_ptr

Definition at line 256 of file example.c.

Function Documentation

◆ my_error_exit()

my_error_exit ( j_common_ptr  cinfo)

Definition at line 263 of file example.c.

References GLOBAL.

Referenced by vl::loadJPG(), and read_JPEG_file().

◆ read_JPEG_file()

read_JPEG_file ( char *  filename)

◆ write_JPEG_file()

write_JPEG_file ( char *  filename,
int  quality 
)

Variable Documentation

◆ image_buffer

JSAMPLE* image_buffer

Referenced by write_JPEG_file().

◆ image_height

int image_height

◆ image_width

int image_width