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
f86d971b
Commit
f86d971b
authored
Feb 07, 2008
by
Pierre d'Herbemont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
contrib: Update ffmpeg-macosx-intel-mmx.patch.
parent
5b82daf6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
23 additions
and
23 deletions
+23
-23
extras/contrib/src/Patches/ffmpeg-macosx-intel-mmx.patch
extras/contrib/src/Patches/ffmpeg-macosx-intel-mmx.patch
+23
-23
No files found.
extras/contrib/src/Patches/ffmpeg-macosx-intel-mmx.patch
View file @
f86d971b
...
...
@@ -40,9 +40,9 @@ Index: libavcodec/i386/motion_est_mmx.c
Index: libavcodec/i386/dsputil_mmx.c
===================================================================
--- libavcodec/i386/dsputil_mmx.c (revision 11
270
)
--- libavcodec/i386/dsputil_mmx.c (revision 11
879
)
+++ libavcodec/i386/dsputil_mmx.c (working copy)
@@ -192
0,7 +1920
,7 @@
@@ -192
7,7 +1927
,7 @@
#define QPEL_V_LOW(m3,m4,m5,m6, pw_20, pw_3, rnd, in0, in1, in2, in7, out, OP)\
"paddw " #m4 ", " #m3 " \n\t" /* x1 */\
...
...
@@ -51,7 +51,7 @@ Index: libavcodec/i386/dsputil_mmx.c
"pmullw " #m3 ", %%mm4 \n\t" /* 20x1 */\
"movq "#in7", " #m3 " \n\t" /* d */\
"movq "#in0", %%mm5 \n\t" /* D */\
@@ -193
2,7 +1932
,7 @@
@@ -193
9,7 +1939
,7 @@
"paddw " #m5 ", %%mm6 \n\t" /* x2 */\
"paddw %%mm6, %%mm6 \n\t" /* 2x2 */\
"psubw %%mm6, %%mm5 \n\t" /* -2x2 + x3 */\
...
...
@@ -60,7 +60,7 @@ Index: libavcodec/i386/dsputil_mmx.c
"paddw " #rnd ", %%mm4 \n\t" /* x2 */\
"paddw %%mm4, %%mm5 \n\t" /* 20x1 - 6x2 + 3x3 - x4 */\
"psraw $5, %%mm5 \n\t"\
@@ -19
66,10 +1966
,10 @@
@@ -19
73,10 +1973
,10 @@
"paddw %%mm5, %%mm5 \n\t" /* 2b */\
"psubw %%mm5, %%mm6 \n\t" /* c - 2b */\
"pshufw $0x06, %%mm0, %%mm5 \n\t" /* 0C0B0A0A */\
...
...
@@ -73,7 +73,7 @@ Index: libavcodec/i386/dsputil_mmx.c
"psubw %%mm5, %%mm0 \n\t" /* 20a - d */\
"paddw %6, %%mm6 \n\t"\
"paddw %%mm6, %%mm0 \n\t" /* 20a - 6b + 3c - d */\
@@ -199
2,10 +1992
,10 @@
@@ -199
9,10 +1999
,10 @@
"psrlq $24, %%mm6 \n\t" /* IJKLM000 */\
"punpcklbw %%mm7, %%mm2 \n\t" /* 0F0G0H0I */\
"punpcklbw %%mm7, %%mm6 \n\t" /* 0I0J0K0L */\
...
...
@@ -86,7 +86,7 @@ Index: libavcodec/i386/dsputil_mmx.c
"psubw %%mm4, %%mm3 \n\t" /* - 6b +3c - d */\
"paddw %6, %%mm1 \n\t"\
"paddw %%mm1, %%mm3 \n\t" /* 20a - 6b +3c - d */\
@@ -20
18,7 +2018
,7 @@
@@ -20
25,7 +2025
,7 @@
"psubw %%mm5, %%mm0 \n\t" /* c - 2b */\
"movq %%mm3, %%mm5 \n\t" /* JKLMNOPQ */\
"psrlq $24, %%mm3 \n\t" /* MNOPQ000 */\
...
...
@@ -95,7 +95,7 @@ Index: libavcodec/i386/dsputil_mmx.c
"punpcklbw %%mm7, %%mm3 \n\t" /* 0M0N0O0P */\
"paddw %%mm3, %%mm2 \n\t" /* d */\
"psubw %%mm2, %%mm0 \n\t" /* -6b + 3c - d */\
@@ -20
26,7 +2026
,7 @@
@@ -20
33,7 +2033
,7 @@
"punpcklbw %%mm7, %%mm2 \n\t" /* 0J0K0L0M */\
"punpckhbw %%mm7, %%mm5 \n\t" /* 0N0O0P0Q */\
"paddw %%mm2, %%mm6 \n\t" /* a */\
...
...
@@ -104,7 +104,7 @@ Index: libavcodec/i386/dsputil_mmx.c
"paddw %6, %%mm0 \n\t"\
"paddw %%mm6, %%mm0 \n\t" /* 20a - 6b + 3c - d */\
"psraw $5, %%mm0 \n\t"\
@@ -204
1,8 +2041
,8 @@
@@ -204
8,8 +2048
,8 @@
"paddw %%mm2, %%mm5 \n\t" /* d */\
"paddw %%mm6, %%mm6 \n\t" /* 2b */\
"psubw %%mm6, %%mm4 \n\t" /* c - 2b */\
...
...
@@ -115,18 +115,18 @@ Index: libavcodec/i386/dsputil_mmx.c
"psubw %%mm5, %%mm3 \n\t" /* -6b + 3c - d */\
"paddw %6, %%mm4 \n\t"\
"paddw %%mm3, %%mm4 \n\t" /* 20a - 6b + 3c - d */\
@@ -20
55,7 +2055
,9 @@
@@ -20
62,7 +2062
,9 @@
"decl %2 \n\t"\
" jnz 1b \n\t"\
: "+a"(src), "+c"(dst), "+
m
"(h)\
: "+a"(src), "+c"(dst), "+
g
"(h)\
- : "d"((long)srcStride), "S"((long)dstStride), /*"m"(ff_pw_20), "m"(ff_pw_3),*/ "m"(temp), "m"(ROUNDER)\
+
: "d"((long)srcStride), "S"((long)dstStride),\
+ "m"(temp), "m"(ROUNDER),\
+ "m"(ff_pw_20), "m"(ff_pw_3)\
+
: "d"((long)srcStride), "S"((long)dstStride),\
+
"m"(temp), "m"(ROUNDER),\
+
"m"(ff_pw_20), "m"(ff_pw_3)\
: "memory"\
);\
}\
@@ -21
33,10 +2135
,10 @@
@@ -21
40,10 +2142
,10 @@
"paddw %%mm5, %%mm5 \n\t" /* 2b */\
"psubw %%mm5, %%mm6 \n\t" /* c - 2b */\
"pshufw $0x06, %%mm0, %%mm5 \n\t" /* 0C0B0A0A */\
...
...
@@ -139,7 +139,7 @@ Index: libavcodec/i386/dsputil_mmx.c
"psubw %%mm5, %%mm0 \n\t" /* 20a - d */\
"paddw %6, %%mm6 \n\t"\
"paddw %%mm6, %%mm0 \n\t" /* 20a - 6b + 3c - d */\
@@ -21
54,8 +2156
,8 @@
@@ -21
61,8 +2163
,8 @@
"paddw %%mm5, %%mm4 \n\t" /* d */\
"paddw %%mm2, %%mm2 \n\t" /* 2b */\
"psubw %%mm2, %%mm3 \n\t" /* c - 2b */\
...
...
@@ -150,18 +150,18 @@ Index: libavcodec/i386/dsputil_mmx.c
"psubw %%mm4, %%mm3 \n\t" /* -6b + 3c - d */\
"paddw %6, %%mm1 \n\t"\
"paddw %%mm1, %%mm3 \n\t" /* 20a - 6b + 3c - d */\
@@ -21
68,7 +2170
,9 @@
@@ -21
75,7 +2177
,9 @@
"decl %2 \n\t"\
" jnz 1b \n\t"\
: "+a"(src), "+c"(dst), "+
m
"(h)\
: "+a"(src), "+c"(dst), "+
g
"(h)\
- : "S"((long)srcStride), "D"((long)dstStride), /*"m"(ff_pw_20), "m"(ff_pw_3),*/ "m"(temp), "m"(ROUNDER)\
+ : "S"((long)srcStride), "D"((long)dstStride),\
+ "m"(temp), "m"(ROUNDER),\
+ "m"(ff_pw_20), "m"(ff_pw_3)\
+
"m"(temp), "m"(ROUNDER),\
+
"m"(ff_pw_20), "m"(ff_pw_3)\
: "memory"\
);\
}\
@@ -22
47,31 +2251
,31 @@
@@ -22
54,31 +2258
,31 @@
"movq 8(%0), %%mm1 \n\t"\
"movq 16(%0), %%mm2 \n\t"\
"movq 24(%0), %%mm3 \n\t"\
...
...
@@ -209,7 +209,7 @@ Index: libavcodec/i386/dsputil_mmx.c
\
"add $136, %0 \n\t"\
"add %6, %1 \n\t"\
@@ -22
79,7 +2283
,9 @@
@@ -22
86,7 +2290
,9 @@
" jnz 1b \n\t"\
\
: "+r"(temp_ptr), "+r"(dst), "+g"(count)\
...
...
@@ -220,7 +220,7 @@ Index: libavcodec/i386/dsputil_mmx.c
:"memory"\
);\
}\
@@ -23
19,19 +2325
,19 @@
@@ -23
26,19 +2332
,19 @@
"movq 8(%0), %%mm1 \n\t"\
"movq 16(%0), %%mm2 \n\t"\
"movq 24(%0), %%mm3 \n\t"\
...
...
@@ -248,7 +248,7 @@ Index: libavcodec/i386/dsputil_mmx.c
\
"add $72, %0 \n\t"\
"add %6, %1 \n\t"\
@@ -23
39,7 +2345
,9 @@
@@ -23
46,7 +2352
,9 @@
" jnz 1b \n\t"\
\
: "+r"(temp_ptr), "+r"(dst), "+g"(count)\
...
...
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