Mercurial > hg > dmlib
changeset 545:57ca9352f9de
Make encoding function public.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Thu, 22 Nov 2012 22:27:07 +0200 |
parents | ac0d0473d5e9 |
children | e74a0e027681 |
files | lib64gfx.h |
diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/lib64gfx.h Thu Nov 22 22:26:31 2012 +0200 +++ b/lib64gfx.h Thu Nov 22 22:27:07 2012 +0200 @@ -179,6 +179,7 @@ int dmC64ConvertCSData(DMImage *img, int xoffs, int yoffs, const Uint8 *inBuf, int width, int height, BOOL multicolor, int *colors); 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 *screen, const DMC64Image *img); int dmC64ProbeBMP(const Uint8 *buf, const size_t len, const DMC64ImageFormat **fmt);