Mercurial > hg > dmlib
comparison lib64gfx.h @ 537:32d9e67da189
Rename generic probing function to match the style of other lib64gfx functions.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Thu, 22 Nov 2012 22:16:51 +0200 |
parents | fbfdc9e4fe2b |
children | 57ca9352f9de |
comparison
equal
deleted
inserted
replaced
536:18fc2890ba4b | 537:32d9e67da189 |
---|---|
175 extern const int ndmC64ImageFormats; | 175 extern const int ndmC64ImageFormats; |
176 | 176 |
177 | 177 |
178 char * dmC64GetImageTypeString(char *buf, const size_t len, const int type); | 178 char * dmC64GetImageTypeString(char *buf, const size_t len, const int type); |
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, const DMC64ImageFormat **fmt); | 180 |
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 | |
184 int dmC64ProbeBMP(const Uint8 *buf, const size_t len, const DMC64ImageFormat **fmt); | |
183 int dmC64DecodeBMP(DMC64Image *img, const Uint8 *buf, const size_t len, const size_t probeOffs, const size_t loadOffs, const DMC64ImageFormat **fmt, const DMC64ImageFormat *forced); | 185 int dmC64DecodeBMP(DMC64Image *img, const Uint8 *buf, const size_t len, const size_t probeOffs, const size_t loadOffs, const DMC64ImageFormat **fmt, const DMC64ImageFormat *forced); |
184 | 186 |
185 int dmReadDataFile(FILE *inFile, const char *filename, Uint8 **buf, size_t *size); | 187 int dmReadDataFile(FILE *inFile, const char *filename, Uint8 **buf, size_t *size); |
186 | 188 |
187 | 189 |