Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Xiph.Org
aom-rav1e
Commits
de4a693d
Commit
de4a693d
authored
Nov 20, 2017
by
Yaowu Xu
Browse files
Reduce table size
Change-Id: If6a6aad09d5773f8858d7c163c15e9fcefccc9cb
parent
80d5234f
Changes
2
Hide whitespace changes
Inline
Side-by-side
av1/common/txb_common.c
View file @
de4a693d
...
...
@@ -12,17 +12,17 @@
#include
"av1/common/onyxc_int.h"
#include
"av1/common/txb_common.h"
const
int
16
_t
av1_coeff_band_4x4
[
16
]
=
{
0
,
1
,
2
,
3
,
4
,
5
,
6
,
7
,
8
,
9
,
10
,
11
,
12
,
13
,
14
,
15
};
const
int
8
_t
av1_coeff_band_4x4
[
16
]
=
{
0
,
1
,
2
,
3
,
4
,
5
,
6
,
7
,
8
,
9
,
10
,
11
,
12
,
13
,
14
,
15
};
const
int
16
_t
av1_coeff_band_8x8
[
64
]
=
{
const
int
8
_t
av1_coeff_band_8x8
[
64
]
=
{
0
,
1
,
2
,
2
,
3
,
3
,
4
,
4
,
5
,
6
,
2
,
2
,
3
,
3
,
4
,
4
,
7
,
7
,
8
,
8
,
9
,
9
,
10
,
10
,
7
,
7
,
8
,
8
,
9
,
9
,
10
,
10
,
11
,
11
,
12
,
12
,
13
,
13
,
14
,
14
,
11
,
11
,
12
,
12
,
13
,
13
,
14
,
14
,
15
,
15
,
16
,
16
,
17
,
17
,
18
,
18
,
15
,
15
,
16
,
16
,
17
,
17
,
18
,
18
,
};
const
int
16
_t
av1_coeff_band_16x16
[
256
]
=
{
const
int
8
_t
av1_coeff_band_16x16
[
256
]
=
{
0
,
1
,
4
,
4
,
7
,
7
,
7
,
7
,
8
,
8
,
8
,
8
,
9
,
9
,
9
,
9
,
2
,
3
,
4
,
4
,
7
,
7
,
7
,
7
,
8
,
8
,
8
,
8
,
9
,
9
,
9
,
9
,
5
,
5
,
6
,
6
,
7
,
7
,
7
,
7
,
8
,
8
,
8
,
8
,
9
,
9
,
9
,
9
,
5
,
5
,
6
,
6
,
7
,
7
,
7
,
7
,
8
,
...
...
@@ -39,7 +39,7 @@ const int16_t av1_coeff_band_16x16[256] = {
19
,
20
,
20
,
20
,
20
,
21
,
21
,
21
,
21
,
};
const
int
16
_t
av1_coeff_band_32x32
[
1024
]
=
{
const
int
8
_t
av1_coeff_band_32x32
[
1024
]
=
{
0
,
1
,
4
,
4
,
7
,
7
,
7
,
7
,
10
,
10
,
10
,
10
,
10
,
10
,
10
,
10
,
11
,
11
,
11
,
11
,
11
,
11
,
11
,
11
,
12
,
12
,
12
,
12
,
12
,
12
,
12
,
12
,
2
,
3
,
4
,
4
,
7
,
7
,
7
,
7
,
10
,
10
,
10
,
10
,
10
,
10
,
10
,
10
,
11
,
11
,
11
,
11
,
11
,
11
,
11
,
11
,
12
,
...
...
av1/common/txb_common.h
View file @
de4a693d
...
...
@@ -17,13 +17,13 @@ extern const int16_t k_eob_offset_bits[12];
int16_t
get_eob_pos_token
(
int
eob
,
int16_t
*
extra
);
int
av1_get_eob_pos_ctx
(
TX_TYPE
tx_type
,
int
eob_token
);
extern
const
int
16
_t
av1_coeff_band_4x4
[
16
];
extern
const
int
8
_t
av1_coeff_band_4x4
[
16
];
extern
const
int
16
_t
av1_coeff_band_8x8
[
64
];
extern
const
int
8
_t
av1_coeff_band_8x8
[
64
];
extern
const
int
16
_t
av1_coeff_band_16x16
[
256
];
extern
const
int
8
_t
av1_coeff_band_16x16
[
256
];
extern
const
int
16
_t
av1_coeff_band_32x32
[
1024
];
extern
const
int
8
_t
av1_coeff_band_32x32
[
1024
];
typedef
struct
txb_ctx
{
int
txb_skip_ctx
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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