Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc
Commits
f902e5bd
Commit
f902e5bd
authored
Oct 15, 2006
by
Felix Paul Kühne
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* disable SSE2 optmisations in quite a hacky way, but enable MMX
parent
0048d658
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
15 additions
and
5 deletions
+15
-5
extras/contrib/src/Makefile
extras/contrib/src/Makefile
+4
-0
extras/contrib/src/Patches/x264-osx-intel.patch
extras/contrib/src/Patches/x264-osx-intel.patch
+11
-0
modules/codec/x264.c
modules/codec/x264.c
+0
-5
No files found.
extras/contrib/src/Makefile
View file @
f902e5bd
...
...
@@ -1208,7 +1208,11 @@ ifeq ($(HOST),i686-apple-darwin8)
else
.x264
:
x264
endif
ifeq
($(HOST),i686-apple-darwin8)
(
cd
$<
;
./configure
$(X264CONF)
--prefix
=
"
$(PREFIX)
"
&&
patch
-p0
<../Patches/x264-osx-intel.patch
&&
make
&&
make
install
)
else
(
cd
$<
;
./configure
$(X264CONF)
--prefix
=
"
$(PREFIX)
"
&&
make
&&
make
install
)
endif
touch
$@
CLEAN_FILE
+=
.x264
...
...
extras/contrib/src/Patches/x264-osx-intel.patch
0 → 100644
View file @
f902e5bd
--- config.mak 2006-10-15 16:52:23.000000000 +0200
+++ config.mak 2006-10-15 16:52:34.000000000 +0200
@@ -6,7 +6,7 @@
ARCH=X86
SYS=MACOSX
CC=gcc
-CFLAGS=-Wall -I. -O4 -ffast-math -D__X264__ -falign-loops=16 -DHAVE_MMXEXT -DHAVE_SSE2 -DARCH_X86 -DSYS_MACOSX -DHAVE_PTHREAD -fPIC -s -fomit-frame-pointer
+CFLAGS=-Wall -I. -O4 -ffast-math -D__X264__ -falign-loops=16 -DHAVE_MMXEXT -DARCH_X86 -DSYS_MACOSX -DHAVE_PTHREAD -fPIC -s -fomit-frame-pointer
LDFLAGS= -lm -lmx -lpthread -s
AS=nasm
ASFLAGS=-O2 -f macho -DPREFIX -D__PIC__
modules/codec/x264.c
View file @
f902e5bd
...
...
@@ -554,13 +554,8 @@ vlc_module_begin();
/* Input/Output */
#if defined(__DARWIN__) && defined(__INTEL__)
add_bool
(
SOUT_CFG_PREFIX
"asm"
,
0
,
NULL
,
ASM_TEXT
,
ASM_LONGTEXT
,
VLC_FALSE
);
#else
add_bool
(
SOUT_CFG_PREFIX
"asm"
,
1
,
NULL
,
ASM_TEXT
,
ASM_LONGTEXT
,
VLC_FALSE
);
#endif
/* x264 psnr = 1 (default). disable PSNR computation for speed. */
add_bool
(
SOUT_CFG_PREFIX
"psnr"
,
0
,
NULL
,
PSNR_TEXT
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment