comparison lib64gfx.h @ 419:936bc27a79d6

Modularize some functions to lib64gfx, fix bitmap -> image conversion, and implement various cleanups.
author Matti Hamalainen <ccr@tnsp.org>
date Sat, 03 Nov 2012 07:53:38 +0200
parents b6a1dc3bd2c3
children e4a3f183e463
comparison
equal deleted inserted replaced
418:b6a1dc3bd2c3 419:936bc27a79d6
178 178
179 int dmC64ConvertCSData(DMImage *img, int xoffs, int yoffs, const Uint8 *inBuf, int width, int height, BOOL multicolor, int *colors); 179 int dmC64ConvertCSData(DMImage *img, int xoffs, int yoffs, const Uint8 *inBuf, int width, int height, BOOL multicolor, int *colors);
180 int dmC64ProbeGeneric(const Uint8 *buf, const size_t len, DMC64ImageFormat **fmt); 180 int dmC64ProbeGeneric(const Uint8 *buf, const size_t len, DMC64ImageFormat **fmt);
181 int dmC64DecodeGenericBMP(DMC64Image *img, const Uint8 *buf, const size_t len, const DMC64ImageFormat *fmt); 181 int dmC64DecodeGenericBMP(DMC64Image *img, const Uint8 *buf, const size_t len, const DMC64ImageFormat *fmt);
182 int dmC64ConvertGenericBMP2Image(DMImage *screen, const DMC64Image *img); 182 int dmC64ConvertGenericBMP2Image(DMImage *screen, const DMC64Image *img);
183 int dmReadDataFile(const char *filename, Uint8 **buf, size_t *size); 183 int dmC64DecodeBMP(DMC64Image *img, const Uint8 *buf, const size_t len, const size_t probeOffs, const size_t loadOffs, DMC64ImageFormat **fmt, DMC64ImageFormat *forced);
184
185 int dmReadDataFile(FILE *inFile, const char *filename, Uint8 **buf, size_t *size);
184 186
185 #endif // LIB64GFX_H 187 #endif // LIB64GFX_H