Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Xiph.Org
aom-rav1e
Commits
3ca7dd98
Commit
3ca7dd98
authored
May 23, 2017
by
Yue Chen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix assertion failure in var_tx+rect_tx-ext_tx
BUG=aomedia:560 Change-Id: Ie399d61162ab33e35fa0cb04206904e3af1bbb2d
parent
f19f35f7
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
av1/decoder/decodemv.c
av1/decoder/decodemv.c
+4
-4
No files found.
av1/decoder/decodemv.c
View file @
3ca7dd98
...
...
@@ -507,10 +507,10 @@ static TX_SIZE read_tx_size(AV1_COMMON *cm, MACROBLOCKD *xd, int is_inter,
:
intra_tx_size_cat_lookup
[
bsize
];
const
TX_SIZE
coded_tx_size
=
read_selected_tx_size
(
cm
,
xd
,
tx_size_cat
,
r
);
#if CONFIG_
EX
T_TX && CONFIG_
RECT
_TX
#if CONFIG_
REC
T_TX &&
(
CONFIG_
EXT_TX || CONFIG_VAR
_TX
)
if
(
coded_tx_size
>
max_txsize_lookup
[
bsize
])
{
assert
(
coded_tx_size
==
max_txsize_lookup
[
bsize
]
+
1
);
#if CONFIG_RECT_TX_EXT
#if
CONFIG_EXT_TX &&
CONFIG_RECT_TX_EXT
if
(
is_quarter_tx_allowed
(
xd
,
&
xd
->
mi
[
0
]
->
mbmi
,
is_inter
))
{
int
quarter_tx
=
aom_read
(
r
,
cm
->
fc
->
quarter_tx_size_prob
,
ACCT_STR
);
FRAME_COUNTS
*
counts
=
xd
->
counts
;
...
...
@@ -519,13 +519,13 @@ static TX_SIZE read_tx_size(AV1_COMMON *cm, MACROBLOCKD *xd, int is_inter,
return
quarter_tx
?
quarter_txsize_lookup
[
bsize
]
:
max_txsize_rect_lookup
[
bsize
];
}
#endif // CONFIG_RECT_TX_EXT
#endif //
CONFIG_EXT_TX &&
CONFIG_RECT_TX_EXT
return
max_txsize_rect_lookup
[
bsize
];
}
#else
assert
(
coded_tx_size
<=
max_txsize_lookup
[
bsize
]);
#endif // CONFIG_
EX
T_TX && CONFIG_
RECT
_TX
#endif // CONFIG_
REC
T_TX &&
(
CONFIG_
EXT_TX || CONFIG_VAR
_TX
)
return
coded_tx_size
;
}
else
{
return
tx_size_from_tx_mode
(
bsize
,
tx_mode
,
is_inter
);
...
...
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