| 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 86 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 97 int64_t TimeUntilNextProcess(); | 97 int64_t TimeUntilNextProcess(); |
| 98 int32_t Process(); | 98 int32_t Process(); |
| 99 | 99 |
| 100 private: | 100 private: |
| 101 void SetEncoderParameters(EncoderParameters params) | 101 void SetEncoderParameters(EncoderParameters params) |
| 102 EXCLUSIVE_LOCKS_REQUIRED(encoder_crit_); | 102 EXCLUSIVE_LOCKS_REQUIRED(encoder_crit_); |
| 103 | 103 |
| 104 Clock* const clock_; | 104 Clock* const clock_; |
| 105 | 105 |
| 106 rtc::scoped_ptr<CriticalSectionWrapper> process_crit_sect_; | 106 rtc::scoped_ptr<CriticalSectionWrapper> process_crit_sect_; |
| 107 mutable rtc::CriticalSection encoder_crit_; | 107 rtc::CriticalSection encoder_crit_; |
| 108 VCMGenericEncoder* _encoder; | 108 VCMGenericEncoder* _encoder; |
| 109 VCMEncodedFrameCallback _encodedFrameCallback GUARDED_BY(encoder_crit_); | 109 VCMEncodedFrameCallback _encodedFrameCallback GUARDED_BY(encoder_crit_); |
| 110 media_optimization::MediaOptimization _mediaOpt; | 110 media_optimization::MediaOptimization _mediaOpt; |
| 111 VCMSendStatisticsCallback* _sendStatsCallback GUARDED_BY(process_crit_sect_); | 111 VCMSendStatisticsCallback* _sendStatsCallback GUARDED_BY(process_crit_sect_); |
| 112 VCMCodecDataBase _codecDataBase GUARDED_BY(encoder_crit_); | 112 VCMCodecDataBase _codecDataBase GUARDED_BY(encoder_crit_); |
| 113 bool frame_dropper_enabled_ GUARDED_BY(encoder_crit_); | 113 bool frame_dropper_enabled_ GUARDED_BY(encoder_crit_); |
| 114 VCMProcessTimer _sendStatsTimer; | 114 VCMProcessTimer _sendStatsTimer; |
| 115 | 115 |
| 116 // Must be accessed on the construction thread of VideoSender. | 116 // Must be accessed on the construction thread of VideoSender. |
| 117 VideoCodec current_codec_; | 117 VideoCodec current_codec_; |
| (...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 214 VCMCodecDataBase _codecDataBase GUARDED_BY(_receiveCritSect); | 214 VCMCodecDataBase _codecDataBase GUARDED_BY(_receiveCritSect); |
| 215 VCMProcessTimer _receiveStatsTimer; | 215 VCMProcessTimer _receiveStatsTimer; |
| 216 VCMProcessTimer _retransmissionTimer; | 216 VCMProcessTimer _retransmissionTimer; |
| 217 VCMProcessTimer _keyRequestTimer; | 217 VCMProcessTimer _keyRequestTimer; |
| 218 QpParser qp_parser_; | 218 QpParser qp_parser_; |
| 219 }; | 219 }; |
| 220 | 220 |
| 221 } // namespace vcm | 221 } // namespace vcm |
| 222 } // namespace webrtc | 222 } // namespace webrtc |
| 223 #endif // WEBRTC_MODULES_VIDEO_CODING_VIDEO_CODING_IMPL_H_ | 223 #endif // WEBRTC_MODULES_VIDEO_CODING_VIDEO_CODING_IMPL_H_ |
| OLD | NEW |