00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017 #ifndef __TLMEMORY_H__
00018 #define __TLMEMORY_H__
00019
00020
00021 #include "tlVision.h"
00022
00023
00024
00025 tlPixel *tl_create_array (int width, int height, int pixel_width);
00026 tlPixel *tl_copy_array (tlPixel *src,int width,int height,int pixel_width);
00027 tlPixel *tl_copy_array (tlPixel *src,int width,int height,int pixel_width,tlRect *rect);
00028 tlPixel *tl_copy_subarray (tlPixel *src,int width,int height,int pixel_width,tlRect *subRect);
00029
00030 tlHRPixel *tl_create_hrarray (int width, int height, int pixel_width);
00031 tlHRPixel *tl_copy_hrarray (tlHRPixel *src,int width,int height,int pixel_width);
00032 tlHRPixel *tl_copy_hrarray (tlHRPixel *src,int width,int height,int pixel_width,tlRect *rect);
00033 tlHRPixel *tl_copy_hrsubarray (tlHRPixel *src,int width,int height,int pixel_width,tlRect *subRect);
00034
00035
00036 #endif