Index: source/libvpx/test/decode_test_driver.h |
=================================================================== |
--- source/libvpx/test/decode_test_driver.h (revision 281795) |
+++ source/libvpx/test/decode_test_driver.h (working copy) |
@@ -49,8 +49,14 @@ |
vpx_codec_destroy(&decoder_); |
} |
+ vpx_codec_err_t PeekStream(const uint8_t *cxdata, size_t size, |
+ vpx_codec_stream_info_t *stream_info); |
+ |
vpx_codec_err_t DecodeFrame(const uint8_t *cxdata, size_t size); |
+ vpx_codec_err_t DecodeFrame(const uint8_t *cxdata, size_t size, |
+ void *user_priv); |
+ |
DxDataIterator GetDxData() { |
return DxDataIterator(&decoder_); |
} |
@@ -85,6 +91,10 @@ |
&decoder_, cb_get, cb_release, user_priv); |
} |
+ const char* GetDecoderName() { |
+ return vpx_codec_iface_name(CodecInterface()); |
+ } |
+ |
protected: |
virtual vpx_codec_iface_t* CodecInterface() const = 0; |