Visualization Library 2.0.0-b5
A lightweight C++ OpenGL middleware for 2D/3D graphics
|
[Download] [Tutorials] [All Classes] [Grouped Classes] |
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 | |
JSAMPLE * | image_buffer |
int | image_height |
int | image_width |
typedef struct my_error_mgr* my_error_ptr |
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 | ( | char * | filename | ) |
Definition at line 284 of file example.c.
References infile, jpeg_create_decompress, jpeg_destroy_decompress(), jpeg_finish_decompress(), jpeg_read_header(), jpeg_read_scanlines(), jpeg_std_error(), jpeg_stdio_src(), JPOOL_IMAGE, my_error_exit(), NULL, jpeg_decompress_struct::output_components, jpeg_decompress_struct::output_height, jpeg_decompress_struct::output_scanline, jpeg_decompress_struct::output_width, TRUE, and void().
write_JPEG_file | ( | char * | filename, |
int | quality | ||
) |
Definition at line 72 of file example.c.
References image_buffer, image_height, jpeg_compress_struct::image_height, image_width, jpeg_compress_struct::image_width, jpeg_compress_struct::in_color_space, jpeg_compress_struct::input_components, JCS_RGB, jpeg_create_compress, jpeg_destroy_compress(), jpeg_finish_compress(), jpeg_set_defaults(), jpeg_set_quality(), jpeg_start_compress(), jpeg_std_error(), jpeg_stdio_dest(), jpeg_write_scanlines(), jpeg_compress_struct::next_scanline, NULL, outfile, TRUE, and void().
JSAMPLE* image_buffer |
Referenced by write_JPEG_file().
int image_height |
Referenced by rpng_win_wndproc(), and write_JPEG_file().
int image_width |
Referenced by rpng_win_wndproc(), and write_JPEG_file().
Visualization Library 2.0.0-b5 Reference Documentation
Updated on Mon Feb 10 2020 02:44:56.
© Copyright Michele Bosi. All rights reserved.