view Gui/bitmap.h @ 17094:cb35587c8156

fix vf_phase.c:101: warning: suggest parentheses around + or - inside shift vf_phase.c:102: warning: suggest parentheses around + or - inside shift vf_phase.c:105: warning: suggest parentheses around + or - inside shift vf_phase.c:106: warning: suggest parentheses around + or - inside shift vf_phase.c:112: warning: suggest parentheses around + or - inside shift vf_phase.c:113: warning: suggest parentheses around + or - inside shift vf_phase.c:116: warning: suggest parentheses around + or - inside shift vf_phase.c:117: warning: suggest parentheses around + or - inside shift vf_phase.c:123: warning: suggest parentheses around + or - inside shift vf_phase.c:124: warning: suggest parentheses around + or - inside shift vf_phase.c:127: warning: suggest parentheses around + or - inside shift vf_phase.c:128: warning: suggest parentheses around + or - inside shift vf_phase.c:134: warning: suggest parentheses around + or - inside shift vf_phase.c:135: warning: suggest parentheses around + or - inside shift vf_phase.c:136: warning: suggest parentheses around + or - inside shift vf_phase.c:139: warning: suggest parentheses around + or - inside shift vf_phase.c:140: warning: suggest parentheses around + or - inside shift vf_phase.c:141: warning: suggest parentheses around + or - inside shift
author rathann
date Mon, 05 Dec 2005 01:28:59 +0000
parents 22572f1dafa3
children
line wrap: on
line source

#ifndef __BITMAP_H
#define __BITMAP_H

typedef struct _txSample
{
 unsigned long Width;
 unsigned long Height;
 unsigned int  BPP;
 unsigned long ImageSize;
 char *        Image;
} txSample;

extern int bpRead( char * fname, txSample * bf );
extern int conv24to32( txSample * bf );
extern void Convert32to1( txSample * in,txSample * out,int adaptivlimit );
extern void Convert1to32( txSample * in,txSample * out );

#endif /* __BITMAP_H */