diff tools/lib64gfx.h @ 1713:0a9110b4d036

Add few RLE helper functions.
author Matti Hamalainen <ccr@tnsp.org>
date Wed, 06 Jun 2018 14:31:04 +0300
parents 4fd94bf558b3
children 8f47bd264458
line wrap: on
line diff
--- a/tools/lib64gfx.h	Wed Jun 06 14:29:05 2018 +0300
+++ b/tools/lib64gfx.h	Wed Jun 06 14:31:04 2018 +0300
@@ -310,6 +310,9 @@
 
 void      dmGenericRLEAnalyze(const DMGrowBuf *buf, DMCompParams *cfg);
 
+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       dmDecodeGenericRLE(DMGrowBuf *dst, const DMGrowBuf *src, const DMCompParams *cfg);
 int       dmDecodeGenericRLEAlloc(DMGrowBuf *dst, const DMGrowBuf *src, const DMCompParams *cfg);