Commit 9747fbb2 authored by Christophe Massiot's avatar Christophe Massiot

Modifications de Polusque depuis la DR2, � savoir :

- virationnement de la saturation ;
- optimisation MMX de la conversion YUV.

--Meuuh
parent e7fa56f2
......@@ -40,14 +40,24 @@ CCFLAGS += -D_REENTRANT
CCFLAGS += -D_GNU_SOURCE
# Optimizations : don't compile debug versions with them
CCFLAGS += -O3
CCFLAGS += -ffast-math -funroll-loops -fno-function-cse -fargument-noalias-global
CCFLAGS += -O6
CCFLAGS += -ffast-math -funroll-loops -fargument-noalias-global
#CCFLAGS += -fomit-frame-pointer -s
#CCFLAGS += -malign-double
#CCFLAGS += -march=pentiumpro
#LCFLAGS += -s
# Platform-specific optimizations
# Optimizations for x86 familiy :
CCFLAGS += -malign-double
CCFLAGS += -march=pentiumpro
#CCFLAGS += -march=pentium
# MMX support :
CFLAGS += -DHAVE_MMX
assembly_obj = video_decoder_ref/idctmmx.o \
video_decoder_ref/yuv12-rgb16.o
#Optimizations for PowerPC :
#CCFLAGS += -mcpu=604e -mmultiple -mhard-float -mstring
#LCFLAGS += -s
#
# C compiler flags: dependancies
......@@ -194,7 +204,7 @@ FORCE:
# Real targets
#
vlc: $(OBJ)
$(CC) $(LCFLAGS) $(CFLAGS) -o $@ $(OBJ)
$(CC) $(LCFLAGS) $(CFLAGS) -o $@ $(OBJ) $(assembly_obj)
Documentation/cflow: $(sources)
cflow $(FCFLAGS) $(CFLAGS) $(sources) | $(FFILTER) > $@
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment