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
e6d92734
Commit
e6d92734
authored
Sep 13, 2014
by
Jingning Han
Committed by
Gerrit Code Review
Sep 13, 2014
Browse files
Merge "Format fixes in vp9_rd_pick_inter_mode_sb"
parents
ad3c92b9
74ddde01
Changes
1
Hide whitespace changes
Inline
Side-by-side
vp9/encoder/vp9_rdopt.c
View file @
e6d92734
...
...
@@ -2794,9 +2794,9 @@ int64_t vp9_rd_pick_inter_mode_sb(VP9_COMP *cpi, MACROBLOCK *x,
continue
;
if
((
mode_search_skip_flags
&
FLAG_SKIP_COMP_BESTINTRA
)
&&
best_mode_index
>=
0
&&
best_mbmode
.
ref_frame
[
0
]
==
INTRA_FRAME
)
best_mode_index
>=
0
&&
best_mbmode
.
ref_frame
[
0
]
==
INTRA_FRAME
)
continue
;
mode_excluded
=
cm
->
reference_mode
==
SINGLE_REFERENCE
;
}
else
{
if
(
ref_frame
!=
INTRA_FRAME
)
...
...
@@ -3026,13 +3026,11 @@ int64_t vp9_rd_pick_inter_mode_sb(VP9_COMP *cpi, MACROBLOCK *x,
hybrid_rd
=
RDCOST
(
x
->
rdmult
,
x
->
rddiv
,
hybrid_rate
,
distortion2
);
if
(
!
comp_pred
)
{
if
(
single_rd
<
best_pred_rd
[
SINGLE_REFERENCE
])
{
if
(
single_rd
<
best_pred_rd
[
SINGLE_REFERENCE
])
best_pred_rd
[
SINGLE_REFERENCE
]
=
single_rd
;
}
}
else
{
if
(
single_rd
<
best_pred_rd
[
COMPOUND_REFERENCE
])
{
if
(
single_rd
<
best_pred_rd
[
COMPOUND_REFERENCE
])
best_pred_rd
[
COMPOUND_REFERENCE
]
=
single_rd
;
}
}
if
(
hybrid_rd
<
best_pred_rd
[
REFERENCE_MODE_SELECT
])
best_pred_rd
[
REFERENCE_MODE_SELECT
]
=
hybrid_rd
;
...
...
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