aboutsummaryrefslogtreecommitdiff
path: root/libvpx/test/encode_test_driver.h
diff options
context:
space:
mode:
Diffstat (limited to 'libvpx/test/encode_test_driver.h')
-rw-r--r--libvpx/test/encode_test_driver.h10
1 files changed, 4 insertions, 6 deletions
diff --git a/libvpx/test/encode_test_driver.h b/libvpx/test/encode_test_driver.h
index 7085945f6..b57df8529 100644
--- a/libvpx/test/encode_test_driver.h
+++ b/libvpx/test/encode_test_driver.h
@@ -103,7 +103,7 @@ class Encoder {
}
// This is a thin wrapper around vpx_codec_encode(), so refer to
// vpx_encoder.h for its semantics.
- void EncodeFrame(VideoSource *video, const unsigned long frame_flags);
+ void EncodeFrame(VideoSource *video, vpx_enc_frame_flags_t frame_flags);
// Convenience wrapper for EncodeFrame()
void EncodeFrame(VideoSource *video) { EncodeFrame(video, 0); }
@@ -184,7 +184,7 @@ class Encoder {
// Encode an image
void EncodeFrameInternal(const VideoSource &video,
- const unsigned long frame_flags);
+ vpx_enc_frame_flags_t frame_flags);
// Flush the encoder on EOS
void Flush();
@@ -206,8 +206,7 @@ class Encoder {
class EncoderTest {
protected:
explicit EncoderTest(const CodecFactory *codec)
- : codec_(codec), abort_(false), init_flags_(0), frame_flags_(0),
- last_pts_(0) {
+ : codec_(codec), abort_(false), init_flags_(0), frame_flags_(0) {
// Default to 1 thread.
cfg_.g_threads = 1;
}
@@ -290,8 +289,7 @@ class EncoderTest {
unsigned long deadline_;
TwopassStatsStore stats_;
unsigned long init_flags_;
- unsigned long frame_flags_;
- vpx_codec_pts_t last_pts_;
+ vpx_enc_frame_flags_t frame_flags_;
};
} // namespace libvpx_test