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
4a6c99e5
Commit
4a6c99e5
authored
Oct 17, 2014
by
Jingning Han
Committed by
Gerrit Code Review
Oct 17, 2014
Browse files
Merge "Reset rate cost value in rd mode search"
parents
00f1cf40
94ecfa32
Changes
1
Hide whitespace changes
Inline
Side-by-side
vp9/encoder/vp9_rdopt.c
View file @
4a6c99e5
...
...
@@ -3394,6 +3394,7 @@ void vp9_rd_pick_inter_mode_sb(VP9_COMP *cpi, MACROBLOCK *x,
}
if
(
best_mode_index
<
0
||
best_rd
>=
best_rd_so_far
)
{
rd_cost
->
rate
=
INT_MAX
;
rd_cost
->
rdcost
=
INT64_MAX
;
return
;
}
...
...
@@ -3564,6 +3565,7 @@ void vp9_rd_pick_inter_mode_sb_seg_skip(VP9_COMP *cpi, MACROBLOCK *x,
rd_cost
->
rdcost
=
this_rd
;
if
(
this_rd
>=
best_rd_so_far
)
{
rd_cost
->
rate
=
INT_MAX
;
rd_cost
->
rdcost
=
INT64_MAX
;
return
;
}
...
...
@@ -4115,6 +4117,7 @@ void vp9_rd_pick_inter_mode_sub8x8(VP9_COMP *cpi, MACROBLOCK *x,
}
if
(
best_rd
>=
best_rd_so_far
)
{
rd_cost
->
rate
=
INT_MAX
;
rd_cost
->
rdcost
=
INT64_MAX
;
return
;
}
...
...
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