Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-gpu
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-gpu
Commits
d7119bf8
Commit
d7119bf8
authored
Apr 07, 2009
by
Felix Paul Kühne
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
contribs: forward-port Derk-Jan's libswscale fixes (PPC only)
parent
17cbf681
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
28 additions
and
1 deletion
+28
-1
extras/contrib/src/Makefile
extras/contrib/src/Makefile
+4
-1
extras/contrib/src/Patches/ffmpeg-swscale.patch
extras/contrib/src/Patches/ffmpeg-swscale.patch
+24
-0
No files found.
extras/contrib/src/Makefile
View file @
d7119bf8
...
...
@@ -1087,6 +1087,9 @@ endif
ifdef
HAVE_DARWIN_OS_ON_INTEL
(
cd
$@
;
patch
-p0
< ../Patches/ffmpeg-macosx-intel-mmx.patch
)
endif
ifdef
HAVE_DARWIN_OS
(
cd
$@
;
patch
-p0
< ../Patches/ffmpeg-swscale.patch
)
endif
ifdef
HAVE_UCLIBC
patch
-p0
< Patches/ffmpeg-svn-uclibc.patch
patch
-p0
< Patches/ffmpeg-svn-internal-define.patch
...
...
@@ -2491,7 +2494,7 @@ liboil: liboil-$(OIL_VERSION).tar.gz
.liboil
:
liboil
ifdef
HAVE_DARWIN_OS
(
cd
$<
;
$(HOSTCC)
./configure
$(HOSTCONF)
--
disable-glib
--prefix
=
$(PREFIX)
CFLAGS
=
"
$(CFLAGS)
-O4
"
)
(
cd
$<
;
$(HOSTCC)
./configure
$(HOSTCONF)
--
prefix
=
$(PREFIX)
CFLAGS
=
"
$(CFLAGS)
"
)
else
(
cd
$<
;
$(HOSTCC)
./configure
$(HOSTCONF)
--prefix
=
$(PREFIX)
CFLAGS
=
"
$(CFLAGS)
-O2"
)
endif
...
...
extras/contrib/src/Patches/ffmpeg-swscale.patch
0 → 100644
View file @
d7119bf8
diff -ruN libswscale/swscale.c libswscale/swscale.c
--- libswscale/swscale.c 2009-04-03 19:36:49.000000000 +0200
+++ libswscale/swscale.c 2009-04-03 19:40:06.000000000 +0200
@@ -1101,8 +1101,7 @@
#endif
#if ARCH_PPC
-#if (HAVE_ALTIVEC || defined (RUNTIME_CPUDETECT)) && CONFIG_GPL
-#undef COMPILE_C
+#if HAVE_ALTIVEC || defined (RUNTIME_CPUDETECT)
#define COMPILE_ALTIVEC
#endif
#endif //ARCH_PPC
@@ -1778,8 +1777,8 @@
static SwsFunc getSwsFunc(int flags){
-#if defined(RUNTIME_CPUDETECT) && CONFIG_GPL
-#if ARCH_X86
+#if defined(RUNTIME_CPUDETECT)
+#if ARCH_X86 && CONFIG_GPL
// ordered per speed fastest first
if (flags & SWS_CPU_CAPS_MMX2)
return swScale_MMX2;
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