OLD | NEW |
1 /* | 1 /* |
2 * Copyright (c) 2011 The WebRTC project authors. All Rights Reserved. | 2 * Copyright (c) 2011 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_TEST_STATS_H_ | 11 #ifndef WEBRTC_MODULES_VIDEO_CODING_CODECS_TEST_STATS_H_ |
12 #define WEBRTC_MODULES_VIDEO_CODING_CODECS_TEST_STATS_H_ | 12 #define WEBRTC_MODULES_VIDEO_CODING_CODECS_TEST_STATS_H_ |
13 | 13 |
14 #include <vector> | 14 #include <vector> |
15 | 15 |
16 #include "webrtc/common_video/interface/video_image.h" | 16 #include "webrtc/common_video/include/video_image.h" |
17 | 17 |
18 namespace webrtc { | 18 namespace webrtc { |
19 namespace test { | 19 namespace test { |
20 | 20 |
21 // Contains statistics of a single frame that has been processed. | 21 // Contains statistics of a single frame that has been processed. |
22 struct FrameStatistic { | 22 struct FrameStatistic { |
23 FrameStatistic(); | 23 FrameStatistic(); |
24 | 24 |
25 bool encoding_successful; | 25 bool encoding_successful; |
26 bool decoding_successful; | 26 bool decoding_successful; |
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
61 // processing | 61 // processing |
62 void PrintSummary(); | 62 void PrintSummary(); |
63 | 63 |
64 std::vector<FrameStatistic> stats_; | 64 std::vector<FrameStatistic> stats_; |
65 }; | 65 }; |
66 | 66 |
67 } // namespace test | 67 } // namespace test |
68 } // namespace webrtc | 68 } // namespace webrtc |
69 | 69 |
70 #endif // WEBRTC_MODULES_VIDEO_CODING_CODECS_TEST_STATS_H_ | 70 #endif // WEBRTC_MODULES_VIDEO_CODING_CODECS_TEST_STATS_H_ |
OLD | NEW |