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
51b7fd0d
Commit
51b7fd0d
authored
May 03, 2013
by
James Zern
Browse files
encode_test_driver: make ~Encoder virtual
+ some quick lint fixes Change-Id: I95b6c32454c17d7fc717f1daa2376eb4d5418ee3
parent
6723e342
Changes
1
Hide whitespace changes
Inline
Side-by-side
test/encode_test_driver.h
View file @
51b7fd0d
...
...
@@ -10,9 +10,10 @@
#ifndef TEST_ENCODE_TEST_DRIVER_H_
#define TEST_ENCODE_TEST_DRIVER_H_
#include
"./vpx_config.h"
#include
<string>
#include
<vector>
#include
"./vpx_config.h"
#include
"third_party/googletest/src/include/gtest/gtest.h"
#include
"vpx/vpx_encoder.h"
...
...
@@ -46,7 +47,7 @@ enum TestMode {
class
CxDataIterator
{
public:
explicit
CxDataIterator
(
vpx_codec_ctx_t
*
encoder
)
:
encoder_
(
encoder
),
iter_
(
NULL
)
{}
:
encoder_
(
encoder
),
iter_
(
NULL
)
{}
const
vpx_codec_cx_pkt_t
*
Next
()
{
return
vpx_codec_get_cx_data
(
encoder_
,
&
iter_
);
...
...
@@ -92,7 +93,7 @@ class Encoder {
memset
(
&
encoder_
,
0
,
sizeof
(
encoder_
));
}
~
Encoder
()
{
virtual
~
Encoder
()
{
vpx_codec_destroy
(
&
encoder_
);
}
...
...
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