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

updated perl-digest-md5 (2.51 -> 2.55)
author Hans-G?nter Theisgen
date Mon Mar 30 15:54:21 2020 +0100 (2020-03-30)
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 */