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

Unified Diff: remoting/base/codec_test.h

Issue 10833022: [Chromoting] Add a unit test to verify that the VP8 codec doesn't change color values too much. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Calculate errors using squares instead of abs. Created 8 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 | « no previous file | remoting/base/codec_test.cc » ('j') | remoting/base/codec_test.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/base/codec_test.h
diff --git a/remoting/base/codec_test.h b/remoting/base/codec_test.h
index 40f02e2c29ce654a9b3b46d1ddde9044dcad4922..84217a491118cdc61e8d74255803d0f178608173 100644
--- a/remoting/base/codec_test.h
+++ b/remoting/base/codec_test.h
@@ -32,6 +32,12 @@ void TestEncoder(Encoder* encoder, bool strict);
// are correct.
void TestEncoderDecoder(Encoder* encoder, Decoder* decoder, bool strict);
+// Generate a frame containing a gradient, and test the encoder and decoder
+// pair.
+void TestEncoderDecoderGradient(Encoder* encoder, Decoder* decoder,
+ double max_error_limit,
+ double mean_error_limit);
+
} // namespace remoting
#endif // REMOTING_BASE_CODEC_TEST_H_
« no previous file with comments | « no previous file | remoting/base/codec_test.cc » ('j') | remoting/base/codec_test.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698