diff options
author | hj kim <backto.kim@samsung.com> | 2020-12-04 10:46:40 +0900 |
---|---|---|
committer | hj kim <backto.kim@samsung.com> | 2020-12-04 01:56:39 +0000 |
commit | 26bbd9fb7d92d0f4de3e5da00c4f508cc47cfdc9 (patch) | |
tree | 86a595ed8b6d0b0948849a47a0488304bf88cbf8 | |
parent | c9dca9cab4487e596c910103e22543694ac4976d (diff) | |
download | giflib-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.h | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -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 */ |