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