Rev 1555 | Rev 1965 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1555 | Rev 1673 | ||
---|---|---|---|
Line 27... | Line 27... | ||
27 | */ |
27 | */ |
28 | 28 | ||
29 | #ifndef _PPM_H_ |
29 | #ifndef _PPM_H_ |
30 | #define _PPM_H_ |
30 | #define _PPM_H_ |
31 | 31 | ||
- | 32 | #include "fb.h" |
|
- | 33 | ||
32 | int ppm_draw(unsigned char *data, size_t datasz, unsigned int sx, |
34 | int ppm_draw(unsigned char *data, size_t datasz, unsigned int sx, |
33 | unsigned int sy, |
35 | unsigned int sy, |
34 | unsigned int maxwidth, unsigned int maxheight, |
36 | unsigned int maxwidth, unsigned int maxheight, |
35 | void (*putpixel)(int,unsigned int, unsigned int, int),int vp); |
37 | putpixel_cb_t fnc,void *); |
36 | int ppm_get_data(unsigned char *data, size_t dtsz, int *width, int *height); |
38 | int ppm_get_data(unsigned char *data, size_t dtsz, int *width, int *height); |
37 | 39 | ||
38 | #endif |
40 | #endif |