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_MAIN_SOURCE_MEDIA_OPTIMIZATION_H_ | 11 #ifndef WEBRTC_MODULES_VIDEO_CODING_MAIN_SOURCE_MEDIA_OPTIMIZATION_H_ |
12 #define WEBRTC_MODULES_VIDEO_CODING_MAIN_SOURCE_MEDIA_OPTIMIZATION_H_ | 12 #define WEBRTC_MODULES_VIDEO_CODING_MAIN_SOURCE_MEDIA_OPTIMIZATION_H_ |
13 | 13 |
14 #include <list> | 14 #include <list> |
15 | 15 |
16 #include "webrtc/base/scoped_ptr.h" | 16 #include "webrtc/base/scoped_ptr.h" |
17 #include "webrtc/modules/interface/module_common_types.h" | 17 #include "webrtc/modules/include/module_common_types.h" |
18 #include "webrtc/modules/video_coding/main/interface/video_coding.h" | 18 #include "webrtc/modules/video_coding/main/interface/video_coding.h" |
19 #include "webrtc/modules/video_coding/main/source/media_opt_util.h" | 19 #include "webrtc/modules/video_coding/main/source/media_opt_util.h" |
20 #include "webrtc/modules/video_coding/main/source/qm_select.h" | 20 #include "webrtc/modules/video_coding/main/source/qm_select.h" |
21 #include "webrtc/system_wrappers/include/critical_section_wrapper.h" | 21 #include "webrtc/system_wrappers/include/critical_section_wrapper.h" |
22 | 22 |
23 namespace webrtc { | 23 namespace webrtc { |
24 | 24 |
25 // Forward declarations. | 25 // Forward declarations. |
26 class Clock; | 26 class Clock; |
27 class FrameDropper; | 27 class FrameDropper; |
(...skipping 143 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
171 int num_layers_ GUARDED_BY(crit_sect_); | 171 int num_layers_ GUARDED_BY(crit_sect_); |
172 bool suspension_enabled_ GUARDED_BY(crit_sect_); | 172 bool suspension_enabled_ GUARDED_BY(crit_sect_); |
173 bool video_suspended_ GUARDED_BY(crit_sect_); | 173 bool video_suspended_ GUARDED_BY(crit_sect_); |
174 int suspension_threshold_bps_ GUARDED_BY(crit_sect_); | 174 int suspension_threshold_bps_ GUARDED_BY(crit_sect_); |
175 int suspension_window_bps_ GUARDED_BY(crit_sect_); | 175 int suspension_window_bps_ GUARDED_BY(crit_sect_); |
176 }; | 176 }; |
177 } // namespace media_optimization | 177 } // namespace media_optimization |
178 } // namespace webrtc | 178 } // namespace webrtc |
179 | 179 |
180 #endif // WEBRTC_MODULES_VIDEO_CODING_MAIN_SOURCE_MEDIA_OPTIMIZATION_H_ | 180 #endif // WEBRTC_MODULES_VIDEO_CODING_MAIN_SOURCE_MEDIA_OPTIMIZATION_H_ |
OLD | NEW |