Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
A
aom-rav1e
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Xiph.Org
aom-rav1e
Commits
7105df53
Commit
7105df53
authored
9 years ago
by
Yaowu Xu
Committed by
Gerrit Code Review
9 years ago
Browse files
Options
Downloads
Plain Diff
Merge "Limit new motion vector size"
parents
e8032a5f
a1ec3eb3
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
vp8/encoder/pickinter.c
+4
-2
4 additions, 2 deletions
vp8/encoder/pickinter.c
with
4 additions
and
2 deletions
vp8/encoder/pickinter.c
+
4
−
2
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
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment