Mercurial > mplayer.hg
diff postproc/Makefile @ 12698:d2aef091743c
altivec yuv->rgb converter
orginal patch by (Marc Hoffman <mmh at pleasantst dot com>)
critical fixes by (Reza Jelveh <reza.jelveh at tu-harburg dot de>)
known bugs/issues, which should be fixed ASAP by someone who has a ppc:
0..255 vs. 16..235
unneeded recalculation of tables
general cleaup, like removing double initalizing of variables
author | michael |
---|---|
date | Sun, 27 Jun 2004 00:07:15 +0000 |
parents | 80973aa180a5 |
children | ce1ba8fd57e7 |
line wrap: on
line diff
--- a/postproc/Makefile Sat Jun 26 16:21:22 2004 +0000 +++ b/postproc/Makefile Sun Jun 27 00:07:15 2004 +0000 @@ -4,8 +4,13 @@ SWSLIB = libswscale.a SWSSRCS=swscale.c rgb2rgb.c yuv2rgb.c + SWSOBJS=$(SWSSRCS:.c=.o) +ifeq ($(TARGET_ALTIVEC),yes) +SWSOBJS += yuv2rgb_altivec.o +endif + CFLAGS = $(OPTFLAGS) $(MLIB_INC) -I. -I.. $(EXTRA_INC) # -I/usr/X11R6/include/ @@ -44,3 +49,4 @@ ifneq ($(wildcard .depend),) include .depend endif +