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 |
(...skipping 14 matching lines...) Expand all Loading... |
25 | 25 |
26 // Encoding. | 26 // Encoding. |
27 int64_t encode_start_ns = 0; | 27 int64_t encode_start_ns = 0; |
28 int encode_return_code = 0; | 28 int encode_return_code = 0; |
29 bool encoding_successful = false; | 29 bool encoding_successful = false; |
30 int encode_time_us = 0; | 30 int encode_time_us = 0; |
31 int bitrate_kbps = 0; | 31 int bitrate_kbps = 0; |
32 size_t encoded_frame_size_bytes = 0; | 32 size_t encoded_frame_size_bytes = 0; |
33 webrtc::FrameType frame_type = kVideoFrameDelta; | 33 webrtc::FrameType frame_type = kVideoFrameDelta; |
34 | 34 |
| 35 // H264 specific. |
| 36 rtc::Optional<size_t> max_nalu_length; |
| 37 |
35 // Decoding. | 38 // Decoding. |
36 int64_t decode_start_ns = 0; | 39 int64_t decode_start_ns = 0; |
37 int decode_return_code = 0; | 40 int decode_return_code = 0; |
38 bool decoding_successful = false; | 41 bool decoding_successful = false; |
39 int decode_time_us = 0; | 42 int decode_time_us = 0; |
40 int decoded_width = 0; | 43 int decoded_width = 0; |
41 int decoded_height = 0; | 44 int decoded_height = 0; |
42 | 45 |
43 // Quantization. | 46 // Quantization. |
44 int qp = -1; | 47 int qp = -1; |
(...skipping 22 matching lines...) Expand all Loading... |
67 void PrintSummary() const; | 70 void PrintSummary() const; |
68 | 71 |
69 private: | 72 private: |
70 std::vector<FrameStatistic> stats_; | 73 std::vector<FrameStatistic> stats_; |
71 }; | 74 }; |
72 | 75 |
73 } // namespace test | 76 } // namespace test |
74 } // namespace webrtc | 77 } // namespace webrtc |
75 | 78 |
76 #endif // MODULES_VIDEO_CODING_CODECS_TEST_STATS_H_ | 79 #endif // MODULES_VIDEO_CODING_CODECS_TEST_STATS_H_ |
OLD | NEW |