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

Side by Side Diff: modules/video_coding/codecs/test/stats.h

Issue 3011373002: Updating OpenH264 to v1.7.0 (Closed)
Patch Set: increasing frame size mismatch threshold Created 3 years, 2 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
OLDNEW
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 13 matching lines...) Expand all
24 const int frame_number = 0; 24 const int frame_number = 0;
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 size_t max_nalu_length = 0;
34 35
35 // Decoding. 36 // Decoding.
36 int64_t decode_start_ns = 0; 37 int64_t decode_start_ns = 0;
37 int decode_return_code = 0; 38 int decode_return_code = 0;
38 bool decoding_successful = false; 39 bool decoding_successful = false;
39 int decode_time_us = 0; 40 int decode_time_us = 0;
40 int decoded_width = 0; 41 int decoded_width = 0;
41 int decoded_height = 0; 42 int decoded_height = 0;
42 43
43 // Quantization. 44 // Quantization.
(...skipping 23 matching lines...) Expand all
67 void PrintSummary() const; 68 void PrintSummary() const;
68 69
69 private: 70 private:
70 std::vector<FrameStatistic> stats_; 71 std::vector<FrameStatistic> stats_;
71 }; 72 };
72 73
73 } // namespace test 74 } // namespace test
74 } // namespace webrtc 75 } // namespace webrtc
75 76
76 #endif // MODULES_VIDEO_CODING_CODECS_TEST_STATS_H_ 77 #endif // MODULES_VIDEO_CODING_CODECS_TEST_STATS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698