| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef REMOTING_BASE_CODEC_TEST_H_ | 5 #ifndef REMOTING_CODEC_CODEC_TEST_H_ |
| 6 #define REMOTING_BASE_CODEC_TEST_H_ | 6 #define REMOTING_CODEC_CODEC_TEST_H_ |
| 7 | 7 |
| 8 #include "base/memory/ref_counted.h" | 8 #include "base/memory/ref_counted.h" |
| 9 #include "media/base/video_frame.h" | 9 #include "media/base/video_frame.h" |
| 10 #include "remoting/base/capture_data.h" | 10 #include "remoting/base/capture_data.h" |
| 11 | 11 |
| 12 namespace remoting { | 12 namespace remoting { |
| 13 | 13 |
| 14 class Decoder; | 14 class Decoder; |
| 15 class Encoder; | 15 class Encoder; |
| 16 | 16 |
| (...skipping 13 matching lines...) Expand all Loading... |
| 30 // Generate a frame containing a gradient, and test the encoder and decoder | 30 // Generate a frame containing a gradient, and test the encoder and decoder |
| 31 // pair. | 31 // pair. |
| 32 void TestEncoderDecoderGradient(Encoder* encoder, Decoder* decoder, | 32 void TestEncoderDecoderGradient(Encoder* encoder, Decoder* decoder, |
| 33 const SkISize& screen_size, | 33 const SkISize& screen_size, |
| 34 const SkISize& view_size, | 34 const SkISize& view_size, |
| 35 double max_error_limit, | 35 double max_error_limit, |
| 36 double mean_error_limit); | 36 double mean_error_limit); |
| 37 | 37 |
| 38 } // namespace remoting | 38 } // namespace remoting |
| 39 | 39 |
| 40 #endif // REMOTING_BASE_CODEC_TEST_H_ | 40 #endif // REMOTING_CODEC_CODEC_TEST_H_ |
| OLD | NEW |