home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Club Amiga de Montreal - CAM
/
CAM_CD_1.iso
/
files
/
564a.lha
/
wasp_v1.21
/
Src.LZH
/
Src
/
proto.h
< prev
next >
Wrap
C/C++ Source or Header
|
1991-07-17
|
5KB
|
170 lines
#ifdef __STDC__
# define P(s) s
#else
# define P(s) ()
#endif
/* wasp.i */
int main P((int argc , char **argv ));
int usage P((void ));
int initvars P((void ));
void *cmalloc P((unsigned int n ));
void *ccalloc P((unsigned int n ));
void *crealloc P((void *q , unsigned int n ));
int lowcase P((char *s ));
u_long ceillog2 P((u_long a ));
int stringcode P((char *s ));
int do_options P((int argc , char **argv ));
int do_operations P((int argc , char **argv ));
/* raw.i */
int read_srgr P((void ));
int write_srgr P((void ));
/* readiff.i */
int read_iff P((void ));
char *idstr P((u_long id ));
int do_chunk P((u_long id ));
int isgroupid P((u_long id ));
int isgroupid2 P((u_long i , u_long i2 ));
int isvalid P((u_long id ));
int do_anno P((u_long size ));
int do_cmap P((u_long size ));
int extend_cmap P((void ));
int do_sham P((u_long size , int is_ctbl ));
int do_body P((u_long size ));
int set_bodylimit P((u_long size ));
int check_bodylimit P((void ));
short nextbody P((void *buf ));
int read_direct_body P((void ));
int read_body P((void ));
int fill_conv P((void ));
int do_row P((short y , u_char *parrow ));
int do_row_ham P((short y , u_char *parrow ));
int do_row_direct P((short y , u_char *inrow ));
/* readgif.i */
int read_gif P((void ));
int readscreendescriptor P((void ));
int readimagedescriptor P((void ));
int readcolormap P((void ));
int readbody P((void ));
short nextrow P((int mode ));
int decompress P((void ));
short fill_masks P((short startbit , short nbits ));
short nextcodes P((void ));
short nextubytes P((void ));
int fill_transchars P((void ));
/* operations.i */
int scalex P((int t , int n ));
int scaley P((int t , int n ));
int scalef P((int yflag , float factor ));
int do_clipping P((void ));
int xaverage P((void ));
int xmirror P((void ));
int ymirror P((void ));
int transpose P((void ));
/* io.i */
int cread P((void *buf , int len ));
int cwrite P((void *buf , int len ));
int wrl P((u_long l ));
int printe P((char *s , ...));
int pute P((char c ));
int init_counter P((int start , int end , int instep , char *s , ...));
int counter P((void ));
int erase_counter P((char *s , ...));
int prin1 P((char *p ));
int errorx P((long code , ...));
/* wriff.i */
int write_iff P((void ));
int wriff_init P((void ));
int decide_mode P((void ));
int is_ehb_distr P((void ));
int compute_nregs P((void ));
int write_header P((void ));
int write_cmap P((void ));
int write_sham P((void ));
int write_body P((void ));
int fillconv P((void ));
int cmpcolregs P((short *p1 , short *p2 ));
int sort_cm P((void ));
char *slicednam P((int i ));
char *xmodenam P((int i ));
char *ymodenam P((int i ));
char *dmethnam P((int i ));
int dmethnum P((char *s ));
char *cmethnam P((int i ));
int cmethnum P((char *s ));
/* wriffcount.i */
int clear_counts P((void ));
int fill_xor_tab P((void ));
void call1 P((int row ));
void calldif P((int row ));
void callfixdif P((int row ));
void cjump1 P((int row ));
void cjump21 P((int row ));
void cjumpdif P((int row ));
void cjumpdifsh P((int row ));
void cjumpfixdif P((int row ));
void cjumpfixdifsh P((int row ));
void chammap P((int row ));
void fill_curcm P((short meth ));
int count_colors P((u_long thr ));
int count_pixels P((int firstrow , int lastrow , int moverride ));
/* wriffdistr.i */
int compute_distr P((int firstrow , int lastrow ));
int no_distr P((void ));
int mostused_distr P((void ));
int worstfirst_distr P((void ));
int fill_wf_rgb P((void ));
int find_2_furthest P((short *rgb1p , short *rgb2p ));
int fill_wf_dist_1 P((short color ));
int fill_wf_dist_2 P((short color ));
int find_1_furthest P((short *rgbp ));
int fill_wf2rgbweight P((void ));
int wf2_redo_curcm P((void ));
int black_darkest P((void ));
int ehb_distr P((void ));
int ehb_pair P((short c1 , int i ));
int ehb_worst P((short col1 , short col8 , short *worstp ));
int ehb_farcol P((short color ));
int ehb_minind_adjust P((int from , int to ));
int ehb_redo_curcm P((void ));
int mue_distr P((void ));
int mue_extend P((void ));
int hamsharp_distr P((void ));
int fill_hsmark P((void ));
int cmphs P((struct hs_t *p1 , struct hs_t *p2 ));
int fill_hshead P((void ));
int fill_hs_cm P((void ));
int contraction_distr P((void ));
int fill_ctrgbw P((void ));
int fill_cthead P((void ));
int do_contraction P((void ));
int fill_ct_cm P((void ));
int fill_cmrgb P((void ));
int fill_newcol P((void ));
int fill_newcol_count P((void ));
/* wriffout.i */
int row_out P((int row ));
int rgb_row_out P((int row ));
int rgb_line P((int y , u_char *inq , int bitnum ));
int ham_row_out P((int row ));
int fill_prgbtab P((void ));
u_char *next_row P((int flush ));
int cwritec P((int inlen ));
/* scrsz.i */
int get_scr_size P((void ));
int resetsecs P((void ));
long centisecs P((void ));
#undef P