Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
A
aom-rav1e
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Xiph.Org
aom-rav1e
Commits
aa3d59fc
Commit
aa3d59fc
authored
May 08, 2014
by
Frank Galligan
Committed by
Gerrit Code Review
May 08, 2014
Browse files
Options
Browse Files
Download
Plain Diff
Merge "vp9_firstpass: Fix MSVC data loss warning."
parents
b391b62a
7811039d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
vp9/encoder/vp9_firstpass.c
vp9/encoder/vp9_firstpass.c
+2
-2
No files found.
vp9/encoder/vp9_firstpass.c
View file @
aa3d59fc
...
...
@@ -2402,8 +2402,8 @@ void vp9_twopass_postencode_update(VP9_COMP *cpi) {
const
double
progress
=
(
double
)(
cpi
->
twopass
.
stats_in
-
cpi
->
twopass
.
stats_in_start
)
/
(
cpi
->
twopass
.
stats_in_end
-
cpi
->
twopass
.
stats_in_start
);
const
int
bits_used
=
progress
*
rc
->
this_frame_target
+
(
1
.
0
-
progress
)
*
rc
->
projected_frame_size
;
const
int
bits_used
=
(
int
)(
progress
*
rc
->
this_frame_target
+
(
1
.
0
-
progress
)
*
rc
->
projected_frame_size
)
;
#endif
cpi
->
twopass
.
bits_left
-=
bits_used
;
...
...
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