| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (c) 2013 The WebRTC project authors. All Rights Reserved. | 2 * Copyright (c) 2013 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 89 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 100 void OnCompleteFrame( | 100 void OnCompleteFrame( |
| 101 std::unique_ptr<video_coding::FrameObject> frame) override; | 101 std::unique_ptr<video_coding::FrameObject> frame) override; |
| 102 | 102 |
| 103 // Implements Syncable. | 103 // Implements Syncable. |
| 104 int id() const override; | 104 int id() const override; |
| 105 rtc::Optional<Syncable::Info> GetInfo() const override; | 105 rtc::Optional<Syncable::Info> GetInfo() const override; |
| 106 uint32_t GetPlayoutTimestamp() const override; | 106 uint32_t GetPlayoutTimestamp() const override; |
| 107 void SetMinimumPlayoutDelay(int delay_ms) override; | 107 void SetMinimumPlayoutDelay(int delay_ms) override; |
| 108 | 108 |
| 109 private: | 109 private: |
| 110 static bool DecodeThreadFunction(void* ptr); | 110 static void DecodeThreadFunction(void* ptr); |
| 111 bool Decode(); | 111 bool Decode(); |
| 112 | 112 |
| 113 rtc::ThreadChecker worker_thread_checker_; | 113 rtc::ThreadChecker worker_thread_checker_; |
| 114 rtc::ThreadChecker module_process_thread_checker_; | 114 rtc::ThreadChecker module_process_thread_checker_; |
| 115 | 115 |
| 116 TransportAdapter transport_adapter_; | 116 TransportAdapter transport_adapter_; |
| 117 const VideoReceiveStream::Config config_; | 117 const VideoReceiveStream::Config config_; |
| 118 const int num_cpu_cores_; | 118 const int num_cpu_cores_; |
| 119 ProcessThread* const process_thread_; | 119 ProcessThread* const process_thread_; |
| 120 Clock* const clock_; | 120 Clock* const clock_; |
| (...skipping 14 matching lines...) Expand all Loading... |
| 135 std::unique_ptr<IvfFileWriter> ivf_writer_ GUARDED_BY(ivf_writer_lock_); | 135 std::unique_ptr<IvfFileWriter> ivf_writer_ GUARDED_BY(ivf_writer_lock_); |
| 136 | 136 |
| 137 // Members for the new jitter buffer experiment. | 137 // Members for the new jitter buffer experiment. |
| 138 std::unique_ptr<VCMJitterEstimator> jitter_estimator_; | 138 std::unique_ptr<VCMJitterEstimator> jitter_estimator_; |
| 139 std::unique_ptr<video_coding::FrameBuffer> frame_buffer_; | 139 std::unique_ptr<video_coding::FrameBuffer> frame_buffer_; |
| 140 }; | 140 }; |
| 141 } // namespace internal | 141 } // namespace internal |
| 142 } // namespace webrtc | 142 } // namespace webrtc |
| 143 | 143 |
| 144 #endif // WEBRTC_VIDEO_VIDEO_RECEIVE_STREAM_H_ | 144 #endif // WEBRTC_VIDEO_VIDEO_RECEIVE_STREAM_H_ |
| OLD | NEW |