# HG changeset patch # User Matti Hamalainen # Date 1525917468 -10800 # Node ID 948b32bd67ef61efe7aa7adcffe7c9f27d81d497 # Parent 60337b31e42787bb74db71c964d77e1dad588d47 Cosmetics. diff -r 60337b31e427 -r 948b32bd67ef tools/lib64gfx.h --- a/tools/lib64gfx.h Thu May 10 04:44:08 2018 +0300 +++ b/tools/lib64gfx.h Thu May 10 04:57:48 2018 +0300 @@ -198,12 +198,14 @@ int dmC64ProbeBMP(const Uint8 *buf, const size_t len, const DMC64ImageFormat **fmt); 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 DMC64ImageFormat *fmt); +int dmC64EncodeGenericBMP(Uint8 **pbuf, size_t *plen, const size_t baseOffs, const DMC64Image *img, const DMC64ImageFormat *fmt); int dmC64ConvertBMP2Image(DMImage **pdst, const DMC64Image *src, 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); +int dmC64ConvertGenericBMP2Image(DMImage *dst, const DMC64Image *src, const DMC64ImageFormat *fmt); + #ifdef __cplusplus }