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

Unified Diff: remoting/base/codec_test.h

Issue 10828058: [Chromoting] Add unit tests for up- and down-scaling. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Make more allowance for the misbehaving test. 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') | no next file with comments »
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 004fbfb7d757f26e3b6794a66b4b76f8072b0e24..ba71dad67398517030ecfe6f6eb4813d3cfb26c1 100644
--- a/remoting/base/codec_test.h
+++ b/remoting/base/codec_test.h
@@ -14,11 +14,6 @@ namespace remoting {
class Decoder;
class Encoder;
-// Prepare testing data for encoding. Memory created is written to |memory|.
-// Returns randomly generated data in CaptureData.
-scoped_refptr<CaptureData> PrepareEncodeData(media::VideoFrame::Format format,
- uint8** memory);
-
// Generate test data and test the encoder for a regular encoding sequence.
// This will test encoder test and the sequence of messages sent.
//
@@ -35,6 +30,8 @@ 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,
+ const SkISize& screen_size,
+ const SkISize& view_size,
double max_error_limit,
double mean_error_limit);
« no previous file with comments | « no previous file | remoting/base/codec_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698