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

Side by Side Diff: webrtc/modules/video_coding/video_coding_impl.h

Issue 1923713002: Remove VCMRenderBufferSizeCallback. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Created 4 years, 7 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 134 matching lines...) Expand 10 before | Expand all | Expand 10 after
145 145
146 void RegisterExternalDecoder(VideoDecoder* externalDecoder, 146 void RegisterExternalDecoder(VideoDecoder* externalDecoder,
147 uint8_t payloadType); 147 uint8_t payloadType);
148 int32_t RegisterReceiveCallback(VCMReceiveCallback* receiveCallback); 148 int32_t RegisterReceiveCallback(VCMReceiveCallback* receiveCallback);
149 int32_t RegisterReceiveStatisticsCallback( 149 int32_t RegisterReceiveStatisticsCallback(
150 VCMReceiveStatisticsCallback* receiveStats); 150 VCMReceiveStatisticsCallback* receiveStats);
151 int32_t RegisterDecoderTimingCallback( 151 int32_t RegisterDecoderTimingCallback(
152 VCMDecoderTimingCallback* decoderTiming); 152 VCMDecoderTimingCallback* decoderTiming);
153 int32_t RegisterFrameTypeCallback(VCMFrameTypeCallback* frameTypeCallback); 153 int32_t RegisterFrameTypeCallback(VCMFrameTypeCallback* frameTypeCallback);
154 int32_t RegisterPacketRequestCallback(VCMPacketRequestCallback* callback); 154 int32_t RegisterPacketRequestCallback(VCMPacketRequestCallback* callback);
155 int RegisterRenderBufferSizeCallback(VCMRenderBufferSizeCallback* callback);
156 155
157 int32_t Decode(uint16_t maxWaitTimeMs); 156 int32_t Decode(uint16_t maxWaitTimeMs);
158 157
159 int32_t ReceiveCodec(VideoCodec* currentReceiveCodec) const; 158 int32_t ReceiveCodec(VideoCodec* currentReceiveCodec) const;
160 VideoCodecType ReceiveCodec() const; 159 VideoCodecType ReceiveCodec() const;
161 160
162 int32_t IncomingPacket(const uint8_t* incomingPayload, 161 int32_t IncomingPacket(const uint8_t* incomingPayload,
163 size_t payloadLength, 162 size_t payloadLength,
164 const WebRtcRTPHeader& rtpInfo); 163 const WebRtcRTPHeader& rtpInfo);
165 int32_t SetMinimumPlayoutDelay(uint32_t minPlayoutDelayMs); 164 int32_t SetMinimumPlayoutDelay(uint32_t minPlayoutDelayMs);
(...skipping 28 matching lines...) Expand all
194 Clock* const clock_; 193 Clock* const clock_;
195 rtc::CriticalSection process_crit_; 194 rtc::CriticalSection process_crit_;
196 rtc::CriticalSection receive_crit_; 195 rtc::CriticalSection receive_crit_;
197 VCMTiming _timing; 196 VCMTiming _timing;
198 VCMReceiver _receiver; 197 VCMReceiver _receiver;
199 VCMDecodedFrameCallback _decodedFrameCallback; 198 VCMDecodedFrameCallback _decodedFrameCallback;
200 VCMFrameTypeCallback* _frameTypeCallback GUARDED_BY(process_crit_); 199 VCMFrameTypeCallback* _frameTypeCallback GUARDED_BY(process_crit_);
201 VCMReceiveStatisticsCallback* _receiveStatsCallback GUARDED_BY(process_crit_); 200 VCMReceiveStatisticsCallback* _receiveStatsCallback GUARDED_BY(process_crit_);
202 VCMDecoderTimingCallback* _decoderTimingCallback GUARDED_BY(process_crit_); 201 VCMDecoderTimingCallback* _decoderTimingCallback GUARDED_BY(process_crit_);
203 VCMPacketRequestCallback* _packetRequestCallback GUARDED_BY(process_crit_); 202 VCMPacketRequestCallback* _packetRequestCallback GUARDED_BY(process_crit_);
204 VCMRenderBufferSizeCallback* render_buffer_callback_
205 GUARDED_BY(process_crit_);
206 VCMGenericDecoder* _decoder; 203 VCMGenericDecoder* _decoder;
207 204
208 VCMFrameBuffer _frameFromFile; 205 VCMFrameBuffer _frameFromFile;
209 bool _scheduleKeyRequest GUARDED_BY(process_crit_); 206 bool _scheduleKeyRequest GUARDED_BY(process_crit_);
210 bool drop_frames_until_keyframe_ GUARDED_BY(process_crit_); 207 bool drop_frames_until_keyframe_ GUARDED_BY(process_crit_);
211 size_t max_nack_list_size_ GUARDED_BY(process_crit_); 208 size_t max_nack_list_size_ GUARDED_BY(process_crit_);
212 209
213 VCMCodecDataBase _codecDataBase GUARDED_BY(receive_crit_); 210 VCMCodecDataBase _codecDataBase GUARDED_BY(receive_crit_);
214 EncodedImageCallback* pre_decode_image_callback_; 211 EncodedImageCallback* pre_decode_image_callback_;
215 212
216 VCMProcessTimer _receiveStatsTimer; 213 VCMProcessTimer _receiveStatsTimer;
217 VCMProcessTimer _retransmissionTimer; 214 VCMProcessTimer _retransmissionTimer;
218 VCMProcessTimer _keyRequestTimer; 215 VCMProcessTimer _keyRequestTimer;
219 QpParser qp_parser_; 216 QpParser qp_parser_;
220 ThreadUnsafeOneTimeEvent first_frame_received_; 217 ThreadUnsafeOneTimeEvent first_frame_received_;
221 }; 218 };
222 219
223 } // namespace vcm 220 } // namespace vcm
224 } // namespace webrtc 221 } // namespace webrtc
225 #endif // WEBRTC_MODULES_VIDEO_CODING_VIDEO_CODING_IMPL_H_ 222 #endif // WEBRTC_MODULES_VIDEO_CODING_VIDEO_CODING_IMPL_H_
OLDNEW
« no previous file with comments | « webrtc/modules/video_coding/receiver_unittest.cc ('k') | webrtc/modules/video_coding/video_coding_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698