mirror of
https://code.videolan.org/videolan/vlc
synced 2024-09-04 09:11:33 +02:00
Modifications de Polusque depuis la DR2, � savoir :
- virationnement de la saturation ; - optimisation MMX de la conversion YUV. --Meuuh
This commit is contained in:
parent
e7fa56f22f
commit
9747fbb25f
24
Makefile
24
Makefile
@ -40,15 +40,25 @@ CCFLAGS += -D_REENTRANT
|
|||||||
CCFLAGS += -D_GNU_SOURCE
|
CCFLAGS += -D_GNU_SOURCE
|
||||||
|
|
||||||
# Optimizations : don't compile debug versions with them
|
# Optimizations : don't compile debug versions with them
|
||||||
CCFLAGS += -O3
|
CCFLAGS += -O6
|
||||||
CCFLAGS += -ffast-math -funroll-loops -fno-function-cse -fargument-noalias-global
|
CCFLAGS += -ffast-math -funroll-loops -fargument-noalias-global
|
||||||
#CCFLAGS += -fomit-frame-pointer -s
|
#CCFLAGS += -fomit-frame-pointer -s
|
||||||
#CCFLAGS += -malign-double
|
|
||||||
#CCFLAGS += -march=pentiumpro
|
|
||||||
#CCFLAGS += -march=pentium
|
|
||||||
#CCFLAGS += -mcpu=604e -mmultiple -mhard-float -mstring
|
|
||||||
#LCFLAGS += -s
|
#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
|
||||||
|
|
||||||
#
|
#
|
||||||
# C compiler flags: dependancies
|
# C compiler flags: dependancies
|
||||||
#
|
#
|
||||||
@ -194,7 +204,7 @@ FORCE:
|
|||||||
# Real targets
|
# Real targets
|
||||||
#
|
#
|
||||||
vlc: $(OBJ)
|
vlc: $(OBJ)
|
||||||
$(CC) $(LCFLAGS) $(CFLAGS) -o $@ $(OBJ)
|
$(CC) $(LCFLAGS) $(CFLAGS) -o $@ $(OBJ) $(assembly_obj)
|
||||||
|
|
||||||
Documentation/cflow: $(sources)
|
Documentation/cflow: $(sources)
|
||||||
cflow $(FCFLAGS) $(CFLAGS) $(sources) | $(FFILTER) > $@
|
cflow $(FCFLAGS) $(CFLAGS) $(sources) | $(FFILTER) > $@
|
||||||
|
Loading…
Reference in New Issue
Block a user