| Index: source/libvpx/test/decode_test_driver.h
|
| ===================================================================
|
| --- source/libvpx/test/decode_test_driver.h (revision 284462)
|
| +++ source/libvpx/test/decode_test_driver.h (working copy)
|
| @@ -91,10 +91,12 @@
|
| &decoder_, cb_get, cb_release, user_priv);
|
| }
|
|
|
| - const char* GetDecoderName() {
|
| + const char* GetDecoderName() const {
|
| return vpx_codec_iface_name(CodecInterface());
|
| }
|
|
|
| + bool IsVP8() const;
|
| +
|
| protected:
|
| virtual vpx_codec_iface_t* CodecInterface() const = 0;
|
|
|
| @@ -138,6 +140,11 @@
|
| virtual void DecompressedFrameHook(const vpx_image_t& img,
|
| const unsigned int frame_number) {}
|
|
|
| + // Hook to be called on peek result
|
| + virtual void HandlePeekResult(Decoder* const decoder,
|
| + CompressedVideoSource *video,
|
| + const vpx_codec_err_t res_peek);
|
| +
|
| protected:
|
| explicit DecoderTest(const CodecFactory *codec) : codec_(codec) {}
|
|
|
|
|