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

Side by Side Diff: remoting/codec/video_decoder_vp8_unittest.cc

Issue 10877014: Moved the video encoders/decoders to the codec directory. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Addressed comments Created 8 years, 4 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « remoting/codec/video_decoder_vp8.cc ('k') | remoting/codec/video_encode_decode_unittest.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 #include "remoting/codec/video_decoder_vp8.h"
6
5 #include "media/base/video_frame.h" 7 #include "media/base/video_frame.h"
6 #include "remoting/base/codec_test.h" 8 #include "remoting/codec/codec_test.h"
7 #include "remoting/base/decoder_vp8.h" 9 #include "remoting/codec/video_encoder_vp8.h"
8 #include "remoting/base/encoder_vp8.h"
9 #include "testing/gtest/include/gtest/gtest.h" 10 #include "testing/gtest/include/gtest/gtest.h"
10 11
11 namespace remoting { 12 namespace remoting {
12 13
13 class DecoderVp8Test : public testing::Test { 14 class DecoderVp8Test : public testing::Test {
14 protected: 15 protected:
15 EncoderVp8 encoder_; 16 EncoderVp8 encoder_;
16 DecoderVp8 decoder_; 17 DecoderVp8 decoder_;
17 18
18 void TestGradient(int screen_width, int screen_height, 19 void TestGradient(int screen_width, int screen_height,
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
65 66
66 TEST_F(DecoderVp8Test, GradientScaleDownOddToEven) { 67 TEST_F(DecoderVp8Test, GradientScaleDownOddToEven) {
67 TestGradient(321, 241, 160, 120, 0.04, 0.02); 68 TestGradient(321, 241, 160, 120, 0.04, 0.02);
68 } 69 }
69 70
70 TEST_F(DecoderVp8Test, GradientScaleDownOddToOdd) { 71 TEST_F(DecoderVp8Test, GradientScaleDownOddToOdd) {
71 TestGradient(321, 241, 161, 121, 0.04, 0.02); 72 TestGradient(321, 241, 161, 121, 0.04, 0.02);
72 } 73 }
73 74
74 } // namespace remoting 75 } // namespace remoting
OLDNEW
« no previous file with comments | « remoting/codec/video_decoder_vp8.cc ('k') | remoting/codec/video_encode_decode_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698