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
c06feefb
Commit
c06feefb
authored
Oct 22, 2016
by
Yaowu Xu
Committed by
Gerrit Code Review
Oct 22, 2016
Browse files
Options
Browse Files
Download
Plain Diff
Merge "Fix compiler warning when CONFIG_ACCOUNTING enabled." into nextgenv2
parents
bd161f9f
ebbd479e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
av1/decoder/decodeframe.c
av1/decoder/decodeframe.c
+4
-3
No files found.
av1/decoder/decodeframe.c
View file @
c06feefb
...
...
@@ -1165,11 +1165,12 @@ static void decode_block(AV1Decoder *const pbi, MACROBLOCKD *const xd,
const
int
bh
=
1
<<
(
bhl
-
1
);
const
int
x_mis
=
AOMMIN
(
bw
,
cm
->
mi_cols
-
mi_col
);
const
int
y_mis
=
AOMMIN
(
bh
,
cm
->
mi_rows
-
mi_row
);
MB_MODE_INFO
*
mbmi
;
#if CONFIG_ACCOUNTING
aom_accounting_set_context
(
&
pbi
->
accounting
,
mi_col
,
mi_row
);
#endif
#if CONFIG_SUPERTX
MB_MODE_INFO
*
mbmi
;
if
(
supertx_enabled
)
{
mbmi
=
set_mb_offsets
(
cm
,
xd
,
bsize
,
mi_row
,
mi_col
,
bw
,
bh
,
x_mis
,
y_mis
);
}
else
{
...
...
@@ -1181,8 +1182,8 @@ static void decode_block(AV1Decoder *const pbi, MACROBLOCKD *const xd,
#endif
av1_read_mode_info
(
pbi
,
xd
,
supertx_enabled
,
mi_row
,
mi_col
,
r
,
x_mis
,
y_mis
);
#else
MB_MODE_INFO
*
mbmi
=
set_offsets
(
cm
,
xd
,
bsize
,
mi_row
,
mi_col
,
bw
,
bh
,
x_mis
,
y_mis
,
bwl
,
bhl
);
mbmi
=
set_offsets
(
cm
,
xd
,
bsize
,
mi_row
,
mi_col
,
bw
,
bh
,
x_mis
,
y_mis
,
bwl
,
bhl
);
#if CONFIG_EXT_PARTITION_TYPES
xd
->
mi
[
0
]
->
mbmi
.
partition
=
partition
;
#endif
...
...
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