00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00028 #ifndef __IMAGE_H__
00029 #define __IMAGE_H__
00030
00031
00032
00033 #include "../common/platform.h"
00034
00035
00036 void RGB32toRGB24( const W8 *src, W8 *dest, W32 size );
00037 void RGB24toBGR565( const void *src, void *dest, W32 size );
00038
00039
00040 void RGB24_adjustBrightness( void *data, W32 size );
00041 void RGB32_adjustBrightness( void *data, W32 size );
00042
00043
00044 void MergePics( const W8 *src, W8 *dest, W32 width, W32 height, W32 bpp, W16 totalwidth,
00045 W32 x_offset, W32 y_offset );
00046
00047 void MergeImages( W8 *src, W32 src_bpp, W32 src_totalwidth, W32 src_region_width, W32 src_region_height, W32 src_x_offset, W32 src_y_offset,
00048 W8 *dest, W16 dest_bpp, W32 dest_totalwidth, W32 dest_region_width, W32 dest_region_height, W32 dest_x_offset, W32 dest_y_offset );
00049
00050 void ReduxAlphaChannel_hq2x( W8 *data, W32 width, W32 height );
00051
00052
00053
00054 #endif