Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-1.1
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-1.1
Commits
cfa68960
Commit
cfa68960
authored
Jun 11, 2008
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update the FFmpeg patch... Do we still need that ?
parent
775f2164
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
13 deletions
+12
-13
extras/contrib/src/Patches/ffmpeg-macosx-intel-mmx.patch
extras/contrib/src/Patches/ffmpeg-macosx-intel-mmx.patch
+12
-13
No files found.
extras/contrib/src/Patches/ffmpeg-macosx-intel-mmx.patch
View file @
cfa68960
...
...
@@ -15,8 +15,8 @@ Index: libavcodec/i386/motion_est_mmx.c
"sub $2, %0 \n\t"
" jg 1b \n\t"
: "+r" (h), "+r" (blk1), "+r" (blk2)
- : "r" ((
lon
g)stride)
+ : "r" ((
lon
g)stride), "m" (bone)
- : "r" ((
x86_re
g)stride)
+ : "r" ((
x86_re
g)stride), "m" (bone)
);
}
...
...
@@ -33,8 +33,8 @@ Index: libavcodec/i386/motion_est_mmx.c
"add %4, %%"REG_a" \n\t"
" js 1b \n\t"
: "+a" (len)
- : "r" (blk1 - len), "r" (blk1 -len + stride), "r" (blk2 - len), "r" ((
lon
g)stride)
+ : "r" (blk1 - len), "r" (blk1 -len + stride), "r" (blk2 - len), "r" ((
lon
g)stride), "m" (round_tab[0])
- : "r" (blk1 - len), "r" (blk1 -len + stride), "r" (blk2 - len), "r" ((
x86_re
g)stride)
+ : "r" (blk1 - len), "r" (blk1 -len + stride), "r" (blk2 - len), "r" ((
x86_re
g)stride), "m" (round_tab[0])
);
}
...
...
@@ -89,14 +89,13 @@ Index: libavcodec/i386/simple_idct_mmx.c
}
Index: libavcodec/i386/cavsdsp_mmx.c
===================================================================
--- libavcodec/i386/cavsdsp_mmx.c (revision 1
1727
)
--- libavcodec/i386/cavsdsp_mmx.c (revision 1
3752
)
+++ libavcodec/i386/cavsdsp_mmx.c (working copy)
@@ -2
3,9 +23,31
@@
*/
#include "dsputil.h"
@@ -2
5,8 +25,30
@@
#include "libavutil/common.h"
#include "libavutil/x86_cpu.h"
#include "
libavcodec/
dsputil.h"
-#include "dsputil_mmx.h"
#include "common.h"
+#define SUMSUB_BA( a, b ) \
+"paddw "#b", "#a" \n\t"\
...
...
@@ -131,8 +130,8 @@ Index: libavcodec/i386/flacdsp_mmx.c
@@ -26,7 +26,6 @@
double c = 2.0 / (len-1.0);
int n2 = len>>1;
lon
g i = -n2*sizeof(int32_t);
-
lon
g j = n2*sizeof(int32_t);
x86_re
g i = -n2*sizeof(int32_t);
-
x86_re
g j = n2*sizeof(int32_t);
asm volatile(
"movsd %0, %%xmm7 \n\t"
"movapd %1, %%xmm6 \n\t"
...
...
@@ -146,7 +145,7 @@ Index: libavcodec/i386/flacdsp_mmx.c
);
if(len&1)
@@ -84,9 +83,11 @@
lon
g i = -len*sizeof(double);
x86_re
g i = -len*sizeof(double);
if(j == lag-2) {
asm volatile(
- "movsd %6, %%xmm0 \n\t"
...
...
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