>From d8f519f874fb65a5feedc3952ebede124ab69908 Mon Sep 17 00:00:00 2001 From: Keiji Costantini Date: Fri, 22 Aug 2008 16:16:05 +0200 Subject: [PATCH] Temptative patch to make yuv2rgb2 work instead of yuv2rgb [wontwork] --- Makefile | 4 +- swscale.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index f8ed408..55e24c2 100644 --- a/Makefile +++ b/Makefile @@ -3,10 +3,10 @@ include $(SUBDIR)../config.mak NAME = swscale FFLIBS = avutil -OBJS = rgb2rgb.o swscale.o +OBJS = rgb2rgb.o swscale.o yuv2rgb2.o OBJS-$(ARCH_BFIN) += swscale_bfin.o yuv2rgb_bfin.o OBJS-$(CONFIG_GPL) += yuv2rgb.o OBJS-$(CONFIG_MLIB) += yuv2rgb_mlib.o OBJS-$(HAVE_ALTIVEC) += yuv2rgb_altivec.o OBJS-$(HAVE_VIS) += yuv2rgb_vis.o diff --git a/swscale.c b/swscale.c index 18dd681..b86c279 100644 --- a/swscale.c +++ b/swscale.c @@ -1956,7 +1956,7 @@ int sws_setColorspaceDetails(SwsContext *c, const int inv_table[4], int srcRange c->ugCoeff= roundToInt16(cgu*8192) * 0x0001000100010001ULL; c->yOffset= roundToInt16(oy * 8) * 0x0001000100010001ULL; - yuv2rgb_c_init_tables(c, inv_table, srcRange, brightness, contrast, saturation); + new_yuv2rgb_c_init_tables(c, inv_table, srcRange, brightness, contrast, saturation); //FIXME factorize #ifdef COMPILE_ALTIVEC -- 1.5.6.4