Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Xiph.Org
aomrav1e
Commits
dfa532cc
Commit
dfa532cc
authored
Apr 14, 2016
by
Angie Chiang
Browse files
Let txfm's constant bit be the same for each stage
ChangeId: I763f2924afca526db371231bca18b38879bdf793
parent
02d23fbb
Changes
2
Hide whitespace changes
Inline
Sidebyside
vp10/common/vp10_fwd_txfm2d_cfg.h
View file @
dfa532cc
...
...
@@ 36,7 +36,7 @@ static const int8_t fwd_shift_dct_dct_8[3] = {3, 1, 1};
static
const
int8_t
fwd_stage_range_col_dct_dct_8
[
6
]
=
{
16
,
17
,
18
,
19
,
19
,
19
};
static
const
int8_t
fwd_stage_range_row_dct_dct_8
[
6
]
=
{
18
,
19
,
20
,
20
,
20
,
20
};
static
const
int8_t
fwd_cos_bit_col_dct_dct_8
[
6
]
=
{
13
,
13
,
13
,
13
,
13
,
13
};
static
const
int8_t
fwd_cos_bit_row_dct_dct_8
[
6
]
=
{
1
3
,
1
3
,
12
,
12
,
12
,
12
};
static
const
int8_t
fwd_cos_bit_row_dct_dct_8
[
6
]
=
{
1
2
,
1
2
,
12
,
12
,
12
,
12
};
static
const
TXFM_2D_CFG
fwd_txfm_2d_cfg_dct_dct_8
=
{
8
,
// .txfm_size
...
...
@@ 59,7 +59,7 @@ static const int8_t fwd_stage_range_row_dct_dct_16[8] = {17, 18, 19, 20,
20
,
20
,
20
,
20
};
static
const
int8_t
fwd_cos_bit_col_dct_dct_16
[
8
]
=
{
13
,
13
,
13
,
13
,
13
,
13
,
13
,
13
};
static
const
int8_t
fwd_cos_bit_row_dct_dct_16
[
8
]
=
{
1
3
,
1
3
,
1
3
,
12
,
static
const
int8_t
fwd_cos_bit_row_dct_dct_16
[
8
]
=
{
1
2
,
1
2
,
1
2
,
12
,
12
,
12
,
12
,
12
};
static
const
TXFM_2D_CFG
fwd_txfm_2d_cfg_dct_dct_16
=
{
...
...
@@ 81,9 +81,9 @@ static const int8_t fwd_stage_range_col_dct_dct_32[10] = {15, 16, 17, 18, 19,
20
,
20
,
20
,
20
,
20
};
static
const
int8_t
fwd_stage_range_row_dct_dct_32
[
10
]
=
{
16
,
17
,
18
,
19
,
20
,
20
,
20
,
20
,
20
,
20
};
static
const
int8_t
fwd_cos_bit_col_dct_dct_32
[
10
]
=
{
1
3
,
1
3
,
1
3
,
1
3
,
1
3
,
static
const
int8_t
fwd_cos_bit_col_dct_dct_32
[
10
]
=
{
1
2
,
1
2
,
1
2
,
1
2
,
1
2
,
12
,
12
,
12
,
12
,
12
};
static
const
int8_t
fwd_cos_bit_row_dct_dct_32
[
10
]
=
{
1
3
,
1
3
,
1
3
,
1
3
,
12
,
static
const
int8_t
fwd_cos_bit_row_dct_dct_32
[
10
]
=
{
1
2
,
1
2
,
1
2
,
1
2
,
12
,
12
,
12
,
12
,
12
,
12
};
static
const
TXFM_2D_CFG
fwd_txfm_2d_cfg_dct_dct_32
=
{
...
...
@@ 150,8 +150,8 @@ static const int8_t fwd_stage_range_col_dct_adst_8[6] = {16, 17, 18,
static
const
int8_t
fwd_stage_range_row_dct_adst_8
[
8
]
=
{
18
,
18
,
18
,
19
,
19
,
20
,
20
,
20
};
static
const
int8_t
fwd_cos_bit_col_dct_adst_8
[
6
]
=
{
13
,
13
,
13
,
13
,
13
,
13
};
static
const
int8_t
fwd_cos_bit_row_dct_adst_8
[
8
]
=
{
1
3
,
1
3
,
1
3
,
1
3
,
1
3
,
12
,
12
,
12
};
static
const
int8_t
fwd_cos_bit_row_dct_adst_8
[
8
]
=
{
1
2
,
1
2
,
1
2
,
1
2
,
1
2
,
12
,
12
,
12
};
static
const
TXFM_2D_CFG
fwd_txfm_2d_cfg_dct_adst_8
=
{
8
,
// .txfm_size
...
...
@@ 174,8 +174,8 @@ static const int8_t fwd_stage_range_row_dct_adst_16[10] = {17, 17, 17, 18, 18,
19
,
19
,
20
,
20
,
20
};
static
const
int8_t
fwd_cos_bit_col_dct_adst_16
[
8
]
=
{
13
,
13
,
13
,
13
,
13
,
13
,
13
,
13
};
static
const
int8_t
fwd_cos_bit_row_dct_adst_16
[
10
]
=
{
1
3
,
1
3
,
1
3
,
1
3
,
1
3
,
1
3
,
1
3
,
12
,
12
,
12
};
static
const
int8_t
fwd_cos_bit_row_dct_adst_16
[
10
]
=
{
1
2
,
1
2
,
1
2
,
1
2
,
1
2
,
1
2
,
1
2
,
12
,
12
,
12
};
static
const
TXFM_2D_CFG
fwd_txfm_2d_cfg_dct_adst_16
=
{
16
,
// .txfm_size
...
...
@@ 196,10 +196,10 @@ static const int8_t fwd_stage_range_col_dct_adst_32[10] = {15, 16, 17, 18, 19,
20
,
20
,
20
,
20
,
20
};
static
const
int8_t
fwd_stage_range_row_dct_adst_32
[
12
]
=
{
16
,
16
,
16
,
17
,
17
,
18
,
18
,
19
,
19
,
20
,
20
,
20
};
static
const
int8_t
fwd_cos_bit_col_dct_adst_32
[
10
]
=
{
1
3
,
1
3
,
1
3
,
1
3
,
1
3
,
static
const
int8_t
fwd_cos_bit_col_dct_adst_32
[
10
]
=
{
1
2
,
1
2
,
1
2
,
1
2
,
1
2
,
12
,
12
,
12
,
12
,
12
};
static
const
int8_t
fwd_cos_bit_row_dct_adst_32
[
12
]
=
{
1
3
,
1
3
,
1
3
,
1
3
,
1
3
,
1
3
,
1
3
,
1
3
,
1
3
,
12
,
12
,
12
};
static
const
int8_t
fwd_cos_bit_row_dct_adst_32
[
12
]
=
{
1
2
,
1
2
,
1
2
,
1
2
,
1
2
,
1
2
,
1
2
,
1
2
,
1
2
,
12
,
12
,
12
};
static
const
TXFM_2D_CFG
fwd_txfm_2d_cfg_dct_adst_32
=
{
32
,
// .txfm_size
...
...
@@ 243,8 +243,8 @@ static const int8_t fwd_stage_range_row_adst_adst_8[8] = {18, 18, 18, 19,
19
,
20
,
20
,
20
};
static
const
int8_t
fwd_cos_bit_col_adst_adst_8
[
8
]
=
{
13
,
13
,
13
,
13
,
13
,
13
,
13
,
13
};
static
const
int8_t
fwd_cos_bit_row_adst_adst_8
[
8
]
=
{
1
3
,
1
3
,
1
3
,
1
3
,
1
3
,
12
,
12
,
12
};
static
const
int8_t
fwd_cos_bit_row_adst_adst_8
[
8
]
=
{
1
2
,
1
2
,
1
2
,
1
2
,
1
2
,
12
,
12
,
12
};
static
const
TXFM_2D_CFG
fwd_txfm_2d_cfg_adst_adst_8
=
{
8
,
// .txfm_size
...
...
@@ 267,8 +267,8 @@ static const int8_t fwd_stage_range_row_adst_adst_16[10] = {17, 17, 17, 18, 18,
19
,
19
,
20
,
20
,
20
};
static
const
int8_t
fwd_cos_bit_col_adst_adst_16
[
10
]
=
{
13
,
13
,
13
,
13
,
13
,
13
,
13
,
13
,
13
,
13
};
static
const
int8_t
fwd_cos_bit_row_adst_adst_16
[
10
]
=
{
1
3
,
1
3
,
1
3
,
1
3
,
1
3
,
1
3
,
1
3
,
12
,
12
,
12
};
static
const
int8_t
fwd_cos_bit_row_adst_adst_16
[
10
]
=
{
1
2
,
1
2
,
1
2
,
1
2
,
1
2
,
1
2
,
1
2
,
12
,
12
,
12
};
static
const
TXFM_2D_CFG
fwd_txfm_2d_cfg_adst_adst_16
=
{
16
,
// .txfm_size
...
...
@@ 289,10 +289,10 @@ static const int8_t fwd_stage_range_col_adst_adst_32[12] = {
15
,
15
,
16
,
17
,
17
,
18
,
18
,
19
,
19
,
20
,
20
,
20
};
static
const
int8_t
fwd_stage_range_row_adst_adst_32
[
12
]
=
{
16
,
16
,
16
,
17
,
17
,
18
,
18
,
19
,
19
,
20
,
20
,
20
};
static
const
int8_t
fwd_cos_bit_col_adst_adst_32
[
12
]
=
{
1
3
,
1
3
,
1
3
,
1
3
,
1
3
,
1
3
,
1
3
,
1
3
,
1
3
,
12
,
12
,
12
};
static
const
int8_t
fwd_cos_bit_row_adst_adst_32
[
12
]
=
{
1
3
,
1
3
,
1
3
,
1
3
,
1
3
,
1
3
,
1
3
,
1
3
,
1
3
,
12
,
12
,
12
};
static
const
int8_t
fwd_cos_bit_col_adst_adst_32
[
12
]
=
{
1
2
,
1
2
,
1
2
,
1
2
,
1
2
,
1
2
,
1
2
,
1
2
,
1
2
,
12
,
12
,
12
};
static
const
int8_t
fwd_cos_bit_row_adst_adst_32
[
12
]
=
{
1
2
,
1
2
,
1
2
,
1
2
,
1
2
,
1
2
,
1
2
,
1
2
,
1
2
,
12
,
12
,
12
};
static
const
TXFM_2D_CFG
fwd_txfm_2d_cfg_adst_adst_32
=
{
32
,
// .txfm_size
...
...
@@ 336,7 +336,7 @@ static const int8_t fwd_stage_range_row_adst_dct_8[6] = {18, 19, 20,
20
,
20
,
20
};
static
const
int8_t
fwd_cos_bit_col_adst_dct_8
[
8
]
=
{
13
,
13
,
13
,
13
,
13
,
13
,
13
,
13
};
static
const
int8_t
fwd_cos_bit_row_adst_dct_8
[
6
]
=
{
1
3
,
1
3
,
12
,
12
,
12
,
12
};
static
const
int8_t
fwd_cos_bit_row_adst_dct_8
[
6
]
=
{
1
2
,
1
2
,
12
,
12
,
12
,
12
};
static
const
TXFM_2D_CFG
fwd_txfm_2d_cfg_adst_dct_8
=
{
8
,
// .txfm_size
...
...
@@ 359,7 +359,7 @@ static const int8_t fwd_stage_range_row_adst_dct_16[8] = {17, 18, 19, 20,
20
,
20
,
20
,
20
};
static
const
int8_t
fwd_cos_bit_col_adst_dct_16
[
10
]
=
{
13
,
13
,
13
,
13
,
13
,
13
,
13
,
13
,
13
,
13
};
static
const
int8_t
fwd_cos_bit_row_adst_dct_16
[
8
]
=
{
1
3
,
1
3
,
1
3
,
12
,
static
const
int8_t
fwd_cos_bit_row_adst_dct_16
[
8
]
=
{
1
2
,
1
2
,
1
2
,
12
,
12
,
12
,
12
,
12
};
static
const
TXFM_2D_CFG
fwd_txfm_2d_cfg_adst_dct_16
=
{
...
...
@@ 381,9 +381,9 @@ static const int8_t fwd_stage_range_col_adst_dct_32[12] = {
15
,
15
,
16
,
17
,
17
,
18
,
18
,
19
,
19
,
20
,
20
,
20
};
static
const
int8_t
fwd_stage_range_row_adst_dct_32
[
10
]
=
{
16
,
17
,
18
,
19
,
20
,
20
,
20
,
20
,
20
,
20
};
static
const
int8_t
fwd_cos_bit_col_adst_dct_32
[
12
]
=
{
1
3
,
1
3
,
1
3
,
1
3
,
1
3
,
1
3
,
1
3
,
1
3
,
1
3
,
12
,
12
,
12
};
static
const
int8_t
fwd_cos_bit_row_adst_dct_32
[
10
]
=
{
1
3
,
1
3
,
1
3
,
1
3
,
12
,
static
const
int8_t
fwd_cos_bit_col_adst_dct_32
[
12
]
=
{
1
2
,
1
2
,
1
2
,
1
2
,
1
2
,
1
2
,
1
2
,
1
2
,
1
2
,
12
,
12
,
12
};
static
const
int8_t
fwd_cos_bit_row_adst_dct_32
[
10
]
=
{
1
2
,
1
2
,
1
2
,
1
2
,
12
,
12
,
12
,
12
,
12
,
12
};
static
const
TXFM_2D_CFG
fwd_txfm_2d_cfg_adst_dct_32
=
{
...
...
vp10/common/vp10_inv_txfm2d_cfg.h
View file @
dfa532cc
...
...
@@ 35,7 +35,7 @@ static const TXFM_2D_CFG inv_txfm_2d_cfg_dct_dct_4 = {
static
const
int8_t
inv_shift_dct_dct_8
[
2
]
=
{
1
,

6
};
static
const
int8_t
inv_stage_range_col_dct_dct_8
[
6
]
=
{
20
,
20
,
20
,
20
,
19
,
19
};
static
const
int8_t
inv_stage_range_row_dct_dct_8
[
6
]
=
{
19
,
19
,
19
,
19
,
19
,
19
};
static
const
int8_t
inv_cos_bit_col_dct_dct_8
[
6
]
=
{
12
,
12
,
12
,
12
,
12
,
1
3
};
static
const
int8_t
inv_cos_bit_col_dct_dct_8
[
6
]
=
{
12
,
12
,
12
,
12
,
12
,
1
2
};
static
const
int8_t
inv_cos_bit_row_dct_dct_8
[
6
]
=
{
13
,
13
,
13
,
13
,
13
,
13
};
static
const
TXFM_2D_CFG
inv_txfm_2d_cfg_dct_dct_8
=
{
...
...
@@ 106,7 +106,7 @@ static const int8_t inv_stage_range_col_dct_dct_64[12] = {
static
const
int8_t
inv_stage_range_row_dct_dct_64
[
12
]
=
{
20
,
20
,
20
,
20
,
20
,
20
,
20
,
20
,
20
,
20
,
20
,
20
};
static
const
int8_t
inv_cos_bit_col_dct_dct_64
[
12
]
=
{
13
,
13
,
13
,
13
,
13
,
13
,
13
,
13
,
13
,
13
,
13
,
1
4
};
13
,
13
,
13
,
13
,
13
,
1
3
};
static
const
int8_t
inv_cos_bit_row_dct_dct_64
[
12
]
=
{
12
,
12
,
12
,
12
,
12
,
12
,
12
,
12
,
12
,
12
,
12
,
12
};
...
...
@@ 149,7 +149,7 @@ static const int8_t inv_stage_range_col_dct_adst_8[6] = {20, 20, 20,
20
,
19
,
19
};
static
const
int8_t
inv_stage_range_row_dct_adst_8
[
8
]
=
{
19
,
19
,
19
,
19
,
19
,
19
,
19
,
19
};
static
const
int8_t
inv_cos_bit_col_dct_adst_8
[
6
]
=
{
12
,
12
,
12
,
12
,
12
,
1
3
};
static
const
int8_t
inv_cos_bit_col_dct_adst_8
[
6
]
=
{
12
,
12
,
12
,
12
,
12
,
1
2
};
static
const
int8_t
inv_cos_bit_row_dct_adst_8
[
8
]
=
{
13
,
13
,
13
,
13
,
13
,
13
,
13
,
13
};
...
...
@@ 243,7 +243,7 @@ static const int8_t inv_stage_range_col_adst_adst_8[8] = {20, 20, 20, 20,
static
const
int8_t
inv_stage_range_row_adst_adst_8
[
8
]
=
{
19
,
19
,
19
,
19
,
19
,
19
,
19
,
19
};
static
const
int8_t
inv_cos_bit_col_adst_adst_8
[
8
]
=
{
12
,
12
,
12
,
12
,
12
,
12
,
12
,
1
3
};
12
,
12
,
12
,
1
2
};
static
const
int8_t
inv_cos_bit_row_adst_adst_8
[
8
]
=
{
13
,
13
,
13
,
13
,
13
,
13
,
13
,
13
};
...
...
@@ 336,7 +336,7 @@ static const int8_t inv_stage_range_col_adst_dct_8[8] = {20, 20, 20, 20,
static
const
int8_t
inv_stage_range_row_adst_dct_8
[
6
]
=
{
19
,
19
,
19
,
19
,
19
,
19
};
static
const
int8_t
inv_cos_bit_col_adst_dct_8
[
8
]
=
{
12
,
12
,
12
,
12
,
12
,
12
,
12
,
1
3
};
12
,
12
,
12
,
1
2
};
static
const
int8_t
inv_cos_bit_row_adst_dct_8
[
6
]
=
{
13
,
13
,
13
,
13
,
13
,
13
};
static
const
TXFM_2D_CFG
inv_txfm_2d_cfg_adst_dct_8
=
{
...
...
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