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

Side by Side Diff: webrtc/video/vie_encoder.h

Issue 1406903002: Expose codec implementation names in stats. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: fix rebase Created 5 years 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
« no previous file with comments | « webrtc/video/vie_channel.cc ('k') | webrtc/video/vie_encoder.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 94 matching lines...) Expand 10 before | Expand all | Expand 10 after
105 void SetSenderBufferingMode(int target_delay_ms); 105 void SetSenderBufferingMode(int target_delay_ms);
106 106
107 // Implements VideoEncoderRateObserver. 107 // Implements VideoEncoderRateObserver.
108 void OnSetRates(uint32_t bitrate_bps, int framerate) override; 108 void OnSetRates(uint32_t bitrate_bps, int framerate) override;
109 109
110 // Implements VCMPacketizationCallback. 110 // Implements VCMPacketizationCallback.
111 int32_t SendData(uint8_t payload_type, 111 int32_t SendData(uint8_t payload_type,
112 const EncodedImage& encoded_image, 112 const EncodedImage& encoded_image,
113 const RTPFragmentationHeader& fragmentation_header, 113 const RTPFragmentationHeader& fragmentation_header,
114 const RTPVideoHeader* rtp_video_hdr) override; 114 const RTPVideoHeader* rtp_video_hdr) override;
115 void OnEncoderImplementationName(const char* implementation_name) override;
115 116
116 // Implements VideoSendStatisticsCallback. 117 // Implements VideoSendStatisticsCallback.
117 int32_t SendStatistics(const uint32_t bit_rate, 118 int32_t SendStatistics(const uint32_t bit_rate,
118 const uint32_t frame_rate) override; 119 const uint32_t frame_rate) override;
119 120
120 // Implements RtcpIntraFrameObserver. 121 // Implements RtcpIntraFrameObserver.
121 void OnReceivedIntraFrameRequest(uint32_t ssrc) override; 122 void OnReceivedIntraFrameRequest(uint32_t ssrc) override;
122 void OnReceivedSLI(uint32_t ssrc, uint8_t picture_id) override; 123 void OnReceivedSLI(uint32_t ssrc, uint8_t picture_id) override;
123 void OnReceivedRPSI(uint32_t ssrc, uint64_t picture_id) override; 124 void OnReceivedRPSI(uint32_t ssrc, uint64_t picture_id) override;
124 void OnLocalSsrcChanged(uint32_t old_ssrc, uint32_t new_ssrc) override; 125 void OnLocalSsrcChanged(uint32_t old_ssrc, uint32_t new_ssrc) override;
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
186 bool has_received_rpsi_ GUARDED_BY(data_cs_); 187 bool has_received_rpsi_ GUARDED_BY(data_cs_);
187 uint64_t picture_id_rpsi_ GUARDED_BY(data_cs_); 188 uint64_t picture_id_rpsi_ GUARDED_BY(data_cs_);
188 std::map<uint32_t, int> ssrc_streams_ GUARDED_BY(data_cs_); 189 std::map<uint32_t, int> ssrc_streams_ GUARDED_BY(data_cs_);
189 190
190 bool video_suspended_ GUARDED_BY(data_cs_); 191 bool video_suspended_ GUARDED_BY(data_cs_);
191 }; 192 };
192 193
193 } // namespace webrtc 194 } // namespace webrtc
194 195
195 #endif // WEBRTC_VIDEO_VIE_ENCODER_H_ 196 #endif // WEBRTC_VIDEO_VIE_ENCODER_H_
OLDNEW
« no previous file with comments | « webrtc/video/vie_channel.cc ('k') | webrtc/video/vie_encoder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698