Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Xiph.Org
aom-rav1e
Commits
5dfa1442
Commit
5dfa1442
authored
Nov 21, 2017
by
Yaowu Xu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Replace INT32_MIN with TXSIZE_CAT_INVALID
Change-Id: I91dd5d3351d5dcc70ffcdb883d1e7cbd054d1a27
parent
873d8a46
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
av1/common/common_data.h
av1/common/common_data.h
+4
-2
No files found.
av1/common/common_data.h
View file @
5dfa1442
...
...
@@ -751,11 +751,13 @@ static const TX_TYPE_1D htx_tab[TX_TYPES] = {
// Same as "max_txsize_lookup[bsize] - TX_8X8", except for rectangular
// block which may use a rectangular transform, in which case it is
// "(max_txsize_lookup[bsize] + 1) - TX_8X8", invalid for bsize < 8X8
#define TXSIZE_CAT_INVALID (-1)
static
const
int32_t
intra_tx_size_cat_lookup
[
BLOCK_SIZES_ALL
]
=
{
// 2X2, 2X4, 4X2,
INT32_MIN
,
INT32_MIN
,
INT32_MIN
,
TXSIZE_CAT_INVALID
,
TXSIZE_CAT_INVALID
,
TXSIZE_CAT_INVALID
,
// 4X4,
INT32_MIN
,
TXSIZE_CAT_INVALID
,
// 4X8, 8X4, 8X8,
TX_8X8
-
TX_8X8
,
TX_8X8
-
TX_8X8
,
TX_8X8
-
TX_8X8
,
// 8X16, 16X8, 16X16
...
...
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