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

Side by Side Diff: webrtc/modules/rtp_rtcp/mocks/mock_rtp_rtcp.h

Issue 2089773002: Add EncodedImageCallback::OnEncodedImage(). (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: . 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 80 matching lines...) Expand 10 before | Expand all | Expand 10 after
91 MOCK_CONST_METHOD0(SendingMedia, bool()); 91 MOCK_CONST_METHOD0(SendingMedia, bool());
92 MOCK_CONST_METHOD4(BitrateSent, 92 MOCK_CONST_METHOD4(BitrateSent,
93 void(uint32_t* total_rate, 93 void(uint32_t* total_rate,
94 uint32_t* video_rate, 94 uint32_t* video_rate,
95 uint32_t* fec_rate, 95 uint32_t* fec_rate,
96 uint32_t* nack_rate)); 96 uint32_t* nack_rate));
97 MOCK_METHOD1(RegisterVideoBitrateObserver, void(BitrateStatisticsObserver*)); 97 MOCK_METHOD1(RegisterVideoBitrateObserver, void(BitrateStatisticsObserver*));
98 MOCK_CONST_METHOD0(GetVideoBitrateObserver, BitrateStatisticsObserver*(void)); 98 MOCK_CONST_METHOD0(GetVideoBitrateObserver, BitrateStatisticsObserver*(void));
99 MOCK_CONST_METHOD1(EstimatedReceiveBandwidth, 99 MOCK_CONST_METHOD1(EstimatedReceiveBandwidth,
100 int(uint32_t* available_bandwidth)); 100 int(uint32_t* available_bandwidth));
101 MOCK_METHOD8(SendOutgoingData, 101 MOCK_METHOD9(SendOutgoingData,
102 int32_t(FrameType frame_type, 102 bool(FrameType frame_type,
103 int8_t payload_type, 103 int8_t payload_type,
104 uint32_t timestamp, 104 uint32_t timestamp,
105 int64_t capture_time_ms, 105 int64_t capture_time_ms,
106 const uint8_t* payload_data, 106 const uint8_t* payload_data,
107 size_t payload_size, 107 size_t payload_size,
108 const RTPFragmentationHeader* fragmentation, 108 const RTPFragmentationHeader* fragmentation,
109 const RTPVideoHeader* rtp_video_header)); 109 const RTPVideoHeader* rtp_video_header,
110 uint32_t* frame_id_out));
110 MOCK_METHOD5(TimeToSendPacket, 111 MOCK_METHOD5(TimeToSendPacket,
111 bool(uint32_t ssrc, 112 bool(uint32_t ssrc,
112 uint16_t sequence_number, 113 uint16_t sequence_number,
113 int64_t capture_time_ms, 114 int64_t capture_time_ms,
114 bool retransmission, 115 bool retransmission,
115 int probe_cluster_id)); 116 int probe_cluster_id));
116 MOCK_METHOD2(TimeToSendPadding, size_t(size_t bytes, int probe_cluster_id)); 117 MOCK_METHOD2(TimeToSendPadding, size_t(size_t bytes, int probe_cluster_id));
117 MOCK_METHOD2(RegisterRtcpObservers, 118 MOCK_METHOD2(RegisterRtcpObservers,
118 void(RtcpIntraFrameObserver* intra_frame_callback, 119 void(RtcpIntraFrameObserver* intra_frame_callback,
119 RtcpBandwidthObserver* bandwidth_callback)); 120 RtcpBandwidthObserver* bandwidth_callback));
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after
207 void(StreamDataCountersCallback*)); 208 void(StreamDataCountersCallback*));
208 MOCK_CONST_METHOD0(GetSendChannelRtpStatisticsCallback, 209 MOCK_CONST_METHOD0(GetSendChannelRtpStatisticsCallback,
209 StreamDataCountersCallback*(void)); 210 StreamDataCountersCallback*(void));
210 // Members. 211 // Members.
211 unsigned int remote_ssrc_; 212 unsigned int remote_ssrc_;
212 }; 213 };
213 214
214 } // namespace webrtc 215 } // namespace webrtc
215 216
216 #endif // WEBRTC_MODULES_RTP_RTCP_MOCKS_MOCK_RTP_RTCP_H_ 217 #endif // WEBRTC_MODULES_RTP_RTCP_MOCKS_MOCK_RTP_RTCP_H_
OLDNEW
« no previous file with comments | « webrtc/modules/rtp_rtcp/include/rtp_rtcp.h ('k') | webrtc/modules/rtp_rtcp/source/nack_rtx_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698