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
Toggle navigation
Open sidebar
BC
public
external
libvpx
Commits
4e4f4ba8
Commit
4e4f4ba8
authored
Aug 27, 2014
by
Jingning Han
Committed by
Gerrit Code Review
Aug 27, 2014
Browse files
Options
Browse Files
Download
Plain Diff
Merge "Add an early termination check in handle_inter_mode"
parents
6924fddb
cd228fcd
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
vp9/encoder/vp9_rdopt.c
vp9/encoder/vp9_rdopt.c
+4
-0
No files found.
vp9/encoder/vp9_rdopt.c
View file @
4e4f4ba8
...
...
@@ -2238,6 +2238,10 @@ static int64_t handle_inter_mode(VP9_COMP *cpi, MACROBLOCK *x,
* if the first is known */
*
rate2
+=
cost_mv_ref
(
cpi
,
this_mode
,
mbmi
->
mode_context
[
refs
[
0
]]);
if
(
RDCOST
(
x
->
rdmult
,
x
->
rddiv
,
*
rate2
,
0
)
>
ref_best_rd
&&
mbmi
->
mode
!=
NEARESTMV
)
return
INT64_MAX
;
pred_exists
=
0
;
// Are all MVs integer pel for Y and UV
intpel_mv
=
!
mv_has_subpel
(
&
mbmi
->
mv
[
0
].
as_mv
);
...
...
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