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

Side by Side Diff: webrtc/modules/video_coding/main/source/video_coding_impl.cc

Issue 1374673003: Move sent key frame stats to send_statistics_proxy class. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: removed functions (SentFrameCount, SendCodecStatistics) 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) 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 171 matching lines...) Expand 10 before | Expand all | Expand 10 after
182 } 182 }
183 183
184 int32_t IntraFrameRequest(int stream_index) override { 184 int32_t IntraFrameRequest(int stream_index) override {
185 return sender_->IntraFrameRequest(stream_index); 185 return sender_->IntraFrameRequest(stream_index);
186 } 186 }
187 187
188 int32_t EnableFrameDropper(bool enable) override { 188 int32_t EnableFrameDropper(bool enable) override {
189 return sender_->EnableFrameDropper(enable); 189 return sender_->EnableFrameDropper(enable);
190 } 190 }
191 191
192 int32_t SentFrameCount(VCMFrameCount& frameCount) const override {
193 return sender_->SentFrameCount(&frameCount);
194 }
195
196 void SuspendBelowMinBitrate() override { 192 void SuspendBelowMinBitrate() override {
197 return sender_->SuspendBelowMinBitrate(); 193 return sender_->SuspendBelowMinBitrate();
198 } 194 }
199 195
200 bool VideoSuspended() const override { return sender_->VideoSuspended(); } 196 bool VideoSuspended() const override { return sender_->VideoSuspended(); }
201 197
202 int32_t RegisterReceiveCodec(const VideoCodec* receiveCodec, 198 int32_t RegisterReceiveCodec(const VideoCodec* receiveCodec,
203 int32_t numberOfCores, 199 int32_t numberOfCores,
204 bool requireKeyFrame) override { 200 bool requireKeyFrame) override {
205 return receiver_->RegisterReceiveCodec( 201 return receiver_->RegisterReceiveCodec(
(...skipping 152 matching lines...) Expand 10 before | Expand all | Expand 10 after
358 return new VideoCodingModuleImpl(clock, event_factory, false, nullptr, 354 return new VideoCodingModuleImpl(clock, event_factory, false, nullptr,
359 nullptr); 355 nullptr);
360 } 356 }
361 357
362 void VideoCodingModule::Destroy(VideoCodingModule* module) { 358 void VideoCodingModule::Destroy(VideoCodingModule* module) {
363 if (module != NULL) { 359 if (module != NULL) {
364 delete static_cast<VideoCodingModuleImpl*>(module); 360 delete static_cast<VideoCodingModuleImpl*>(module);
365 } 361 }
366 } 362 }
367 } // namespace webrtc 363 } // namespace webrtc
OLDNEW
« no previous file with comments | « webrtc/modules/video_coding/main/source/video_coding_impl.h ('k') | webrtc/modules/video_coding/main/source/video_sender.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698