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
616da595
Commit
616da595
authored
Nov 21, 2013
by
Clément Bœsch
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avcodec/x86/vp9dsp: merge a few SWAP together.
parent
81d0252d
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
6 deletions
+3
-6
vp9dsp.asm
libavcodec/x86/vp9dsp.asm
+3
-6
No files found.
libavcodec/x86/vp9dsp.asm
View file @
616da595
...
@@ -150,8 +150,7 @@ SECTION .text
...
@@ -150,8 +150,7 @@ SECTION .text
%macro
VP9_IDCT4_1D_FINALIZE
0
%macro
VP9_IDCT4_1D_FINALIZE
0
SUMSUB_BA
w
,
3
,
2
,
4
; m3=t3+t0, m2=-t3+t0
SUMSUB_BA
w
,
3
,
2
,
4
; m3=t3+t0, m2=-t3+t0
SUMSUB_BA
w
,
1
,
0
,
4
; m1=t2+t1, m0=-t2+t1
SUMSUB_BA
w
,
1
,
0
,
4
; m1=t2+t1, m0=-t2+t1
SWAP
0
,
3
; 3102 -> 0132
SWAP
0
,
3
,
2
; 3102 -> 0123
SWAP
3
,
2
; 0132 -> 0123
%endmacro
%endmacro
%macro
VP9_IDCT4_1D
0
%macro
VP9_IDCT4_1D
0
...
@@ -250,10 +249,8 @@ cglobal vp9_idct_idct_4x4_add, 4,4,0, dst, stride, block, eob
...
@@ -250,10 +249,8 @@ cglobal vp9_idct_idct_4x4_add, 4,4,0, dst, stride, block, eob
SUMSUB_BA
w
,
1
,
2
,
4
; m1=t1+t6, m2=t1-t6
SUMSUB_BA
w
,
1
,
2
,
4
; m1=t1+t6, m2=t1-t6
SUMSUB_BA
w
,
11
,
0
,
4
; m11=t2+t5, m0=t2-t5
SUMSUB_BA
w
,
11
,
0
,
4
; m11=t2+t5, m0=t2-t5
SUMSUB_BA
w
,
9
,
8
,
4
; m9=t3+t4, m8=t3-t4
SUMSUB_BA
w
,
9
,
8
,
4
; m9=t3+t4, m8=t3-t4
SWAP
11
,
10
SWAP
11
,
10
,
2
SWAP
9
,
3
SWAP
3
,
9
,
0
SWAP
10
,
2
SWAP
9
,
0
%endmacro
%endmacro
%macro
VP9_IDCT8_1D
0
%macro
VP9_IDCT8_1D
0
...
...
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