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 |
11 #ifndef WEBRTC_MODULES_VIDEO_CODING_VIDEO_CODING_IMPL_H_ | 11 #ifndef WEBRTC_MODULES_VIDEO_CODING_VIDEO_CODING_IMPL_H_ |
12 #define WEBRTC_MODULES_VIDEO_CODING_VIDEO_CODING_IMPL_H_ | 12 #define WEBRTC_MODULES_VIDEO_CODING_VIDEO_CODING_IMPL_H_ |
13 | 13 |
14 #include "webrtc/modules/video_coding/include/video_coding.h" | 14 #include "webrtc/modules/video_coding/include/video_coding.h" |
15 | 15 |
16 #include <memory> | 16 #include <memory> |
17 #include <vector> | 17 #include <vector> |
18 | 18 |
| 19 #include "webrtc/base/onetimeevent.h" |
19 #include "webrtc/base/thread_annotations.h" | 20 #include "webrtc/base/thread_annotations.h" |
20 #include "webrtc/base/thread_checker.h" | 21 #include "webrtc/base/thread_checker.h" |
21 #include "webrtc/modules/video_coding/codec_database.h" | 22 #include "webrtc/modules/video_coding/codec_database.h" |
22 #include "webrtc/modules/video_coding/frame_buffer.h" | 23 #include "webrtc/modules/video_coding/frame_buffer.h" |
23 #include "webrtc/modules/video_coding/generic_decoder.h" | 24 #include "webrtc/modules/video_coding/generic_decoder.h" |
24 #include "webrtc/modules/video_coding/generic_encoder.h" | 25 #include "webrtc/modules/video_coding/generic_encoder.h" |
25 #include "webrtc/modules/video_coding/jitter_buffer.h" | 26 #include "webrtc/modules/video_coding/jitter_buffer.h" |
26 #include "webrtc/modules/video_coding/media_optimization.h" | 27 #include "webrtc/modules/video_coding/media_optimization.h" |
27 #include "webrtc/modules/video_coding/receiver.h" | 28 #include "webrtc/modules/video_coding/receiver.h" |
28 #include "webrtc/modules/video_coding/timing.h" | 29 #include "webrtc/modules/video_coding/timing.h" |
(...skipping 183 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
212 bool drop_frames_until_keyframe_ GUARDED_BY(process_crit_sect_); | 213 bool drop_frames_until_keyframe_ GUARDED_BY(process_crit_sect_); |
213 size_t max_nack_list_size_ GUARDED_BY(process_crit_sect_); | 214 size_t max_nack_list_size_ GUARDED_BY(process_crit_sect_); |
214 | 215 |
215 VCMCodecDataBase _codecDataBase GUARDED_BY(_receiveCritSect); | 216 VCMCodecDataBase _codecDataBase GUARDED_BY(_receiveCritSect); |
216 EncodedImageCallback* pre_decode_image_callback_ GUARDED_BY(_receiveCritSect); | 217 EncodedImageCallback* pre_decode_image_callback_ GUARDED_BY(_receiveCritSect); |
217 | 218 |
218 VCMProcessTimer _receiveStatsTimer; | 219 VCMProcessTimer _receiveStatsTimer; |
219 VCMProcessTimer _retransmissionTimer; | 220 VCMProcessTimer _retransmissionTimer; |
220 VCMProcessTimer _keyRequestTimer; | 221 VCMProcessTimer _keyRequestTimer; |
221 QpParser qp_parser_; | 222 QpParser qp_parser_; |
| 223 ThreadUnsafeOneTimeEvent first_frame_received_; |
222 }; | 224 }; |
223 | 225 |
224 } // namespace vcm | 226 } // namespace vcm |
225 } // namespace webrtc | 227 } // namespace webrtc |
226 #endif // WEBRTC_MODULES_VIDEO_CODING_VIDEO_CODING_IMPL_H_ | 228 #endif // WEBRTC_MODULES_VIDEO_CODING_VIDEO_CODING_IMPL_H_ |
OLD | NEW |