| OLD | NEW | 
|    1 /* |    1 /* | 
|    2  *  Copyright (c) 2014 The WebRTC project authors. All Rights Reserved. |    2  *  Copyright (c) 2014 The WebRTC project authors. All Rights Reserved. | 
|    3  * |    3  * | 
|    4  *  Use of this source code is governed by a BSD-style license |    4  *  Use of this source code is governed by a BSD-style license | 
|    5  *  that can be found in the LICENSE file in the root of the source |    5  *  that can be found in the LICENSE file in the root of the source | 
|    6  *  tree. An additional intellectual property rights grant can be found |    6  *  tree. An additional intellectual property rights grant can be found | 
|    7  *  in the file PATENTS.  All contributing project authors may |    7  *  in the file PATENTS.  All contributing project authors may | 
|    8  *  be found in the AUTHORS file in the root of the source tree. |    8  *  be found in the AUTHORS file in the root of the source tree. | 
|    9  */ |    9  */ | 
|   10  |   10  | 
|   11 #ifndef WEBRTC_MODULES_VIDEO_CODING_CODECS_VP8_SIMULCAST_UNITTEST_H_ |   11 #ifndef WEBRTC_MODULES_VIDEO_CODING_CODECS_VP8_SIMULCAST_UNITTEST_H_ | 
|   12 #define WEBRTC_MODULES_VIDEO_CODING_CODECS_VP8_SIMULCAST_UNITTEST_H_ |   12 #define WEBRTC_MODULES_VIDEO_CODING_CODECS_VP8_SIMULCAST_UNITTEST_H_ | 
|   13  |   13  | 
|   14 #include <algorithm> |   14 #include <algorithm> | 
|   15 #include <map> |   15 #include <map> | 
|   16 #include <memory> |   16 #include <memory> | 
|   17 #include <vector> |   17 #include <vector> | 
|   18  |   18  | 
|   19 #include "webrtc/api/video/i420_buffer.h" |   19 #include "webrtc/api/video/i420_buffer.h" | 
|   20 #include "webrtc/api/video/video_frame.h" |   20 #include "webrtc/api/video/video_frame.h" | 
|   21 #include "webrtc/base/checks.h" |   21 #include "webrtc/base/checks.h" | 
 |   22 #include "webrtc/common_video/include/video_frame.h" | 
|   22 #include "webrtc/common_video/libyuv/include/webrtc_libyuv.h" |   23 #include "webrtc/common_video/libyuv/include/webrtc_libyuv.h" | 
|   23 #include "webrtc/modules/video_coding/codecs/vp8/include/vp8.h" |   24 #include "webrtc/modules/video_coding/codecs/vp8/include/vp8.h" | 
|   24 #include "webrtc/modules/video_coding/codecs/vp8/simulcast_rate_allocator.h" |   25 #include "webrtc/modules/video_coding/codecs/vp8/simulcast_rate_allocator.h" | 
|   25 #include "webrtc/modules/video_coding/codecs/vp8/temporal_layers.h" |   26 #include "webrtc/modules/video_coding/codecs/vp8/temporal_layers.h" | 
|   26 #include "webrtc/modules/video_coding/include/mock/mock_video_codec_interface.h" |   27 #include "webrtc/modules/video_coding/include/mock/mock_video_codec_interface.h" | 
|   27 #include "webrtc/test/gtest.h" |   28 #include "webrtc/test/gtest.h" | 
|   28 #include "webrtc/video_frame.h" |  | 
|   29  |   29  | 
|   30 using ::testing::_; |   30 using ::testing::_; | 
|   31 using ::testing::AllOf; |   31 using ::testing::AllOf; | 
|   32 using ::testing::Field; |   32 using ::testing::Field; | 
|   33 using ::testing::Return; |   33 using ::testing::Return; | 
|   34  |   34  | 
|   35 namespace webrtc { |   35 namespace webrtc { | 
|   36 namespace testing { |   36 namespace testing { | 
|   37  |   37  | 
|   38 const int kDefaultWidth = 1280; |   38 const int kDefaultWidth = 1280; | 
| (...skipping 709 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  748   VideoCodec settings_; |  748   VideoCodec settings_; | 
|  749   rtc::scoped_refptr<I420Buffer> input_buffer_; |  749   rtc::scoped_refptr<I420Buffer> input_buffer_; | 
|  750   std::unique_ptr<VideoFrame> input_frame_; |  750   std::unique_ptr<VideoFrame> input_frame_; | 
|  751   std::unique_ptr<SimulcastRateAllocator> rate_allocator_; |  751   std::unique_ptr<SimulcastRateAllocator> rate_allocator_; | 
|  752 }; |  752 }; | 
|  753  |  753  | 
|  754 }  // namespace testing |  754 }  // namespace testing | 
|  755 }  // namespace webrtc |  755 }  // namespace webrtc | 
|  756  |  756  | 
|  757 #endif  // WEBRTC_MODULES_VIDEO_CODING_CODECS_VP8_SIMULCAST_UNITTEST_H_ |  757 #endif  // WEBRTC_MODULES_VIDEO_CODING_CODECS_VP8_SIMULCAST_UNITTEST_H_ | 
| OLD | NEW |