Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Guillaume Martres
aom-rav1e
Commits
a481fcc3
Commit
a481fcc3
authored
May 02, 2014
by
Adrian Grange
Committed by
Gerrit Code Review
May 02, 2014
Browse files
Merge "Fix mode selection bug when ARNR filtering disabled"
parents
ac8c0691
0423a964
Changes
1
Hide whitespace changes
Inline
Side-by-side
vp9/encoder/vp9_rdopt.c
View file @
a481fcc3
...
...
@@ -3250,9 +3250,8 @@ int64_t vp9_rd_pick_inter_mode_sb(VP9_COMP *cpi, MACROBLOCK *x,
// an unfiltered alternative. We allow near/nearest as well
// because they may result in zero-zero MVs but be cheaper.
if
(
cpi
->
rc
.
is_src_frame_alt_ref
&&
(
cpi
->
oxcf
.
arnr_max_frames
==
0
))
{
const
int
altref_zero
_mask
=
mode_skip
_mask
=
~
((
1
<<
THR_NEARESTA
)
|
(
1
<<
THR_NEARA
)
|
(
1
<<
THR_ZEROA
));
mode_skip_mask
|=
altref_zero_mask
;
if
(
frame_mv
[
NEARMV
][
ALTREF_FRAME
].
as_int
!=
0
)
mode_skip_mask
|=
(
1
<<
THR_NEARA
);
if
(
frame_mv
[
NEARESTMV
][
ALTREF_FRAME
].
as_int
!=
0
)
...
...
Write
Preview
Supports
Markdown
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