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

updated attr and attr-dev (2.4.48 -> 2.5.1)
author Hans-G?nter Theisgen
date Thu Jan 27 17:14:58 2022 +0100 (2022-01-27)
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 */