Rev 2071 | Rev 2479 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 2071 | Rev 2476 | ||
---|---|---|---|
Line 24... | Line 24... | ||
24 | * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
24 | * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
25 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF |
25 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF |
26 | * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
26 | * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
27 | */ |
27 | */ |
28 | 28 | ||
29 | #ifndef _PPM_H_ |
29 | #ifndef FB_PPM_H_ |
30 | #define _PPM_H_ |
30 | #define FB_PPM_H_ |
31 | 31 | ||
32 | #include "fb.h" |
32 | #include "fb.h" |
33 | 33 | ||
34 | int ppm_draw(unsigned char *data, size_t datasz, unsigned int sx, |
34 | extern int ppm_draw(unsigned char *, size_t, unsigned int, unsigned int, |
35 | unsigned int sy, |
- | |
36 | unsigned int maxwidth, unsigned int maxheight, |
35 | unsigned int, unsigned int, putpixel_cb_t, void *); |
37 | putpixel_cb_t fnc,void *); |
- | |
38 | int ppm_get_data(unsigned char *data, size_t dtsz, unsigned int *width, unsigned int *height); |
36 | extern int ppm_get_data(unsigned char *, size_t, unsigned int *, unsigned int *); |
39 | 37 | ||
40 | #endif |
38 | #endif |