summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhj kim <backto.kim@samsung.com>2020-12-04 10:46:40 +0900
committerhj kim <backto.kim@samsung.com>2020-12-04 01:56:39 +0000
commit26bbd9fb7d92d0f4de3e5da00c4f508cc47cfdc9 (patch)
tree86a595ed8b6d0b0948849a47a0488304bf88cbf8
parentc9dca9cab4487e596c910103e22543694ac4976d (diff)
downloadgiflib-26bbd9fb7d92d0f4de3e5da00c4f508cc47cfdc9.tar.gz
giflib-26bbd9fb7d92d0f4de3e5da00c4f508cc47cfdc9.tar.bz2
giflib-26bbd9fb7d92d0f4de3e5da00c4f508cc47cfdc9.zip
Add GifQuantizeBuffer() in gif_lib.h
GifQuantizeBuffer() was deprecated moved to util but finaly removed after 5.2.0 (only removed in gif_lib.h) but libmm-utility uses this function, so recovered it. Change-Id: Ib852bbb7dcbd410dfe2c172aeb05b715b37d5db0
-rw-r--r--gif_lib.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/gif_lib.h b/gif_lib.h
index ebdbd3c..373f081 100644
--- a/gif_lib.h
+++ b/gif_lib.h
@@ -217,6 +217,15 @@ const char *DGifGetGifVersion(GifFileType *GifFile);
/******************************************************************************
+ Color table quantization (deprecated)
+******************************************************************************/
+int GifQuantizeBuffer(unsigned int Width, unsigned int Height,
+ int *ColorMapSize, GifByteType * RedInput,
+ GifByteType * GreenInput, GifByteType * BlueInput,
+ GifByteType * OutputBuffer,
+ GifColorType * OutputColorMap);
+
+/******************************************************************************
Error handling and reporting.
******************************************************************************/
extern const char *GifErrorString(int ErrorCode); /* new in 2012 - ESR */