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
Yushin Cho
aom-rav1e
Commits
053625e4
Commit
053625e4
authored
Feb 11, 2015
by
Adrian Grange
Browse files
Add cast to convert double to int
Change-Id: I7f63c2940256a5dadf9a29a853809290dd9e98ed
parent
c9725813
Changes
1
Hide whitespace changes
Inline
Side-by-side
vp9/encoder/vp9_ratectrl.c
View file @
053625e4
...
...
@@ -1173,8 +1173,8 @@ void vp9_rc_set_frame_target(VP9_COMP *cpi, int target) {
// Modify frame size target when down-scaling.
if
(
cpi
->
oxcf
.
resize_mode
==
RESIZE_DYNAMIC
&&
rc
->
frame_size_selector
!=
UNSCALED
)
rc
->
this_frame_target
=
rc
->
this_frame_target
*
rate_thresh_mult
[
rc
->
frame_size_selector
];
rc
->
this_frame_target
=
(
int
)(
rc
->
this_frame_target
*
rate_thresh_mult
[
rc
->
frame_size_selector
]
)
;
// Target rate per SB64 (including partial SB64s.
rc
->
sb64_target_rate
=
((
int64_t
)
rc
->
this_frame_target
*
64
*
64
)
/
...
...
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