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

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

Issue 1406903002: Expose codec implementation names in stats. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: 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 102 matching lines...) Expand 10 before | Expand all | Expand 10 after
113 void SetSenderBufferingMode(int target_delay_ms); 113 void SetSenderBufferingMode(int target_delay_ms);
114 114
115 // Implements VideoEncoderRateObserver. 115 // Implements VideoEncoderRateObserver.
116 void OnSetRates(uint32_t bitrate_bps, int framerate) override; 116 void OnSetRates(uint32_t bitrate_bps, int framerate) override;
117 117
118 // Implements VCMPacketizationCallback. 118 // Implements VCMPacketizationCallback.
119 int32_t SendData(uint8_t payload_type, 119 int32_t SendData(uint8_t payload_type,
120 const EncodedImage& encoded_image, 120 const EncodedImage& encoded_image,
121 const RTPFragmentationHeader& fragmentation_header, 121 const RTPFragmentationHeader& fragmentation_header,
122 const RTPVideoHeader* rtp_video_hdr) override; 122 const RTPVideoHeader* rtp_video_hdr) override;
123 void OnEncoderImplementationName(const char* implementation_name) override;
123 124
124 // Implements VideoSendStatisticsCallback. 125 // Implements VideoSendStatisticsCallback.
125 int32_t SendStatistics(const uint32_t bit_rate, 126 int32_t SendStatistics(const uint32_t bit_rate,
126 const uint32_t frame_rate) override; 127 const uint32_t frame_rate) override;
127 128
128 // Implements RtcpIntraFrameObserver. 129 // Implements RtcpIntraFrameObserver.
129 void OnReceivedIntraFrameRequest(uint32_t ssrc) override; 130 void OnReceivedIntraFrameRequest(uint32_t ssrc) override;
130 void OnReceivedSLI(uint32_t ssrc, uint8_t picture_id) override; 131 void OnReceivedSLI(uint32_t ssrc, uint8_t picture_id) override;
131 void OnReceivedRPSI(uint32_t ssrc, uint64_t picture_id) override; 132 void OnReceivedRPSI(uint32_t ssrc, uint64_t picture_id) override;
132 void OnLocalSsrcChanged(uint32_t old_ssrc, uint32_t new_ssrc) override; 133 void OnLocalSsrcChanged(uint32_t old_ssrc, uint32_t new_ssrc) override;
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
200 bool has_received_rpsi_ GUARDED_BY(data_cs_); 201 bool has_received_rpsi_ GUARDED_BY(data_cs_);
201 uint64_t picture_id_rpsi_ GUARDED_BY(data_cs_); 202 uint64_t picture_id_rpsi_ GUARDED_BY(data_cs_);
202 std::map<uint32_t, int> ssrc_streams_ GUARDED_BY(data_cs_); 203 std::map<uint32_t, int> ssrc_streams_ GUARDED_BY(data_cs_);
203 204
204 bool video_suspended_ GUARDED_BY(data_cs_); 205 bool video_suspended_ GUARDED_BY(data_cs_);
205 }; 206 };
206 207
207 } // namespace webrtc 208 } // namespace webrtc
208 209
209 #endif // WEBRTC_VIDEO_ENGINE_VIE_ENCODER_H_ 210 #endif // WEBRTC_VIDEO_ENGINE_VIE_ENCODER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698