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
09804cdb
Commit
09804cdb
authored
Jan 31, 2008
by
Pierre d'Herbemont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ffmpeg-svn-mmx_removal-darwin9.patch: Update to match ffmpeg svn.
parent
4ecf7a64
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
5 deletions
+9
-5
extras/contrib/src/Patches/ffmpeg-svn-mmx_removal-darwin9.patch
.../contrib/src/Patches/ffmpeg-svn-mmx_removal-darwin9.patch
+9
-5
No files found.
extras/contrib/src/Patches/ffmpeg-svn-mmx_removal-darwin9.patch
View file @
09804cdb
...
@@ -20,7 +20,7 @@ Index: libswscale/yuv2rgb.c
...
@@ -20,7 +20,7 @@ Index: libswscale/yuv2rgb.c
{117504, 138453, 13954, 34903}, /* no sequence_display_extension */
{117504, 138453, 13954, 34903}, /* no sequence_display_extension */
Index: libswscale/swscale.c
Index: libswscale/swscale.c
===================================================================
===================================================================
--- libswscale/swscale.c (revision 25
527
)
--- libswscale/swscale.c (revision 25
943
)
+++ libswscale/swscale.c (working copy)
+++ libswscale/swscale.c (working copy)
@@ -875,9 +875,7 @@
@@ -875,9 +875,7 @@
...
@@ -48,10 +48,10 @@ Index: libswscale/swscale.c
...
@@ -48,10 +48,10 @@ Index: libswscale/swscale.c
#undef HAVE_MMX
#undef HAVE_MMX
#undef HAVE_MMX2
#undef HAVE_MMX2
@@ -1544,1
3 +1544,6
@@
@@ -1544,1
5 +1544,8
@@
#if defined(RUNTIME_CPUDETECT) && defined (CONFIG_GPL)
#if defined(RUNTIME_CPUDETECT) && defined (CONFIG_GPL)
#if defined(ARCH_X86)
#if defined(ARCH_X86)
// ordered per speed faste
r
st first
// ordered per speed fastest first
- if (flags & SWS_CPU_CAPS_MMX2)
- if (flags & SWS_CPU_CAPS_MMX2)
- return swScale_MMX2;
- return swScale_MMX2;
- else if (flags & SWS_CPU_CAPS_3DNOW)
- else if (flags & SWS_CPU_CAPS_3DNOW)
...
@@ -59,9 +59,13 @@ Index: libswscale/swscale.c
...
@@ -59,9 +59,13 @@ Index: libswscale/swscale.c
- else if (flags & SWS_CPU_CAPS_MMX)
- else if (flags & SWS_CPU_CAPS_MMX)
- return swScale_MMX;
- return swScale_MMX;
- else
- else
return swScale_C;
- return swScale_C;
-
+ /* VLC Hack: only C */
+ return swScale_C;
#else
#else
#ifdef ARCH_POWERPC
if (flags & SWS_CPU_CAPS_ALTIVEC)
Index: libswscale/rgb2rgb.c
Index: libswscale/rgb2rgb.c
===================================================================
===================================================================
--- libswscale/rgb2rgb.c (revision 25527)
--- libswscale/rgb2rgb.c (revision 25527)
...
...
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