Mercurial > mplayer.hg
comparison 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 |
comparison
equal
deleted
inserted
replaced
12697:86ca4e017ac8 | 12698:d2aef091743c |
---|---|
2 include ../config.mak | 2 include ../config.mak |
3 | 3 |
4 SWSLIB = libswscale.a | 4 SWSLIB = libswscale.a |
5 | 5 |
6 SWSSRCS=swscale.c rgb2rgb.c yuv2rgb.c | 6 SWSSRCS=swscale.c rgb2rgb.c yuv2rgb.c |
7 | |
7 SWSOBJS=$(SWSSRCS:.c=.o) | 8 SWSOBJS=$(SWSSRCS:.c=.o) |
9 | |
10 ifeq ($(TARGET_ALTIVEC),yes) | |
11 SWSOBJS += yuv2rgb_altivec.o | |
12 endif | |
8 | 13 |
9 CFLAGS = $(OPTFLAGS) $(MLIB_INC) -I. -I.. $(EXTRA_INC) | 14 CFLAGS = $(OPTFLAGS) $(MLIB_INC) -I. -I.. $(EXTRA_INC) |
10 # -I/usr/X11R6/include/ | 15 # -I/usr/X11R6/include/ |
11 | 16 |
12 .SUFFIXES: .c .o | 17 .SUFFIXES: .c .o |
42 # include dependency files if they exist | 47 # include dependency files if they exist |
43 # | 48 # |
44 ifneq ($(wildcard .depend),) | 49 ifneq ($(wildcard .depend),) |
45 include .depend | 50 include .depend |
46 endif | 51 endif |
52 |