wok view giflib/stuff/restore-GifQuantizeBuffer.u @ rev 25037

Up glza (0.11.4)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat May 21 21:38:29 2022 +0000 (24 months ago)
parents
children
line source
1 --- Makefile 2019-03-28 14:57:23.000000000 -0400
2 +++ Makefile 2019-03-31 23:38:20.700603561 -0400
3 @@ -67,8 +67,8 @@
5 $(UTILS):: libgif.a libutil.a
7 -libgif.so: $(OBJECTS) $(HEADERS)
8 - $(CC) $(CFLAGS) -shared $(LDFLAGS) -Wl,-soname -Wl,libgif.so.$(LIBMAJOR) -o libgif.so $(OBJECTS)
9 +libgif.so: $(OBJECTS) $(HEADERS) $(UOBJECTS)
10 + $(CC) $(CFLAGS) -shared $(LDFLAGS) -Wl,-soname -Wl,libgif.so.$(LIBMAJOR) -o libgif.so $(OBJECTS) $(UOBJECTS)
12 libgif.a: $(OBJECTS) $(HEADERS)
13 $(AR) rcs libgif.a $(OBJECTS)
14 --- gif_lib.h
15 +++ gif_lib.h
16 @@ -295,6 +295,14 @@ extern void GifDrawBoxedText8x8(SavedIma
17 const char *legend,
18 const int border, const int bg, const int fg);
20 +/******************************************************************************
21 + Color table quantization
22 +******************************************************************************/
23 +int GifQuantizeBuffer(unsigned int Width, unsigned int Height,
24 + int *ColorMapSize, GifByteType * RedInput,
25 + GifByteType * GreenInput, GifByteType * BlueInput,
26 + GifByteType * OutputBuffer,
27 + GifColorType * OutputColorMap);
28 #ifdef __cplusplus
29 }
30 #endif /* __cplusplus */