Mercurial > hg > dmlib
diff tools/lib64gfx.h @ 940:ff18d2511843
Remove the doubleMC madness completely. Should be replaced with x/y aspect
ratio information for display purposes.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Wed, 25 Feb 2015 22:01:23 +0200 |
parents | 51dc33efd126 |
children | 60d7240e1a63 |
line wrap: on
line diff
--- a/tools/lib64gfx.h Wed Feb 25 21:26:26 2015 +0200 +++ b/tools/lib64gfx.h Wed Feb 25 22:01:23 2015 +0200 @@ -177,7 +177,7 @@ int (*probe)(const Uint8 *buf, const size_t len, const struct _DMC64ImageFormat *fmt); int (*decode)(DMC64Image *img, const Uint8 *buf, const size_t len, const struct _DMC64ImageFormat *fmt); int (*encode)(DMC64Image *img, Uint8 **buf, size_t *len, const struct _DMC64ImageFormat *fmt); - int (*convertFrom)(DMImage *, const DMC64Image *, const BOOL doubleMC); + int (*convertFrom)(DMImage *, const DMC64Image *); int (*convertTo)(DMImage *, DMC64Image *); int nencdecOps; @@ -199,9 +199,9 @@ int dmC64DecodeGenericBMP(DMC64Image *img, const Uint8 *buf, const size_t len, const DMC64ImageFormat *fmt); int dmC64EncodeGenericBMP(Uint8 **pbuf, size_t *plen, const DMC64Image *img, const DMC64ImageFormat *fmt); -int dmC64ConvertGenericBMP2Image(DMImage *dst, const DMC64Image *src, const BOOL doubleMC); +int dmC64ConvertGenericBMP2Image(DMImage *dst, const DMC64Image *src); -int dmC64ConvertBMP2Image(DMImage **pdst, const DMC64Image *src, const DMC64ImageFormat *fmt, const BOOL doubleMC); +int dmC64ConvertBMP2Image(DMImage **pdst, const DMC64Image *src, const DMC64ImageFormat *fmt); int dmC64ProbeBMP(const Uint8 *buf, const size_t len, const DMC64ImageFormat **fmt); 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);