Mercurial > hg > dmlib
diff tools/lib64gfx.h @ 1719:8f47bd264458
Make dmEncodeGenericRLESequence() a public function.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Wed, 06 Jun 2018 15:18:25 +0300 |
parents | 0a9110b4d036 |
children | 77a4d8fab5cc |
line wrap: on
line diff
--- a/tools/lib64gfx.h Wed Jun 06 14:37:20 2018 +0300 +++ b/tools/lib64gfx.h Wed Jun 06 15:18:25 2018 +0300 @@ -313,6 +313,8 @@ void dmSetupRLEBuffers(DMGrowBuf *dst, DMGrowBuf *src, const DMCompParams *cfg); void dmFinishRLEBuffers(DMGrowBuf *dst, DMGrowBuf *src, const DMCompParams *cfg); int dmGenericRLEOutputRun(DMGrowBuf *dst, const DMCompParams *cfg, const Uint8 data, const unsigned int count); +int dmEncodeGenericRLESequence(DMGrowBuf *dst, const Uint8 data, const unsigned int count, const DMCompParams *cfg); + int dmDecodeGenericRLE(DMGrowBuf *dst, const DMGrowBuf *src, const DMCompParams *cfg); int dmDecodeGenericRLEAlloc(DMGrowBuf *dst, const DMGrowBuf *src, const DMCompParams *cfg);