#include <stdio.h>#include <stdlib.h>#include <string.h>#include <jpeglib.h>#include "Bases.h"#include "Module.h"#include "Memory.h"#include "Common.h"#include "debug.h"#include "macros.h"#include "images/image_Jpeg.h"Include dependency graph for image_Jpeg_mod.c:

Go to the source code of this file.
Data Structures | |
| struct | jpeg_CustomData_s |
| struct | my_source_mgr |
Defines | |
| #define | __IMAGE_MODULE |
Typedefs | |
| typedef jpeg_CustomData_s | jpeg_CustomData_t |
| typedef my_source_mgr * | my_src_ptr |
Functions | |
| VERSION ("Jpeg.image_mod", 1, 0,"Gergely Gati","g.gati @freemail.hu") | |
| my_init_source (j_decompress_ptr cinfo) | |
| my_fill_input_buffer (j_decompress_ptr cinfo) | |
| my_skip_input_data (j_decompress_ptr cinfo, long num_bytes) | |
| my_term_source (j_decompress_ptr cinfo) | |
| jpeg_my_stdio_src (j_decompress_ptr cinfo, jpeg_CustomData_t *cdata) | |
| void | my_error_exit (j_common_ptr cinfo) |
| int | jpeg_ImgInit (Image_t *img, void(*update)(void *), void *userdata) |
| void | jpeg_ImgCleanUp (Image_t *img) |
| int | jpeg_ImgRender (Image_t *img, u8 *dest, int destsize, int width, int height) |
| int | jpeg_PutImage (Image_t *img, u32 window, Rect_t *rect) |
| void | jpeg_CleanUp (void) |
| int | jpeg_Init (u32 module) |
| EXPORT int | module_Init (u32 module, bases_Modules_t *bases) |
Variables | |
| char * | jpeg_name = "jpeg" |
| bases_Modules_t * | api |
|
|
Definition at line 29 of file image_Jpeg_mod.c. |
|
|
|
|
|
Definition at line 71 of file image_Jpeg_mod.c. |
|
|
Definition at line 280 of file image_Jpeg_mod.c. References debug_Begin, and debug_End. Referenced by jpeg_Init. |
|
|
Definition at line 200 of file image_Jpeg_mod.c. References debug_Begin, debug_End, Image_t, mem_free, and NULL. Referenced by jpeg_Init. |
|
||||||||||||||||
|
Definition at line 161 of file image_Jpeg_mod.c. References jpeg_CustomData_s::cinfo, debug_Begin, debug_End, jpeg_CustomData_s::fp, Image_t, jpeg_CustomData_s::img, jpeg_CustomData_s::jerr, jpeg_my_stdio_src, jpeg_name, mem_malloc, my_error_exit, NULL, and TRUE. Referenced by jpeg_Init. |
|
||||||||||||||||||||||||
|
Definition at line 220 of file image_Jpeg_mod.c. References jpeg_CustomData_s::cinfo, debug_Begin, debug_End, jpeg_CustomData_s::fp, Image_t, jpeg_my_stdio_src, mem_free, mem_malloc, NULL, TRUE, and u8. Referenced by jpeg_Init, and jpeg_PutImage. |
|
|
Definition at line 287 of file image_Jpeg_mod.c. References debug_Begin, bases_modules_s::img_Call, IMG_REGISTERFORMATCODE, jpeg_CleanUp, jpeg_ImgCleanUp, jpeg_ImgInit, jpeg_ImgRender, jpeg_PutImage, TAG_DONE, TAG_IMG_CLEANUP, TAG_IMG_IMG_CLEAN, TAG_IMG_IMG_INIT, TAG_IMG_IMG_PUTIMAGE, TAG_IMG_IMG_RENDER, TAG_IMG_MODULE, TAG_IMG_NAME, and u32. Referenced by module_Init. |
|
||||||||||||
|
Definition at line 122 of file image_Jpeg_mod.c. References my_source_mgr::cdata, my_fill_input_buffer, my_init_source, my_skip_input_data, my_term_source, NULL, and my_source_mgr::pub. Referenced by jpeg_ImgInit, and jpeg_ImgRender. |
|
||||||||||||||||
|
Definition at line 258 of file image_Jpeg_mod.c. References Vector_t::data, debug_Begin, debug_End, bases_modules_s::glw_Call, Rect_t::height, Image_t, jpeg_ImgRender, Rect_t::left, mem_free, mem_malloc, NULL, Vector_t::size, TAG_DONE, Rect_t::top, u32, and Rect_t::width. Referenced by jpeg_Init. |
|
||||||||||||
|
Definition at line 308 of file image_Jpeg_mod.c. |
|
|
Definition at line 147 of file image_Jpeg_mod.c. Referenced by jpeg_ImgInit. |
|
|
Definition at line 87 of file image_Jpeg_mod.c. References my_source_mgr::cdata, FALSE, jpeg_CustomData_s::fp, jpeg_CustomData_s::img, min, my_source_mgr::pub, my_source_mgr::start_of_file, and TRUE. Referenced by jpeg_my_stdio_src, and my_skip_input_data. |
|
|
Definition at line 79 of file image_Jpeg_mod.c. References my_source_mgr::cdata, jpeg_CustomData_s::fp, my_source_mgr::start_of_file, and TRUE. Referenced by jpeg_my_stdio_src. |
|
||||||||||||
|
Definition at line 100 of file image_Jpeg_mod.c. References my_fill_input_buffer, and my_source_mgr::pub. Referenced by jpeg_my_stdio_src. |
|
|
Definition at line 117 of file image_Jpeg_mod.c. Referenced by jpeg_my_stdio_src. |
|
||||||||||||||||||||||||
|
|
|
|
Definition at line 74 of file image_Jpeg_mod.c. |
|
|
Definition at line 58 of file image_Jpeg_mod.c. Referenced by jpeg_ImgInit. |
1.2.14 written by Dimitri van Heesch,
© 1997-2002