#include <stdlib.h>#include <string.h>#include "Bases.h"#include "Module.h"#include "Gui.h"#include "Memory.h"#include "Common.h"#include "images/image_Pnm.h"#include "debug.h"Include dependency graph for image_Pnm_mod.c:

Go to the source code of this file.
Data Structures | |
| struct | pnm_CustomData_s |
Defines | |
| #define | __IMAGE_MODULE |
| #define | PNM_ST_INVALID 0 |
| #define | PNM_ST_PPM 1 |
| #define | PNM_ST_PGM 2 |
Typedefs | |
| typedef pnm_CustomData_s | pnm_CustomData_t |
Functions | |
| VERSION ("Pnm.image_mod", 1, 0,"Gergely Gati","g.gati @freemail.hu") | |
| int | pnm_ImgInit (Image_t *img, void(*update)(void *), void *userdata) |
| void | pnm_ImgCleanUp (Image_t *img) |
| int | pnm_ImgRender (Image_t *img, u8 *dest, int destsize, int width, int height) |
| int | pnm_PutImage (Image_t *img, u32 window, Rect_t *rect) |
| void | pnm_CleanUp (void) |
| int | pnm_Init (u32 module) |
| EXPORT int | module_Init (u32 module, bases_Modules_t *bases) |
Variables | |
| bases_Modules_t * | api |
|
|
Definition at line 27 of file image_Pnm_mod.c. |
|
|
Definition at line 38 of file image_Pnm_mod.c. Referenced by pnm_ImgInit. |
|
|
Definition at line 40 of file image_Pnm_mod.c. Referenced by pnm_ImgInit, and pnm_ImgRender. |
|
|
Definition at line 39 of file image_Pnm_mod.c. Referenced by pnm_ImgInit, and pnm_ImgRender. |
|
|
|
|
||||||||||||
|
Definition at line 220 of file image_Pnm_mod.c. |
|
|
Definition at line 192 of file image_Pnm_mod.c. References debug_Begin, and debug_End. Referenced by pnm_Init. |
|
|
Definition at line 107 of file image_Pnm_mod.c. References debug_Begin, debug_End, Image_t, mem_free, and NULL. Referenced by pnm_Init. |
|
||||||||||||||||
|
Definition at line 64 of file image_Pnm_mod.c. References debug_Begin, debug_End, debug_Message, pnm_CustomData_s::height, Image_t, pnm_CustomData_s::img, pnm_CustomData_s::maxval, mem_malloc, NULL, pnm_CustomData_s::offset, PNM_ST_INVALID, PNM_ST_PGM, PNM_ST_PPM, pnm_CustomData_s::subtype, u8, and pnm_CustomData_s::width. Referenced by pnm_Init. |
|
||||||||||||||||||||||||
|
Definition at line 127 of file image_Pnm_mod.c. References debug_Begin, debug_End, debug_Error, pnm_CustomData_s::height, Image_t, NULL, pnm_CustomData_s::offset, PNM_ST_PGM, PNM_ST_PPM, pnm_CustomData_s::subtype, u8, and pnm_CustomData_s::width. Referenced by pnm_Init, and pnm_PutImage. |
|
|
Definition at line 199 of file image_Pnm_mod.c. References debug_Begin, debug_End, bases_modules_s::img_Call, IMG_REGISTERFORMATCODE, pnm_CleanUp, pnm_ImgCleanUp, pnm_ImgInit, pnm_ImgRender, pnm_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 170 of file image_Pnm_mod.c. References Vector_t::data, debug_Begin, debug_End, bases_modules_s::glw_Call, Rect_t::height, Image_t, Rect_t::left, mem_free, mem_malloc, NULL, pnm_ImgRender, Vector_t::size, TAG_DONE, Rect_t::top, u32, and Rect_t::width. Referenced by pnm_Init. |
|
||||||||||||||||||||||||
|
|
|
|
Definition at line 54 of file image_Pnm_mod.c. |
1.2.14 written by Dimitri van Heesch,
© 1997-2002