//from "getarg.h"
extern "C"
+#if !defined HAVE_GIFLIB_QUANTIZE
int GifQuantizeBuffer(unsigned int Width, unsigned int Height,
int *ColorMapSize, GifByteType * RedInput,
GifByteType * GreenInput, GifByteType * BlueInput,
GifByteType * OutputBuffer,
GifColorType * OutputColorMap);
+#endif
#if GIFLIB_MAJOR == 5 && GIFLIB_MINOR >= 2 || GIFLIB_MAJOR == 5 && GIFLIB_MINOR == 1 && GIFLIB_RELEASE >= 9
#define ABS(x) ((x) > 0 ? (x) : (-(x)))
unsigned int ColorMapSize,
unsigned int *NewColorMapSize);
+#if !defined HAVE_GIFLIB_QUANTIZE
/******************************************************************************
Quantize high resolution image into lower one. Input image consists of a
if (MaxRGBError[2] < ABS(OutputColorMap[Index].Blue - BlueInput[i]))
MaxRGBError[2] = ABS(OutputColorMap[Index].Blue - BlueInput[i]);
}
+#endif
#ifdef DEBUG
fprintf(stderr,
CHECK_HEADERS([encore], [encore headers], [encore.h])
CHECK_LIB([giflib], [gif], [DGifOpen])
CHECK_HEADERS([giflib], [gif lib headers], [gif_lib.h])
+CHECK_LIB([giflib_quantize], [gif], [GifQuantizeBuffer])
CHECK_LIB([jbig], [jbig], [jbg_dec_init])
CHECK_LIB([VDPAU], [vdpau], [vdp_device_create_x11])
if test "x$WANT_CIN_3RDPARTY" != "xno"; then
CFG_CFLAGS+=" -DHAVE_CIN_3RDPARTY"
fi
+
+if test "x$HAVE_GIFLIB_QUANTIZE" = "xyes" -a "x$WANT_CIN_3RDPARTY" = "xno"; then
+ CFG_CFLAGS+=" -DHAVE_GIFLIB_QUANTIZE"
+fi
+
+
+
for v in GL XFT XXF86VM OSS ALSA FIREWIRE OGG DV DVB LADSPA \
VIDEO4LINUX2 ESOUND PULSE PACTL OPENEXR LV2 \
COMMERCIAL GIFLIB LIBZMPEG LIBDPX SHUTTLE SHUTTLE_USB XV \
#pad_vaapi ###Operation not permitted
; crash in 8.0
#blackdetect_vulkan
+: do not work in 8.0 (just like the other cuda-s which use nvidia graphics card)
+#scale_cuda ###Operation not implemented when you try to use it