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 95 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
106 uint32_t target_bitrate_bps); | 106 uint32_t target_bitrate_bps); |
107 void SetEncoderParameters(EncoderParameters params, bool has_internal_source) | 107 void SetEncoderParameters(EncoderParameters params, bool has_internal_source) |
108 EXCLUSIVE_LOCKS_REQUIRED(encoder_crit_); | 108 EXCLUSIVE_LOCKS_REQUIRED(encoder_crit_); |
109 | 109 |
110 Clock* const clock_; | 110 Clock* const clock_; |
111 | 111 |
112 rtc::CriticalSection encoder_crit_; | 112 rtc::CriticalSection encoder_crit_; |
113 VCMGenericEncoder* _encoder; | 113 VCMGenericEncoder* _encoder; |
114 media_optimization::MediaOptimization _mediaOpt; | 114 media_optimization::MediaOptimization _mediaOpt; |
115 VCMEncodedFrameCallback _encodedFrameCallback GUARDED_BY(encoder_crit_); | 115 VCMEncodedFrameCallback _encodedFrameCallback GUARDED_BY(encoder_crit_); |
116 EncodedImageCallback *post_encode_callback_; | |
stefan-webrtc
2016/11/25 10:45:25
EncodedImageCallback* const post_encode_callback_;
kthelgason
2016/11/25 12:34:01
Done.
| |
116 VCMSendStatisticsCallback* const send_stats_callback_; | 117 VCMSendStatisticsCallback* const send_stats_callback_; |
117 VCMCodecDataBase _codecDataBase GUARDED_BY(encoder_crit_); | 118 VCMCodecDataBase _codecDataBase GUARDED_BY(encoder_crit_); |
118 bool frame_dropper_enabled_ GUARDED_BY(encoder_crit_); | 119 bool frame_dropper_enabled_ GUARDED_BY(encoder_crit_); |
119 VCMProcessTimer _sendStatsTimer; | 120 VCMProcessTimer _sendStatsTimer; |
120 | 121 |
121 // Must be accessed on the construction thread of VideoSender. | 122 // Must be accessed on the construction thread of VideoSender. |
122 VideoCodec current_codec_; | 123 VideoCodec current_codec_; |
123 rtc::SequencedTaskChecker sequenced_checker_; | 124 rtc::SequencedTaskChecker sequenced_checker_; |
124 | 125 |
125 rtc::CriticalSection params_crit_; | 126 rtc::CriticalSection params_crit_; |
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
215 VCMProcessTimer _receiveStatsTimer; | 216 VCMProcessTimer _receiveStatsTimer; |
216 VCMProcessTimer _retransmissionTimer; | 217 VCMProcessTimer _retransmissionTimer; |
217 VCMProcessTimer _keyRequestTimer; | 218 VCMProcessTimer _keyRequestTimer; |
218 QpParser qp_parser_; | 219 QpParser qp_parser_; |
219 ThreadUnsafeOneTimeEvent first_frame_received_; | 220 ThreadUnsafeOneTimeEvent first_frame_received_; |
220 }; | 221 }; |
221 | 222 |
222 } // namespace vcm | 223 } // namespace vcm |
223 } // namespace webrtc | 224 } // namespace webrtc |
224 #endif // WEBRTC_MODULES_VIDEO_CODING_VIDEO_CODING_IMPL_H_ | 225 #endif // WEBRTC_MODULES_VIDEO_CODING_VIDEO_CODING_IMPL_H_ |
OLD | NEW |