00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017 #ifndef __TLCHANNEL_H__
00018 #define __TLCHANNEL_H__
00019
00020
00021 #define TL_MAX_CHANNEL 10
00022
00023
00024 #include "tlVision.h"
00025
00026
00027 int tl_to_channel (tlPixel *src, int width, int height, int pixel_width, int channel, tlRect *rect, tlPixel *dest);
00028 int tl_to_channel (tlPixel *src, int width, int height, int pixel_width, int channel, tlPixel *mask, tlRect *rect, tlPixel *dest);
00029 int tl_channel_put (tlPixel *src, int width, int height, int pixel_width, int channel, tlRect *rect, tlPixel *dest);
00030 int tl_channel_put (tlPixel *src, int width, int height, int pixel_width, int channel, tlPixel *mask, tlRect *rect, tlPixel *dest);
00031 int tl_channel_swap (tlPixel *src, int width, int height, int pixel_width, int channel1, int channel2, tlRect *rect, tlPixel *dest);
00032
00033
00034 #endif