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
05b55f76
Commit
05b55f76
authored
Dec 12, 2017
by
Frederic Barbier
Committed by
Frédéric BARBIER
Dec 12, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Simplify flow of control
Change-Id: I030205931c78dc572c68661004bafbadd32e4d71
parent
c2c3c872
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
8 deletions
+7
-8
av1/decoder/decodemv.c
av1/decoder/decodemv.c
+7
-8
No files found.
av1/decoder/decodemv.c
View file @
05b55f76
...
...
@@ -1802,15 +1802,14 @@ static int read_is_inter_block(AV1_COMMON *const cm, MACROBLOCKD *const xd,
int
segment_id
,
aom_reader
*
r
)
{
if
(
segfeature_active
(
&
cm
->
seg
,
segment_id
,
SEG_LVL_REF_FRAME
))
{
return
get_segdata
(
&
cm
->
seg
,
segment_id
,
SEG_LVL_REF_FRAME
)
!=
INTRA_FRAME
;
}
else
{
const
int
ctx
=
av1_get_intra_inter_context
(
xd
);
FRAME_CONTEXT
*
ec_ctx
=
xd
->
tile_ctx
;
const
int
is_inter
=
aom_read_symbol
(
r
,
ec_ctx
->
intra_inter_cdf
[
ctx
],
2
,
ACCT_STR
);
FRAME_COUNTS
*
counts
=
xd
->
counts
;
if
(
counts
)
++
counts
->
intra_inter
[
ctx
][
is_inter
];
return
is_inter
;
}
const
int
ctx
=
av1_get_intra_inter_context
(
xd
);
FRAME_CONTEXT
*
ec_ctx
=
xd
->
tile_ctx
;
const
int
is_inter
=
aom_read_symbol
(
r
,
ec_ctx
->
intra_inter_cdf
[
ctx
],
2
,
ACCT_STR
);
FRAME_COUNTS
*
counts
=
xd
->
counts
;
if
(
counts
)
++
counts
->
intra_inter
[
ctx
][
is_inter
];
return
is_inter
;
}
static
void
fpm_sync
(
void
*
const
data
,
int
mi_row
)
{
...
...
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