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
ca5c3ff9
Commit
ca5c3ff9
authored
Nov 15, 2014
by
Michael Niedermayer
Committed by
Vittorio Giovara
Nov 25, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
vf_interlace: x86: improve asm performance
4775 decicycles -> 3688 decicycles
parent
57ed5a64
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
19 additions
and
27 deletions
+19
-27
vf_interlace.asm
libavfilter/x86/vf_interlace.asm
+19
-27
No files found.
libavfilter/x86/vf_interlace.asm
View file @
ca5c3ff9
...
...
@@ -2,6 +2,7 @@
;* x86-optimized functions for interlace filter
;*
;* Copyright (C) 2014 Kieran Kunhya <kierank@obe.tv>
;* Copyright (c) 2014 Michael Niedermayer <michaelni@gmx.at>
;*
;* This file is part of Libav.
;*
...
...
@@ -34,36 +35,27 @@ cglobal lowpass_line, 5, 5, 7
add
r4
,
r1
neg
r1
p
xor
m6
,
m6
p
cmpeqb
m6
,
m6
.
loop
mova
m0
,
[
r2
+
r1
]
punpcklbw
m1
,
m0
,
m6
punpckhbw
m0
,
m6
paddw
m0
,
m0
paddw
m1
,
m1
mova
m0
,
[
r3
+
r1
]
mova
m1
,
[
r3
+
r1
+
mmsize
]
pavgb
m0
,
[
r4
+
r1
]
pavgb
m1
,
[
r4
+
r1
+
mmsize
]
mova
m2
,
[
r2
+
r1
]
mova
m3
,
[
r2
+
r1
+
mmsize
]
pxor
m0
,
m6
pxor
m1
,
m6
pxor
m2
,
m6
,
[
r2
+
r1
]
pxor
m3
,
m6
,
[
r2
+
r1
+
mmsize
]
pavgb
m0
,
m2
pavgb
m1
,
m3
pxor
m0
,
m6
pxor
m1
,
m6
mova
[
r0
+
r1
]
,
m0
mova
[
r0
+
r1
+
mmsize
]
,
m1
mova
m2
,
[
r3
+
r1
]
punpcklbw
m3
,
m2
,
m6
punpckhbw
m2
,
m6
mova
m4
,
[
r4
+
r1
]
punpcklbw
m5
,
m4
,
m6
punpckhbw
m4
,
m6
paddw
m1
,
m3
pavgw
m1
,
m5
paddw
m0
,
m2
pavgw
m0
,
m4
psrlw
m0
,
1
psrlw
m1
,
1
packuswb
m1
,
m0
mova
[
r0
+
r1
]
,
m1
add
r1
,
mmsize
add
r1
,
2
*
mmsize
jl
.
loop
REP_RET
%endmacro
...
...
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