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
aom-rav1e
Commits
feee3ed5
Commit
feee3ed5
authored
Oct 20, 2016
by
Jingning Han
Committed by
Gerrit Code Review
Oct 20, 2016
Browse files
Merge "Add tx_size to pixel number map" into nextgenv2
parents
7ae6ae34
02935f5f
Changes
1
Hide whitespace changes
Inline
Side-by-side
av1/common/common_data.h
View file @
feee3ed5
...
...
@@ -442,6 +442,17 @@ static const TX_SIZE txsize_vert_map[TX_SIZES_ALL] = {
#endif // CONFIG_EXT_TX
};
static
const
int
tx_size_1d
[
TX_SIZES
]
=
{
4
,
8
,
16
,
32
};
static
const
int
tx_size_2d
[
TX_SIZES
]
=
{
16
,
64
,
256
,
1024
};
static
const
uint8_t
tx_size_1d_log2
[
TX_SIZES
]
=
{
2
,
3
,
4
,
5
};
static
const
int
tx_size_1d_in_unit
[
TX_SIZES
]
=
{
1
,
2
,
4
,
8
};
// TODO(jingning): Temporary table during the construction.
static
const
int
tx_size_1d_in_unit_log2
[
TX_SIZES
]
=
{
0
,
1
,
2
,
3
};
static
const
BLOCK_SIZE
txsize_to_bsize
[
TX_SIZES_ALL
]
=
{
BLOCK_4X4
,
// TX_4X4
BLOCK_8X8
,
// TX_8X8
...
...
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