diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2004-06-27 00:07:15 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2004-06-27 00:07:15 +0000 |
commit | a31de95620a8eafda622347ccbed03c495e6092b (patch) | |
tree | 81157c010ae503677f00c2226a2c777bf88c057d /postproc/Makefile | |
parent | 92e09c5dd0b61416e13db7b7f30d09f42e53ad90 (diff) | |
download | ffmpeg-a31de95620a8eafda622347ccbed03c495e6092b.tar.gz |
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
Originally committed as revision 12699 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
Diffstat (limited to 'postproc/Makefile')
-rw-r--r-- | postproc/Makefile | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/postproc/Makefile b/postproc/Makefile index b030c72854..06caa9ad1c 100644 --- a/postproc/Makefile +++ b/postproc/Makefile @@ -4,8 +4,13 @@ include ../config.mak 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 @@ swscale-example: swscale-example.o $(SWSLIB) ifneq ($(wildcard .depend),) include .depend endif + |