Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(9)

Unified Diff: source/libvpx/test/decode_test_driver.h

Issue 394353005: libvpx: Pull from upstream (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/deps/third_party/libvpx/
Patch Set: Created 6 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « source/libvpx/test/decode_perf_test.cc ('k') | source/libvpx/test/decode_test_driver.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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) {}
« no previous file with comments | « source/libvpx/test/decode_perf_test.cc ('k') | source/libvpx/test/decode_test_driver.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698