Mercurial > hg > dmlib
diff tools/lib64gfx.h @ 1774:88354355b8e1
Move dmC64ProbeBMP() to more logical place in the source.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Tue, 12 Jun 2018 15:36:00 +0300 |
parents | 52e31cfc1e36 |
children | 4e4d54135baf |
line wrap: on
line diff
--- a/tools/lib64gfx.h Tue Jun 12 14:31:09 2018 +0300 +++ b/tools/lib64gfx.h Tue Jun 12 15:36:00 2018 +0300 @@ -280,6 +280,8 @@ // // Miscellaneous functions // +int dmC64ProbeBMP(const Uint8 *buf, const size_t len, const DMC64ImageFormat **fmt); + char * dmC64GetImageTypeString(char *buf, const size_t len, const int type, const BOOL lng); void dmC64ImageDump(FILE *fh, const DMC64Image *img, const DMC64ImageFormat *fmt); @@ -304,7 +306,6 @@ int dmC64SanityCheckEncDecOp(const int i, const DMC64EncDecOp *op, const DMC64Image *img); BOOL dmC64GetOpSize(const DMC64EncDecOp *op, const DMC64ImageFormat *fmt, size_t *size); -int dmC64ProbeBMP(const Uint8 *buf, const size_t len, const DMC64ImageFormat **fmt); int dmC64DecodeGenericBMP(DMC64Image *img, const DMGrowBuf *buf, const DMC64ImageFormat *fmt); int dmC64EncodeGenericBMP(const BOOL allocate, DMGrowBuf *buf, const DMC64Image *img, const DMC64ImageFormat *fmt);