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_GENERIC_ENCODER_H_ | 11 #ifndef WEBRTC_MODULES_VIDEO_CODING_GENERIC_ENCODER_H_ |
12 #define WEBRTC_MODULES_VIDEO_CODING_GENERIC_ENCODER_H_ | 12 #define WEBRTC_MODULES_VIDEO_CODING_GENERIC_ENCODER_H_ |
13 | 13 |
14 #include <stdio.h> | 14 #include <stdio.h> |
15 #include <vector> | 15 #include <vector> |
16 | 16 |
17 #include "webrtc/modules/video_coding/include/video_codec_interface.h" | 17 #include "webrtc/modules/video_coding/include/video_codec_interface.h" |
18 #include "webrtc/modules/video_coding/include/video_coding_defines.h" | 18 #include "webrtc/modules/video_coding/include/video_coding_defines.h" |
19 | 19 |
20 #include "webrtc/base/criticalsection.h" | 20 #include "webrtc/base/criticalsection.h" |
21 #include "webrtc/base/scoped_ptr.h" | |
22 | 21 |
23 namespace webrtc { | 22 namespace webrtc { |
24 class CriticalSectionWrapper; | 23 class CriticalSectionWrapper; |
25 | 24 |
26 namespace media_optimization { | 25 namespace media_optimization { |
27 class MediaOptimization; | 26 class MediaOptimization; |
28 } // namespace media_optimization | 27 } // namespace media_optimization |
29 | 28 |
30 struct EncoderParameters { | 29 struct EncoderParameters { |
31 uint32_t target_bitrate; | 30 uint32_t target_bitrate; |
(...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
140 const bool internal_source_; | 139 const bool internal_source_; |
141 rtc::CriticalSection params_lock_; | 140 rtc::CriticalSection params_lock_; |
142 EncoderParameters encoder_params_ GUARDED_BY(params_lock_); | 141 EncoderParameters encoder_params_ GUARDED_BY(params_lock_); |
143 VideoRotation rotation_; | 142 VideoRotation rotation_; |
144 bool is_screenshare_; | 143 bool is_screenshare_; |
145 }; // end of VCMGenericEncoder class | 144 }; // end of VCMGenericEncoder class |
146 | 145 |
147 } // namespace webrtc | 146 } // namespace webrtc |
148 | 147 |
149 #endif // WEBRTC_MODULES_VIDEO_CODING_GENERIC_ENCODER_H_ | 148 #endif // WEBRTC_MODULES_VIDEO_CODING_GENERIC_ENCODER_H_ |
OLD | NEW |