OLD | NEW |
1 /* | 1 /* |
2 * Copyright (c) 2012 The WebRTC project authors. All Rights Reserved. | 2 * Copyright (c) 2012 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_TEST_TEST_UTIL_H_ | 11 #ifndef WEBRTC_MODULES_VIDEO_CODING_TEST_TEST_UTIL_H_ |
12 #define WEBRTC_MODULES_VIDEO_CODING_TEST_TEST_UTIL_H_ | 12 #define WEBRTC_MODULES_VIDEO_CODING_TEST_TEST_UTIL_H_ |
13 | 13 |
14 /* | 14 /* |
15 * General declarations used through out VCM offline tests. | 15 * General declarations used through out VCM offline tests. |
16 */ | 16 */ |
17 | 17 |
18 #include <string> | 18 #include <string> |
19 | 19 |
20 #include "webrtc/base/constructormagic.h" | 20 #include "webrtc/base/constructormagic.h" |
21 #include "webrtc/modules/include/module_common_types.h" | 21 #include "webrtc/modules/include/module_common_types.h" |
22 #include "webrtc/modules/video_coding/main/interface/video_coding.h" | 22 #include "webrtc/modules/video_coding/include/video_coding.h" |
23 #include "webrtc/system_wrappers/include/event_wrapper.h" | 23 #include "webrtc/system_wrappers/include/event_wrapper.h" |
24 | 24 |
25 enum { kMaxNackListSize = 250 }; | 25 enum { kMaxNackListSize = 250 }; |
26 enum { kMaxPacketAgeToNack = 450 }; | 26 enum { kMaxPacketAgeToNack = 450 }; |
27 | 27 |
28 class NullEvent : public webrtc::EventWrapper { | 28 class NullEvent : public webrtc::EventWrapper { |
29 public: | 29 public: |
30 virtual ~NullEvent() {} | 30 virtual ~NullEvent() {} |
31 | 31 |
32 virtual bool Set() { return true; } | 32 virtual bool Set() { return true; } |
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
76 | 76 |
77 std::string codecName; | 77 std::string codecName; |
78 webrtc::VideoCodecType codecType; | 78 webrtc::VideoCodecType codecType; |
79 int width; | 79 int width; |
80 int height; | 80 int height; |
81 int rtt; | 81 int rtt; |
82 std::string inputFile; | 82 std::string inputFile; |
83 std::string outputFile; | 83 std::string outputFile; |
84 }; | 84 }; |
85 | 85 |
86 #endif | 86 #endif // WEBRTC_MODULES_VIDEO_CODING_TEST_TEST_UTIL_H_ |
OLD | NEW |