00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017 #ifndef __TLPIXEL_H__
00018 #define __TLPIXEL_H__
00019
00020
00021 #include "tlVision.h"
00022
00023
00024
00025 int tl_pixel_add (tlPixel *src, tlPixel *operand, int width, int height, int pixel_width, tlRect *rect, tlPixel *dest);
00026 int tl_pixel_sub (tlPixel *src, tlPixel *operand, int width, int height, int pixel_width, tlRect *rect, tlPixel *dest);
00027 int tl_pixel_scale (tlPixel *src, float factor, int width, int height, int pixel_width, tlRect *rect, tlPixel *dest);
00028
00029
00030 int tl_pixel_hradd (tlHRPixel *src, tlHRPixel *operand, int width, int height, int pixel_width, tlRect *rect, tlHRPixel *dest);
00031 int tl_pixel_hrsub (tlHRPixel *src, tlHRPixel *operand, int width, int height, int pixel_width, tlRect *rect, tlHRPixel *dest);
00032 int tl_pixel_hrscale (tlHRPixel *src, float factor, int width, int height, int pixel_width, tlRect *rect, tlHRPixel *dest);
00033
00034
00035
00036 #endif