hal_gfx_utils.h File Reference
#include "hal_gfx_hal.h"

Go to the source code of this file.

Classes

struct  _img_obj_
 Image object defination. More...
 

Typedefs

typedef struct _img_obj_ img_obj_t
 Image object defination. More...
 

Functions

float hal_gfx_get_time (void)
 Return system timestamp in second, need to porting. More...
 
float hal_gfx_get_wall_time (void)
 Return system timestamp in millisecond, need to porting. More...
 
hal_gfx_buffer_t hal_gfx_load_file (const char *filename, int length, void *buffer)
 load file to buffer, need to porting More...
 
int hal_gfx_save_file (const char *filename, int length, void *buffer)
 save buffer to file, need to porting More...
 
unsigned int hal_gfx_rand (void)
 generate a random number, need to porting More...
 
void hal_gfx_calculate_fps (void)
 calculate the fps, need to porting More...
 
float hal_gfx_calculate_fps_ext (float start_time, uint32_t frame)
 calculate the fps, need to porting More...
 
void * hal_gfx_memcpy (void *destination, const void *source, size_t num)
 memcpy function, need to porting More...