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
Xiph.Org
aom-rav1e
Commits
7105df53
Commit
7105df53
authored
Aug 25, 2015
by
Yaowu Xu
Committed by
Gerrit Code Review
Aug 25, 2015
Browse files
Merge "Limit new motion vector size"
parents
e8032a5f
a1ec3eb3
Changes
1
Hide whitespace changes
Inline
Side-by-side
vp8/encoder/pickinter.c
View file @
7105df53
...
...
@@ -1240,7 +1240,10 @@ void vp8_pick_inter_mode(VP8_COMP *cpi, MACROBLOCK *x, int recon_yoffset,
}
mode_mv
[
NEWMV
].
as_int
=
d
->
bmi
.
mv
.
as_int
;
// The clamp below is not necessary from the perspective
// of VP8 bitstream, but is added to improve ChromeCast
// mirroring's robustness. Please do not remove.
vp8_clamp_mv2
(
&
mode_mv
[
this_mode
],
xd
);
/* mv cost; */
rate2
+=
vp8_mv_bit_cost
(
&
mode_mv
[
NEWMV
],
&
best_ref_mv
,
cpi
->
mb
.
mvcost
,
128
);
...
...
@@ -1248,7 +1251,6 @@ void vp8_pick_inter_mode(VP8_COMP *cpi, MACROBLOCK *x, int recon_yoffset,
case
NEARESTMV
:
case
NEARMV
:
if
(
mode_mv
[
this_mode
].
as_int
==
0
)
continue
;
...
...
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