Main Page   Alphabetical List   Data Structures   File List   Data Fields   Globals  

image_Flash_mod.c File Reference

#include <stdlib.h>
#include <string.h>
#include <sys/time.h>
#include <time.h>
#include <setjmp.h>
#include <assert.h>
#include <limits.h>
#include "Bases.h"
#include "Module.h"
#include "debug.h"
#include "Gui.h"
#include "Memory.h"
#include "Common.h"
#include <jpeglib.h>
#include "images/image_Flash.h"
#include <flash.h>

Include dependency graph for image_Flash_mod.c:

Include dependency graph

Go to the source code of this file.

Data Structures

struct  flash_CustomData_s
struct  timeval
struct  timezone

Defines

#define __IMAGE_MODULE

Typedefs

typedef flash_CustomData_s flash_CustomData_t

Functions

 VERSION ("Flash.image_mod", 1, 0,"Gergely Gati","g.gati @freemail.hu")
int gettimeofday (struct timeval *tv, struct timezone *tz)
int flash_ImgInit (Image_t *img, void(*update)(void *), void *userdata)
void flash_ImgCleanUp (Image_t *img)
int flash_ImgRender (Image_t *img, u8 *dest, int destsize, int width, int height)
int flash_PutImage (Image_t *img, u32 window, Rect_t *rect)
void flash_CleanUp (void)
int flash_Init (u32 module)
EXPORT int module_Init (u32 module, bases_Modules_t *bases)

Variables

bases_Modules_tapi


Define Documentation

#define __IMAGE_MODULE
 

Definition at line 34 of file image_Flash_mod.c.


Typedef Documentation

typedef struct flash_CustomData_s flash_CustomData_t
 


Function Documentation

void flash_CleanUp void    [static]
 

Definition at line 254 of file image_Flash_mod.c.

References debug_Begin, and debug_End.

Referenced by flash_Init.

void flash_ImgCleanUp Image_t   img [static]
 

Definition at line 136 of file image_Flash_mod.c.

References Image_t, mem_free, and NULL.

Referenced by flash_Init.

int flash_ImgInit Image_t   img,
void(*    update)(void *),
void *    userdata
[static]
 

Definition at line 110 of file image_Flash_mod.c.

References IMAGE_MAXIMUM_SIZE, Image_t, flash_CustomData_s::img, mem_malloc, and NULL.

Referenced by flash_Init.

int flash_ImgRender Image_t   img,
u8   dest,
int    destsize,
int    width,
int    height
[static]
 

Definition at line 152 of file image_Flash_mod.c.

References Image_t, NULL, and u8.

Referenced by flash_Init, and flash_PutImage.

int flash_Init u32    module [static]
 

Definition at line 261 of file image_Flash_mod.c.

References api, flash_CleanUp, flash_ImgCleanUp, flash_ImgInit, flash_ImgRender, flash_PutImage, bases_modules_s::img_Call, IMG_REGISTERFORMATCODE, 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.

int flash_PutImage Image_t   img,
u32    window,
Rect_t   rect
[static]
 

Definition at line 237 of file image_Flash_mod.c.

References api, Vector_t::data, flash_ImgRender, bases_modules_s::glw_Call, Rect_t::height, Image_t, Rect_t::left, mem_free, mem_malloc, NULL, Vector_t::size, TAG_DONE, Rect_t::top, u32, and Rect_t::width.

Referenced by flash_Init.

int gettimeofday struct timeval   tv,
struct timezone   tz
 

Definition at line 69 of file image_Flash_mod.c.

References api, bases_modules_s::glw_Call, glw_Time::millis, glw_Time::secs, TAG_DONE, timeval::tv_sec, and timeval::tv_usec.

EXPORT int module_Init u32    module,
bases_Modules_t   bases
 

Definition at line 276 of file image_Flash_mod.c.

References api, EXPORT, flash_Init, and u32.

VERSION "Flash.image_mod"   ,
 ,
 ,
"Gergely Gati"   ,
"g.gati @freemail.hu"   
 


Variable Documentation

bases_Modules_t* api [static]
 

Definition at line 65 of file image_Flash_mod.c.

Referenced by flash_Init, flash_PutImage, gettimeofday, and module_Init.


Generated on Tue Jan 7 12:12:21 2003 for THEGUI by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002