Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
F
ffmpeg.wasm-core
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Linshizhi
ffmpeg.wasm-core
Commits
6bf6a930
Commit
6bf6a930
authored
May 17, 2008
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Simplify vsad16_mmx().
Originally committed as revision 13191 to
svn://svn.ffmpeg.org/ffmpeg/trunk
parent
b8caf9bf
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
+2
-3
dsputilenc_mmx.c
libavcodec/i386/dsputilenc_mmx.c
+2
-3
No files found.
libavcodec/i386/dsputilenc_mmx.c
View file @
6bf6a930
...
@@ -760,16 +760,15 @@ static int vsad16_mmx(void *v, uint8_t * pix1, uint8_t * pix2, int line_size, in
...
@@ -760,16 +760,15 @@ static int vsad16_mmx(void *v, uint8_t * pix1, uint8_t * pix2, int line_size, in
"movq 8(%1),%%mm3
\n
"
"movq 8(%1),%%mm3
\n
"
"add %3,%0
\n
"
"add %3,%0
\n
"
"add %3,%1
\n
"
"add %3,%1
\n
"
"subl $2, %%ecx
\n
"
"psubb %%mm2, %%mm0
\n
"
"psubb %%mm2, %%mm0
\n
"
"psubb %%mm3, %%mm1
\n
"
"psubb %%mm3, %%mm1
\n
"
"pxor %%mm7, %%mm0
\n
"
"pxor %%mm7, %%mm0
\n
"
"pxor %%mm7, %%mm1
\n
"
"pxor %%mm7, %%mm1
\n
"
SUM
(
%%
mm0
,
%%
mm1
,
%%
mm4
,
%%
mm5
)
"jmp 2f
\n
"
"1:
\n
"
"1:
\n
"
SUM
(
%%
mm4
,
%%
mm5
,
%%
mm0
,
%%
mm1
)
SUM
(
%%
mm4
,
%%
mm5
,
%%
mm0
,
%%
mm1
)
"2:
\n
"
SUM
(
%%
mm0
,
%%
mm1
,
%%
mm4
,
%%
mm5
)
SUM
(
%%
mm0
,
%%
mm1
,
%%
mm4
,
%%
mm5
)
"subl $2, %%ecx
\n
"
"subl $2, %%ecx
\n
"
...
...
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