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 |
(...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
131 | 131 |
132 bool SupportsNativeHandle() const; | 132 bool SupportsNativeHandle() const; |
133 | 133 |
134 int GetTargetFramerate(); | 134 int GetTargetFramerate(); |
135 | 135 |
136 private: | 136 private: |
137 VideoEncoder* const encoder_; | 137 VideoEncoder* const encoder_; |
138 VideoEncoderRateObserver* const rate_observer_; | 138 VideoEncoderRateObserver* const rate_observer_; |
139 VCMEncodedFrameCallback* const vcm_encoded_frame_callback_; | 139 VCMEncodedFrameCallback* const vcm_encoded_frame_callback_; |
140 const bool internal_source_; | 140 const bool internal_source_; |
141 mutable rtc::CriticalSection params_lock_; | 141 rtc::CriticalSection params_lock_; |
142 EncoderParameters encoder_params_ GUARDED_BY(params_lock_); | 142 EncoderParameters encoder_params_ GUARDED_BY(params_lock_); |
143 VideoRotation rotation_; | 143 VideoRotation rotation_; |
144 bool is_screenshare_; | 144 bool is_screenshare_; |
145 }; // end of VCMGenericEncoder class | 145 }; // end of VCMGenericEncoder class |
146 | 146 |
147 } // namespace webrtc | 147 } // namespace webrtc |
148 | 148 |
149 #endif // WEBRTC_MODULES_VIDEO_CODING_GENERIC_ENCODER_H_ | 149 #endif // WEBRTC_MODULES_VIDEO_CODING_GENERIC_ENCODER_H_ |
OLD | NEW |