Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
F
ffmpeg
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
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
ffmpeg
Commits
408bb855
Commit
408bb855
authored
Oct 11, 2015
by
Ronald S. Bultje
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
vp9: refactor itx coefficients and share between 8 and 10/12bpp.
parent
eb4b5ff7
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
91 additions
and
88 deletions
+91
-88
vp9itxfm.asm
libavcodec/x86/vp9itxfm.asm
+52
-32
vp9itxfm_16bpp.asm
libavcodec/x86/vp9itxfm_16bpp.asm
+39
-56
No files found.
libavcodec/x86/vp9itxfm.asm
View file @
408bb855
...
@@ -26,50 +26,70 @@
...
@@ -26,50 +26,70 @@
SECTION_RODATA
SECTION_RODATA
pw_11585x2
:
times
8
dw
23170
pw_m11585x2
:
times
8
dw
-
23170
pw_m11585_11585
:
times
4
dw
-
11585
,
11585
pw_11585_11585
:
times
8
dw
11585
pw_m11585_m11585
:
times
8
dw
-
11585
%macro
VP9_IDCT_COEFFS
2
-
3
0
%macro
VP9_IDCT_COEFFS
2
-
3
0
pw_
%1
x2
:
times
8
dw
%1
*
2
const
pw_m
%1
_
%2
times
4
dw
-
%1
,
%2
const
pw_
%2
_
%1
times
4
dw
%2
,
%1
%if
%3
==
1
const
pw_m
%2
_m
%1
times
4
dw
-
%2
,
-
%1
%if
%1
!
=
%2
const
pw_m
%2
_
%1
times
4
dw
-
%2
,
%1
const
pw_
%1
_
%2
times
4
dw
%1
,
%2
%endif
%endif
%if
%1
<
11585
pw_m
%1
x2
:
times
8
dw
-
%1
*
2
pw_m
%1
x2
:
times
8
dw
-
%1
*
2
%elif
%1
>
11585
pw_
%1
x2
:
times
8
dw
%1
*
2
%else
const
pw_
%1
x2
times
8
dw
%1
*
2
%endif
%if
%2
!
=
%1
pw_
%2
x2
:
times
8
dw
%2
*
2
pw_
%2
x2
:
times
8
dw
%2
*
2
pw_m
%2
x2
:
times
8
dw
-
%2
*
2
pw_m
%1
_
%2
:
times
4
dw
-
%1
,
%2
pw_
%2
_
%1
:
times
4
dw
%2
,
%1
pw_m
%2
_m
%1
:
times
4
dw
-
%2
,
-
%1
%if
%3
==
1
pw_m
%2
_
%1
:
times
4
dw
-
%2
,
%1
pw_
%1
_
%2
:
times
4
dw
%1
,
%2
%endif
%endif
%endmacro
%endmacro
VP9_IDCT_COEFFS
15137
,
6270
,
1
VP9_IDCT_COEFFS
16364
,
804
VP9_IDCT_COEFFS
16069
,
3196
,
1
VP9_IDCT_COEFFS
9102
,
13623
,
1
VP9_IDCT_COEFFS
16305
,
1606
VP9_IDCT_COEFFS
16305
,
1606
VP9_IDCT_COEFFS
10394
,
12665
VP9_IDCT_COEFFS
16069
,
3196
,
1
VP9_IDCT_COEFFS
15893
,
3981
VP9_IDCT_COEFFS
15137
,
6270
,
1
VP9_IDCT_COEFFS
14811
,
7005
VP9_IDCT_COEFFS
14449
,
7723
VP9_IDCT_COEFFS
14449
,
7723
VP9_IDCT_COEFFS
4756
,
15679
VP9_IDCT_COEFFS
13160
,
9760
VP9_IDCT_COEFFS
1
6364
,
804
VP9_IDCT_COEFFS
1
1585
,
11585
,
1
VP9_IDCT_COEFFS
11003
,
12140
VP9_IDCT_COEFFS
11003
,
12140
VP9_IDCT_COEFFS
14811
,
7005
VP9_IDCT_COEFFS
10394
,
12665
VP9_IDCT_COEFFS
5520
,
15426
VP9_IDCT_COEFFS
9102
,
13623
,
1
VP9_IDCT_COEFFS
15893
,
3981
VP9_IDCT_COEFFS
8423
,
14053
VP9_IDCT_COEFFS
8423
,
14053
VP9_IDCT_COEFFS
13160
,
9760
VP9_IDCT_COEFFS
5520
,
15426
VP9_IDCT_COEFFS
4756
,
15679
VP9_IDCT_COEFFS
2404
,
16207
VP9_IDCT_COEFFS
2404
,
16207
pw_5283_13377
:
times
4
dw
5283
,
13377
const
pw_5283_13377
pw_9929_13377
:
times
4
dw
9929
,
13377
times
4
dw
5283
,
13377
pw_15212_m13377
:
times
4
dw
15212
,
-
13377
const
pw_9929_13377
pw_15212_9929
:
times
4
dw
15212
,
9929
times
4
dw
9929
,
13377
pw_m5283_m15212
:
times
4
dw
-
5283
,
-
15212
const
pw_15212_m13377
pw_13377x2
:
times
8
dw
13377
*
2
times
4
dw
15212
,
-
13377
pw_m13377_13377
:
times
4
dw
-
13377
,
13377
const
pw_15212_9929
pw_13377_0
:
times
4
dw
13377
,
0
times
4
dw
15212
,
9929
const
pw_m5283_m15212
times
4
dw
-
5283
,
-
15212
const
pw_13377x2
times
8
dw
13377
*
2
const
pw_m13377_13377
times
4
dw
-
13377
,
13377
const
pw_13377_0
times
4
dw
13377
,
0
cextern
pw_8
cextern
pw_8
cextern
pw_16
cextern
pw_16
...
...
libavcodec/x86/vp9itxfm_16bpp.asm
View file @
408bb855
...
@@ -38,64 +38,47 @@ cextern pd_8192
...
@@ -38,64 +38,47 @@ cextern pd_8192
pd_8
:
times
4
dd
8
pd_8
:
times
4
dd
8
pd_3fff
:
times
4
dd
0x3fff
pd_3fff
:
times
4
dd
0x3fff
; FIXME these should probably be shared between 8bpp and 10/12bpp
cextern
pw_11585x2
pw_m11585_11585
:
times
4
dw
-
11585
,
11585
pw_11585_11585
:
times
8
dw
11585
cextern
pw_5283_13377
pw_m15137_6270
:
times
4
dw
-
15137
,
6270
cextern
pw_9929_13377
pw_6270_15137
:
times
4
dw
6270
,
15137
cextern
pw_15212_m13377
pw_11585x2
:
times
8
dw
11585
*
2
cextern
pw_15212_9929
cextern
pw_m5283_m15212
pw_5283_13377
:
times
4
dw
5283
,
13377
cextern
pw_13377x2
pw_9929_13377
:
times
4
dw
9929
,
13377
cextern
pw_m13377_13377
pw_15212_m13377
:
times
4
dw
15212
,
-
13377
cextern
pw_13377_0
pw_15212_9929
:
times
4
dw
15212
,
9929
pw_m5283_m15212
:
times
4
dw
-
5283
,
-
15212
pw_13377x2
:
times
8
dw
13377
*
2
pw_m13377_13377
:
times
4
dw
-
13377
,
13377
pw_13377_0
:
times
4
dw
13377
,
0
pw_9929_m5283
:
times
4
dw
9929
,
-
5283
pw_9929_m5283
:
times
4
dw
9929
,
-
5283
pw_3196_16069
:
times
4
dw
3196
,
16069
%macro
COEF_PAIR
2
-
3
pw_m16069_3196
:
times
4
dw
-
16069
,
3196
cextern
pw_m
%1
_
%2
pw_13623_9102
:
times
4
dw
13623
,
9102
cextern
pw_
%2
_
%1
pw_m9102_13623
:
times
4
dw
-
9102
,
13623
%if
%0
==
3
cextern
pw_m
%1
_m
%2
pw_1606_16305
:
times
4
dw
1606
,
16305
%if
%1
!
=
%2
pw_m16305_1606
:
times
4
dw
-
16305
,
1606
cextern
pw_m
%2
_
%1
pw_12665_10394
:
times
4
dw
12665
,
10394
cextern
pw_
%1
_
%2
pw_m10394_12665
:
times
4
dw
-
10394
,
12665
%endif
pw_7723_14449
:
times
4
dw
7723
,
14449
%endif
pw_m14449_7723
:
times
4
dw
-
14449
,
7723
%endmacro
pw_15679_4756
:
times
4
dw
15679
,
4756
pw_m4756_15679
:
times
4
dw
-
4756
,
15679
COEF_PAIR
2404
,
16207
pw_15137_6270
:
times
4
dw
15137
,
6270
COEF_PAIR
3196
,
16069
,
1
pw_m6270_15137
:
times
4
dw
-
6270
,
15137
COEF_PAIR
4756
,
15679
COEF_PAIR
5520
,
15426
pw_804_16364
:
times
4
dw
804
,
16364
COEF_PAIR
6270
,
15137
,
1
pw_m16364_804
:
times
4
dw
-
16364
,
804
COEF_PAIR
8423
,
14053
pw_12140_11003
:
times
4
dw
12140
,
11003
COEF_PAIR
10394
,
12665
pw_m11003_12140
:
times
4
dw
-
11003
,
12140
COEF_PAIR
11003
,
12140
pw_7005_14811
:
times
4
dw
7005
,
14811
COEF_PAIR
11585
,
11585
,
1
pw_m14811_7005
:
times
4
dw
-
14811
,
7005
COEF_PAIR
13160
,
9760
pw_15426_5520
:
times
4
dw
15426
,
5520
COEF_PAIR
13623
,
9102
,
1
pw_m5520_15426
:
times
4
dw
-
5520
,
15426
COEF_PAIR
14449
,
7723
pw_16069_3196
:
times
4
dw
16069
,
3196
COEF_PAIR
14811
,
7005
pw_m3196_16069
:
times
4
dw
-
3196
,
16069
COEF_PAIR
15893
,
3981
pw_3981_15893
:
times
4
dw
3981
,
15893
COEF_PAIR
16305
,
1606
pw_m15893_3981
:
times
4
dw
-
15893
,
3981
COEF_PAIR
16364
,
804
pw_14053_8423
:
times
4
dw
14053
,
8423
pw_m8423_14053
:
times
4
dw
-
8423
,
14053
pw_9760_13160
:
times
4
dw
9760
,
13160
pw_m13160_9760
:
times
4
dw
-
13160
,
9760
pw_16207_2404
:
times
4
dw
16207
,
2404
pw_m2404_16207
:
times
4
dw
-
2404
,
16207
pw_9102_13623
:
times
4
dw
9102
,
13623
pw_m13623_9102
:
times
4
dw
-
13623
,
9102
pw_m11585_m11585
:
times
8
dw
-
11585
pw_m3196_m16069
:
times
4
dw
-
3196
,
-
16069
pw_m13623_m9102
:
times
4
dw
-
13623
,
-
9102
pw_m6270_m15137
:
times
4
dw
-
6270
,
-
15137
default_8x8
:
default_8x8
:
times
12
db
1
times
12
db
1
...
...
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