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
f5a9e8f3
Commit
f5a9e8f3
authored
Nov 03, 2006
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
merging mov & and (no speedchange)
Originally committed as revision 6889 to
svn://svn.ffmpeg.org/ffmpeg/trunk
parent
e80cf125
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
+2
-3
h264dsp_mmx.c
libavcodec/i386/h264dsp_mmx.c
+2
-3
No files found.
libavcodec/i386/h264dsp_mmx.c
View file @
f5a9e8f3
...
@@ -411,9 +411,8 @@ static inline void h264_loop_filter_luma_mmx2(uint8_t *pix, int stride, int alph
...
@@ -411,9 +411,8 @@ static inline void h264_loop_filter_luma_mmx2(uint8_t *pix, int stride, int alph
"movq (%1), %%mm3
\n\t
"
//p2
"movq (%1), %%mm3
\n\t
"
//p2
DIFF_GT2_MMX
(
%%
mm1
,
%%
mm3
,
%%
mm5
,
%%
mm6
,
%%
mm4
)
// |p2-p0|>beta-1
DIFF_GT2_MMX
(
%%
mm1
,
%%
mm3
,
%%
mm5
,
%%
mm6
,
%%
mm4
)
// |p2-p0|>beta-1
"pand %%mm7, %%mm6
\n\t
"
// mask & |p2-p0|<beta
"pand %%mm7, %%mm6
\n\t
"
// mask & |p2-p0|<beta
"movq 8+%0, %%mm4
\n\t
"
// can be merged with the and below but is slower then
"pand 8+%0, %%mm7
\n\t
"
// mask & tc0
"pand %%mm7, %%mm4
\n\t
"
// mask & tc0
"movq %%mm7, %%mm4
\n\t
"
"movq %%mm4, %%mm7
\n\t
"
"psubb %%mm6, %%mm7
\n\t
"
"psubb %%mm6, %%mm7
\n\t
"
"pand %%mm4, %%mm6
\n\t
"
// mask & |p2-p0|<beta & tc0
"pand %%mm4, %%mm6
\n\t
"
// mask & |p2-p0|<beta & tc0
H264_DEBLOCK_Q1
(
%%
mm0
,
%%
mm3
,
"(%1)"
,
"(%1,%3)"
,
%%
mm6
,
%%
mm4
)
H264_DEBLOCK_Q1
(
%%
mm0
,
%%
mm3
,
"(%1)"
,
"(%1,%3)"
,
%%
mm6
,
%%
mm4
)
...
...
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