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 189 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
200 | 200 |
201 int64_t TimeUntilNextProcess() override; | 201 int64_t TimeUntilNextProcess() override; |
202 void Process() override; | 202 void Process() override; |
203 | 203 |
204 void TriggerDecoderShutdown(); | 204 void TriggerDecoderShutdown(); |
205 | 205 |
206 protected: | 206 protected: |
207 int32_t Decode(const webrtc::VCMEncodedFrame& frame) | 207 int32_t Decode(const webrtc::VCMEncodedFrame& frame) |
208 EXCLUSIVE_LOCKS_REQUIRED(receive_crit_); | 208 EXCLUSIVE_LOCKS_REQUIRED(receive_crit_); |
209 int32_t RequestKeyFrame(); | 209 int32_t RequestKeyFrame(); |
210 int32_t RequestSliceLossIndication(const uint64_t pictureID) const; | |
211 | 210 |
212 private: | 211 private: |
213 rtc::ThreadChecker construction_thread_; | 212 rtc::ThreadChecker construction_thread_; |
214 Clock* const clock_; | 213 Clock* const clock_; |
215 rtc::CriticalSection process_crit_; | 214 rtc::CriticalSection process_crit_; |
216 rtc::CriticalSection receive_crit_; | 215 rtc::CriticalSection receive_crit_; |
217 VCMTiming* _timing; | 216 VCMTiming* _timing; |
218 VCMReceiver _receiver; | 217 VCMReceiver _receiver; |
219 VCMDecodedFrameCallback _decodedFrameCallback; | 218 VCMDecodedFrameCallback _decodedFrameCallback; |
220 VCMFrameTypeCallback* _frameTypeCallback GUARDED_BY(process_crit_); | 219 VCMFrameTypeCallback* _frameTypeCallback GUARDED_BY(process_crit_); |
(...skipping 12 matching lines...) Expand all Loading... |
233 VCMProcessTimer _receiveStatsTimer; | 232 VCMProcessTimer _receiveStatsTimer; |
234 VCMProcessTimer _retransmissionTimer; | 233 VCMProcessTimer _retransmissionTimer; |
235 VCMProcessTimer _keyRequestTimer; | 234 VCMProcessTimer _keyRequestTimer; |
236 QpParser qp_parser_; | 235 QpParser qp_parser_; |
237 ThreadUnsafeOneTimeEvent first_frame_received_; | 236 ThreadUnsafeOneTimeEvent first_frame_received_; |
238 }; | 237 }; |
239 | 238 |
240 } // namespace vcm | 239 } // namespace vcm |
241 } // namespace webrtc | 240 } // namespace webrtc |
242 #endif // WEBRTC_MODULES_VIDEO_CODING_VIDEO_CODING_IMPL_H_ | 241 #endif // WEBRTC_MODULES_VIDEO_CODING_VIDEO_CODING_IMPL_H_ |
OLD | NEW |