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
624a1a0e
Commit
624a1a0e
authored
Oct 07, 2015
by
Paul B Mahol
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avfilter/x86/vf_blend.asm: hardmix: do same with two pxor instructions less
Signed-off-by:
Paul B Mahol
<
onemda@gmail.com
>
parent
e999210c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
vf_blend.asm
libavfilter/x86/vf_blend.asm
+4
-3
No files found.
libavfilter/x86/vf_blend.asm
View file @
624a1a0e
...
...
@@ -27,6 +27,7 @@ SECTION_RODATA
pw_128
:
times
8
dw
128
pw_255
:
times
8
dw
255
pb_127
:
times
16
db
127
pb_128
:
times
16
db
128
pb_255
:
times
16
db
255
...
...
@@ -275,13 +276,14 @@ cglobal blend_darken, 9, 11, 2, 0, top, top_linesize, bottom, bottom_linesize, d
jg
.
nextrow
REP_RET
cglobal
blend_hardmix
,
9
,
11
,
4
,
0
,
top
,
top_linesize
,
bottom
,
bottom_linesize
,
dst
,
dst_linesize
,
width
,
start
,
end
cglobal
blend_hardmix
,
9
,
11
,
5
,
0
,
top
,
top_linesize
,
bottom
,
bottom_linesize
,
dst
,
dst_linesize
,
width
,
start
,
end
add
topq
,
widthq
add
bottomq
,
widthq
add
dstq
,
widthq
sub
endq
,
startq
mova
m2
,
[
pb_255
]
mova
m3
,
[
pb_128
]
mova
m4
,
[
pb_127
]
neg
widthq
.
nextrow
:
mov
r10q
,
widthq
...
...
@@ -290,9 +292,8 @@ cglobal blend_hardmix, 9, 11, 4, 0, top, top_linesize, bottom, bottom_linesize,
.
loop
:
movu
m0
,
[
topq
+
x
]
movu
m1
,
[
bottomq
+
x
]
pxor
m1
,
m
2
pxor
m1
,
m
4
pxor
m0
,
m3
pxor
m1
,
m3
pcmpgtb
m1
,
m0
pxor
m1
,
m2
mova
[
dstq
+
x
]
,
m1
...
...
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