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
e11ceea6
Commit
e11ceea6
authored
Jan 11, 2014
by
Clément Bœsch
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
vp9/x86: factor out some code in VP9_UNPACK_MULSUB_2W_4X.
parent
c9aa0b8f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
8 deletions
+9
-8
vp9itxfm.asm
libavcodec/x86/vp9itxfm.asm
+9
-8
No files found.
libavcodec/x86/vp9itxfm.asm
View file @
e11ceea6
...
...
@@ -70,21 +70,22 @@ SECTION .text
psrad
m%2
,
14
%endmacro
%macro
VP9_UNPACK_MULSUB_2W_4X
7
-
9
; dst1, dst2, (src1, src2,) coef1, coef2, rnd, tmp1, tmp2
%if
%0
==
7
punpckhwd
m%6
,
m%2
,
m%1
%macro
VP9_MULSUB_2W_4X
7
; dst1, dst2, coef1, coef2, rnd, tmp1/src, tmp2
VP9_MULSUB_2W_2X
%7
,
%6
,
%5
,
[
pw_m
%3
_
%4
]
,
[
pw_
%4
_
%3
]
punpcklwd
m%2
,
m%1
VP9_MULSUB_2W_2X
%1
,
%2
,
%5
,
[
pw_m
%3
_
%4
]
,
[
pw_
%4
_
%3
]
packssdw
m%1
,
m%7
packssdw
m%2
,
m%6
%endmacro
%macro
VP9_UNPACK_MULSUB_2W_4X
7
-
9
; dst1, dst2, (src1, src2,) coef1, coef2, rnd, tmp1, tmp2
%if
%0
==
7
punpckhwd
m%6
,
m%2
,
m%1
punpcklwd
m%2
,
m%1
VP9_MULSUB_2W_4X
%1
,
%2
,
%3
,
%4
,
%5
,
%6
,
%7
%else
punpckhwd
m%8
,
m%4
,
m%3
VP9_MULSUB_2W_2X
%9
,
%8
,
%7
,
[
pw_m
%5
_
%6
]
,
[
pw_
%6
_
%5
]
punpcklwd
m%2
,
m%4
,
m%3
VP9_MULSUB_2W_2X
%1
,
%2
,
%7
,
[
pw_m
%5
_
%6
]
,
[
pw_
%6
_
%5
]
packssdw
m%1
,
m%9
packssdw
m%2
,
m%8
VP9_MULSUB_2W_4X
%1
,
%2
,
%5
,
%6
,
%7
,
%8
,
%9
%endif
%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