| 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 142 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 153 PayloadRouter* const send_payload_router_; | 153 PayloadRouter* const send_payload_router_; |
| 154 BitrateAllocator* const bitrate_allocator_; | 154 BitrateAllocator* const bitrate_allocator_; |
| 155 | 155 |
| 156 // The time we last received an input frame or encoded frame. This is used to | 156 // The time we last received an input frame or encoded frame. This is used to |
| 157 // track when video is stopped long enough that we also want to stop sending | 157 // track when video is stopped long enough that we also want to stop sending |
| 158 // padding. | 158 // padding. |
| 159 int64_t time_of_last_frame_activity_ms_ GUARDED_BY(data_cs_); | 159 int64_t time_of_last_frame_activity_ms_ GUARDED_BY(data_cs_); |
| 160 VideoCodec encoder_config_ GUARDED_BY(data_cs_); | 160 VideoCodec encoder_config_ GUARDED_BY(data_cs_); |
| 161 int min_transmit_bitrate_kbps_ GUARDED_BY(data_cs_); | 161 int min_transmit_bitrate_kbps_ GUARDED_BY(data_cs_); |
| 162 uint32_t last_observed_bitrate_bps_ GUARDED_BY(data_cs_); | 162 uint32_t last_observed_bitrate_bps_ GUARDED_BY(data_cs_); |
| 163 int target_delay_ms_ GUARDED_BY(data_cs_); | |
| 164 bool network_is_transmitting_ GUARDED_BY(data_cs_); | 163 bool network_is_transmitting_ GUARDED_BY(data_cs_); |
| 165 bool encoder_paused_ GUARDED_BY(data_cs_); | 164 bool encoder_paused_ GUARDED_BY(data_cs_); |
| 166 bool encoder_paused_and_dropped_frame_ GUARDED_BY(data_cs_); | 165 bool encoder_paused_and_dropped_frame_ GUARDED_BY(data_cs_); |
| 167 std::vector<int64_t> time_last_intra_request_ms_ GUARDED_BY(data_cs_); | 166 std::vector<int64_t> time_last_intra_request_ms_ GUARDED_BY(data_cs_); |
| 168 | 167 |
| 169 ProcessThread* module_process_thread_; | 168 ProcessThread* module_process_thread_; |
| 170 | 169 |
| 171 bool has_received_sli_ GUARDED_BY(data_cs_); | 170 bool has_received_sli_ GUARDED_BY(data_cs_); |
| 172 uint8_t picture_id_sli_ GUARDED_BY(data_cs_); | 171 uint8_t picture_id_sli_ GUARDED_BY(data_cs_); |
| 173 bool has_received_rpsi_ GUARDED_BY(data_cs_); | 172 bool has_received_rpsi_ GUARDED_BY(data_cs_); |
| 174 uint64_t picture_id_rpsi_ GUARDED_BY(data_cs_); | 173 uint64_t picture_id_rpsi_ GUARDED_BY(data_cs_); |
| 175 | 174 |
| 176 bool video_suspended_ GUARDED_BY(data_cs_); | 175 bool video_suspended_ GUARDED_BY(data_cs_); |
| 177 }; | 176 }; |
| 178 | 177 |
| 179 } // namespace webrtc | 178 } // namespace webrtc |
| 180 | 179 |
| 181 #endif // WEBRTC_VIDEO_VIE_ENCODER_H_ | 180 #endif // WEBRTC_VIDEO_VIE_ENCODER_H_ |
| OLD | NEW |