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_VIDEO_VIE_ENCODER_H_ | 11 #ifndef WEBRTC_VIDEO_VIE_ENCODER_H_ |
12 #define WEBRTC_VIDEO_VIE_ENCODER_H_ | 12 #define WEBRTC_VIDEO_VIE_ENCODER_H_ |
13 | 13 |
14 #include <map> | 14 #include <map> |
15 #include <memory> | 15 #include <memory> |
16 #include <string> | 16 #include <string> |
17 #include <vector> | 17 #include <vector> |
18 | 18 |
19 #include "webrtc/api/video/video_rotation.h" | 19 #include "webrtc/api/video/video_rotation.h" |
20 #include "webrtc/api/video_codecs/video_encoder.h" | 20 #include "webrtc/api/video_codecs/video_encoder.h" |
| 21 #include "webrtc/base/criticalsection.h" |
| 22 #include "webrtc/base/event.h" |
| 23 #include "webrtc/base/sequenced_task_checker.h" |
| 24 #include "webrtc/base/task_queue.h" |
21 #include "webrtc/call/call.h" | 25 #include "webrtc/call/call.h" |
22 #include "webrtc/common_types.h" | 26 #include "webrtc/common_types.h" |
23 #include "webrtc/common_video/include/video_bitrate_allocator.h" | 27 #include "webrtc/common_video/include/video_bitrate_allocator.h" |
24 #include "webrtc/media/base/videosinkinterface.h" | 28 #include "webrtc/media/base/videosinkinterface.h" |
25 #include "webrtc/modules/video_coding/include/video_coding_defines.h" | 29 #include "webrtc/modules/video_coding/include/video_coding_defines.h" |
26 #include "webrtc/modules/video_coding/utility/quality_scaler.h" | 30 #include "webrtc/modules/video_coding/utility/quality_scaler.h" |
27 #include "webrtc/modules/video_coding/video_coding_impl.h" | 31 #include "webrtc/modules/video_coding/video_coding_impl.h" |
28 #include "webrtc/rtc_base/criticalsection.h" | |
29 #include "webrtc/rtc_base/event.h" | |
30 #include "webrtc/rtc_base/sequenced_task_checker.h" | |
31 #include "webrtc/rtc_base/task_queue.h" | |
32 #include "webrtc/system_wrappers/include/atomic32.h" | 32 #include "webrtc/system_wrappers/include/atomic32.h" |
33 #include "webrtc/typedefs.h" | 33 #include "webrtc/typedefs.h" |
34 #include "webrtc/video/overuse_frame_detector.h" | 34 #include "webrtc/video/overuse_frame_detector.h" |
35 #include "webrtc/video_send_stream.h" | 35 #include "webrtc/video_send_stream.h" |
36 | 36 |
37 namespace webrtc { | 37 namespace webrtc { |
38 | 38 |
39 class ProcessThread; | 39 class ProcessThread; |
40 class SendStatisticsProxy; | 40 class SendStatisticsProxy; |
41 class VideoBitrateAllocationObserver; | 41 class VideoBitrateAllocationObserver; |
(...skipping 265 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
307 // All public methods are proxied to |encoder_queue_|. It must must be | 307 // All public methods are proxied to |encoder_queue_|. It must must be |
308 // destroyed first to make sure no tasks are run that use other members. | 308 // destroyed first to make sure no tasks are run that use other members. |
309 rtc::TaskQueue encoder_queue_; | 309 rtc::TaskQueue encoder_queue_; |
310 | 310 |
311 RTC_DISALLOW_COPY_AND_ASSIGN(ViEEncoder); | 311 RTC_DISALLOW_COPY_AND_ASSIGN(ViEEncoder); |
312 }; | 312 }; |
313 | 313 |
314 } // namespace webrtc | 314 } // namespace webrtc |
315 | 315 |
316 #endif // WEBRTC_VIDEO_VIE_ENCODER_H_ | 316 #endif // WEBRTC_VIDEO_VIE_ENCODER_H_ |
OLD | NEW |