OLD | NEW |
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 142 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
153 typedef VideoCodingModule::ReceiverRobustness ReceiverRobustness; | 153 typedef VideoCodingModule::ReceiverRobustness ReceiverRobustness; |
154 | 154 |
155 VideoReceiver(Clock* clock, EventFactory* event_factory); | 155 VideoReceiver(Clock* clock, EventFactory* event_factory); |
156 ~VideoReceiver(); | 156 ~VideoReceiver(); |
157 | 157 |
158 int32_t RegisterReceiveCodec(const VideoCodec* receiveCodec, | 158 int32_t RegisterReceiveCodec(const VideoCodec* receiveCodec, |
159 int32_t numberOfCores, | 159 int32_t numberOfCores, |
160 bool requireKeyFrame); | 160 bool requireKeyFrame); |
161 | 161 |
162 int32_t RegisterExternalDecoder(VideoDecoder* externalDecoder, | 162 int32_t RegisterExternalDecoder(VideoDecoder* externalDecoder, |
163 uint8_t payloadType, | 163 uint8_t payloadType); |
164 bool internalRenderTiming); | |
165 int32_t RegisterReceiveCallback(VCMReceiveCallback* receiveCallback); | 164 int32_t RegisterReceiveCallback(VCMReceiveCallback* receiveCallback); |
166 int32_t RegisterReceiveStatisticsCallback( | 165 int32_t RegisterReceiveStatisticsCallback( |
167 VCMReceiveStatisticsCallback* receiveStats); | 166 VCMReceiveStatisticsCallback* receiveStats); |
168 int32_t RegisterDecoderTimingCallback( | 167 int32_t RegisterDecoderTimingCallback( |
169 VCMDecoderTimingCallback* decoderTiming); | 168 VCMDecoderTimingCallback* decoderTiming); |
170 int32_t RegisterFrameTypeCallback(VCMFrameTypeCallback* frameTypeCallback); | 169 int32_t RegisterFrameTypeCallback(VCMFrameTypeCallback* frameTypeCallback); |
171 int32_t RegisterPacketRequestCallback(VCMPacketRequestCallback* callback); | 170 int32_t RegisterPacketRequestCallback(VCMPacketRequestCallback* callback); |
172 int RegisterRenderBufferSizeCallback(VCMRenderBufferSizeCallback* callback); | 171 int RegisterRenderBufferSizeCallback(VCMRenderBufferSizeCallback* callback); |
173 | 172 |
174 int32_t Decode(uint16_t maxWaitTimeMs); | 173 int32_t Decode(uint16_t maxWaitTimeMs); |
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
237 VCMCodecDataBase _codecDataBase GUARDED_BY(_receiveCritSect); | 236 VCMCodecDataBase _codecDataBase GUARDED_BY(_receiveCritSect); |
238 VCMProcessTimer _receiveStatsTimer; | 237 VCMProcessTimer _receiveStatsTimer; |
239 VCMProcessTimer _retransmissionTimer; | 238 VCMProcessTimer _retransmissionTimer; |
240 VCMProcessTimer _keyRequestTimer; | 239 VCMProcessTimer _keyRequestTimer; |
241 QpParser qp_parser_; | 240 QpParser qp_parser_; |
242 }; | 241 }; |
243 | 242 |
244 } // namespace vcm | 243 } // namespace vcm |
245 } // namespace webrtc | 244 } // namespace webrtc |
246 #endif // WEBRTC_MODULES_VIDEO_CODING_VIDEO_CODING_IMPL_H_ | 245 #endif // WEBRTC_MODULES_VIDEO_CODING_VIDEO_CODING_IMPL_H_ |
OLD | NEW |