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