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/video_engine/vie_channel.h

Issue 1406903002: Expose codec implementation names in stats. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: feedback Created 5 years, 1 month 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 217 matching lines...) Expand 10 before | Expand all | Expand 10 after
228 228
229 // Implements VCMReceiveCallback. 229 // Implements VCMReceiveCallback.
230 virtual int32_t FrameToRender(VideoFrame& video_frame); // NOLINT 230 virtual int32_t FrameToRender(VideoFrame& video_frame); // NOLINT
231 231
232 // Implements VCMReceiveCallback. 232 // Implements VCMReceiveCallback.
233 virtual int32_t ReceivedDecodedReferenceFrame( 233 virtual int32_t ReceivedDecodedReferenceFrame(
234 const uint64_t picture_id); 234 const uint64_t picture_id);
235 235
236 // Implements VCMReceiveCallback. 236 // Implements VCMReceiveCallback.
237 void OnIncomingPayloadType(int payload_type) override; 237 void OnIncomingPayloadType(int payload_type) override;
238 void OnDecoderImplementationName(const char* implementation_name) override;
238 239
239 // Implements VCMReceiveStatisticsCallback. 240 // Implements VCMReceiveStatisticsCallback.
240 void OnReceiveRatesUpdated(uint32_t bit_rate, uint32_t frame_rate) override; 241 void OnReceiveRatesUpdated(uint32_t bit_rate, uint32_t frame_rate) override;
241 void OnDiscardedPacketsUpdated(int discarded_packets) override; 242 void OnDiscardedPacketsUpdated(int discarded_packets) override;
242 void OnFrameCountsUpdated(const FrameCounts& frame_counts) override; 243 void OnFrameCountsUpdated(const FrameCounts& frame_counts) override;
243 244
244 // Implements VCMDecoderTimingCallback. 245 // Implements VCMDecoderTimingCallback.
245 virtual void OnDecoderTiming(int decode_ms, 246 virtual void OnDecoderTiming(int decode_ms,
246 int max_decode_ms, 247 int max_decode_ms,
247 int current_delay_ms, 248 int current_delay_ms,
(...skipping 201 matching lines...) Expand 10 before | Expand all | Expand 10 after
449 size_t num_rtts_ GUARDED_BY(crit_); 450 size_t num_rtts_ GUARDED_BY(crit_);
450 451
451 // RtpRtcp modules, declared last as they use other members on construction. 452 // RtpRtcp modules, declared last as they use other members on construction.
452 const std::vector<RtpRtcp*> rtp_rtcp_modules_; 453 const std::vector<RtpRtcp*> rtp_rtcp_modules_;
453 size_t num_active_rtp_rtcp_modules_ GUARDED_BY(crit_); 454 size_t num_active_rtp_rtcp_modules_ GUARDED_BY(crit_);
454 }; 455 };
455 456
456 } // namespace webrtc 457 } // namespace webrtc
457 458
458 #endif // WEBRTC_VIDEO_ENGINE_VIE_CHANNEL_H_ 459 #endif // WEBRTC_VIDEO_ENGINE_VIE_CHANNEL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698