Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Guillaume Martres
aom-rav1e
Commits
f199bab7
Commit
f199bab7
authored
Oct 03, 2012
by
Adrian Grange
Committed by
Gerrit Code Review
Oct 03, 2012
Browse files
Merge "Added Reset method to TwopassStatsStore"
parents
7ca59827
30f58b52
Changes
2
Show whitespace changes
Inline
Side-by-side
test/encode_test_driver.cc
View file @
f199bab7
...
...
@@ -126,6 +126,9 @@ void EncoderTest::RunLoop(VideoSource *video) {
#if CONFIG_VP8_DECODER
vpx_codec_dec_cfg_t
dec_cfg
=
{
0
};
#endif
stats_
.
Reset
();
for
(
unsigned
int
pass
=
0
;
pass
<
passes_
;
pass
++
)
{
last_pts_
=
0
;
...
...
test/encode_test_driver.h
View file @
f199bab7
...
...
@@ -65,6 +65,10 @@ class TwopassStatsStore {
return
buf
;
}
void
Reset
()
{
buffer_
.
clear
();
}
protected:
std
::
string
buffer_
;
};
...
...
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