Skip to content
GitLab
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
f5713fef
Commit
f5713fef
authored
Jun 16, 2016
by
Johann Koenig
Committed by
Gerrit Code Review
Jun 16, 2016
Browse files
Merge "vp8 stats file: initialize to 0"
parents
73ae3cde
3108fbd2
Changes
1
Hide whitespace changes
Inline
Side-by-side
vp8/encoder/firstpass.c
View file @
f5713fef
...
...
@@ -18,6 +18,7 @@
#include
"onyx_int.h"
#include
"vpx_dsp/variance.h"
#include
"encodeintra.h"
#include
"vp8/common/common.h"
#include
"vp8/common/setupintrarecon.h"
#include
"vp8/common/systemdependent.h"
#include
"mcomp.h"
...
...
@@ -2417,7 +2418,7 @@ void vp8_second_pass(VP8_COMP *cpi)
int
tmp_q
;
int
frames_left
=
(
int
)(
cpi
->
twopass
.
total_stats
.
count
-
cpi
->
common
.
current_video_frame
);
FIRSTPASS_STATS
this_frame
=
{
0
}
;
FIRSTPASS_STATS
this_frame
;
FIRSTPASS_STATS
this_frame_copy
;
double
this_frame_intra_error
;
...
...
@@ -2425,6 +2426,8 @@ void vp8_second_pass(VP8_COMP *cpi)
int
overhead_bits
;
vp8_zero
(
this_frame
);
if
(
!
cpi
->
twopass
.
stats_in
)
{
return
;
...
...
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment