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

Side by Side Diff: webrtc/modules/video_coding/include/video_coding_defines.h

Issue 2253563002: Add codec name to CodecSpecificInfo and get the codec name stats from there instead. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Fix fake_encoder.cc Created 4 years, 4 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) 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
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
70 virtual void OnDecoderImplementationName(const char* implementation_name) {} 70 virtual void OnDecoderImplementationName(const char* implementation_name) {}
71 71
72 protected: 72 protected:
73 virtual ~VCMReceiveCallback() {} 73 virtual ~VCMReceiveCallback() {}
74 }; 74 };
75 75
76 // Callback class used for informing the user of the bit rate and frame rate, 76 // Callback class used for informing the user of the bit rate and frame rate,
77 // and the name of the encoder. 77 // and the name of the encoder.
78 class VCMSendStatisticsCallback { 78 class VCMSendStatisticsCallback {
79 public: 79 public:
80 virtual void SendStatistics(uint32_t bitRate, 80 virtual void SendStatistics(uint32_t bitRate, uint32_t frameRate) = 0;
81 uint32_t frameRate,
82 const std::string& encoder_name) = 0;
83 81
84 protected: 82 protected:
85 virtual ~VCMSendStatisticsCallback() {} 83 virtual ~VCMSendStatisticsCallback() {}
86 }; 84 };
87 85
88 // Callback class used for informing the user of the incoming bit rate and frame 86 // Callback class used for informing the user of the incoming bit rate and frame
89 // rate. 87 // rate.
90 class VCMReceiveStatisticsCallback { 88 class VCMReceiveStatisticsCallback {
91 public: 89 public:
92 virtual void OnReceiveRatesUpdated(uint32_t bitRate, uint32_t frameRate) = 0; 90 virtual void OnReceiveRatesUpdated(uint32_t bitRate, uint32_t frameRate) = 0;
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
166 public: 164 public:
167 virtual void RequestKeyFrame() = 0; 165 virtual void RequestKeyFrame() = 0;
168 166
169 protected: 167 protected:
170 virtual ~KeyFrameRequestSender() {} 168 virtual ~KeyFrameRequestSender() {}
171 }; 169 };
172 170
173 } // namespace webrtc 171 } // namespace webrtc
174 172
175 #endif // WEBRTC_MODULES_VIDEO_CODING_INCLUDE_VIDEO_CODING_DEFINES_H_ 173 #endif // WEBRTC_MODULES_VIDEO_CODING_INCLUDE_VIDEO_CODING_DEFINES_H_
OLDNEW
« no previous file with comments | « webrtc/modules/video_coding/include/video_codec_interface.h ('k') | webrtc/modules/video_coding/video_coding_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698