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

Side by Side Diff: webrtc/modules/video_coding/utility/include/vp8_header_parser.h

Issue 1340623002: Add stats for average QP per frame for VP8 (for received video streams). (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: address comment Created 5 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) 2015 The WebRTC project authors. All Rights Reserved. 2 * Copyright (c) 2015 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 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
59 129, 131, 133, 135, 137, 139, 141, 143, 59 129, 131, 133, 135, 137, 139, 141, 143,
60 145, 147, 149, 151, 153, 155, 157, 159, 60 145, 147, 149, 151, 153, 155, 157, 159,
61 161, 163, 165, 167, 169, 171, 173, 175, 61 161, 163, 165, 167, 169, 171, 173, 175,
62 177, 179, 181, 183, 185, 187, 189, 191, 62 177, 179, 181, 183, 185, 187, 189, 191,
63 193, 195, 197, 199, 201, 203, 205, 207, 63 193, 195, 197, 199, 201, 203, 205, 207,
64 209, 211, 213, 215, 217, 219, 221, 223, 64 209, 211, 213, 215, 217, 219, 221, 223,
65 225, 227, 229, 231, 233, 235, 237, 239, 65 225, 227, 229, 231, 233, 235, 237, 239,
66 241, 243, 245, 247, 249, 251, 253, 127 66 241, 243, 245, 247, 249, 251, 253, 127
67 }; 67 };
68 68
69 int GetQP(uint8_t* buf); 69 // Gets the QP, QP range: [0, 127].
70 // Returns true on success, false otherwise.
71 bool GetQp(const uint8_t* buf, size_t length, int* qp);
70 72
71 } // namespace vp8 73 } // namespace vp8
72 74
73 } // namespace webrtc 75 } // namespace webrtc
74 76
75 #endif // WEBRTC_MODULES_VIDEO_CODING_UTILITY_VP8_PARSE_HEADER_H_ 77 #endif // WEBRTC_MODULES_VIDEO_CODING_UTILITY_VP8_PARSE_HEADER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698