| 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 94 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 105 void SetSenderBufferingMode(int target_delay_ms); | 105 void SetSenderBufferingMode(int target_delay_ms); |
| 106 | 106 |
| 107 // Implements VideoEncoderRateObserver. | 107 // Implements VideoEncoderRateObserver. |
| 108 void OnSetRates(uint32_t bitrate_bps, int framerate) override; | 108 void OnSetRates(uint32_t bitrate_bps, int framerate) override; |
| 109 | 109 |
| 110 // Implements VCMPacketizationCallback. | 110 // Implements VCMPacketizationCallback. |
| 111 int32_t SendData(uint8_t payload_type, | 111 int32_t SendData(uint8_t payload_type, |
| 112 const EncodedImage& encoded_image, | 112 const EncodedImage& encoded_image, |
| 113 const RTPFragmentationHeader& fragmentation_header, | 113 const RTPFragmentationHeader& fragmentation_header, |
| 114 const RTPVideoHeader* rtp_video_hdr) override; | 114 const RTPVideoHeader* rtp_video_hdr) override; |
| 115 void OnEncoderImplementationName(const char* implementation_name) override; |
| 115 | 116 |
| 116 // Implements VideoSendStatisticsCallback. | 117 // Implements VideoSendStatisticsCallback. |
| 117 int32_t SendStatistics(const uint32_t bit_rate, | 118 int32_t SendStatistics(const uint32_t bit_rate, |
| 118 const uint32_t frame_rate) override; | 119 const uint32_t frame_rate) override; |
| 119 | 120 |
| 120 // Implements RtcpIntraFrameObserver. | 121 // Implements RtcpIntraFrameObserver. |
| 121 void OnReceivedIntraFrameRequest(uint32_t ssrc) override; | 122 void OnReceivedIntraFrameRequest(uint32_t ssrc) override; |
| 122 void OnReceivedSLI(uint32_t ssrc, uint8_t picture_id) override; | 123 void OnReceivedSLI(uint32_t ssrc, uint8_t picture_id) override; |
| 123 void OnReceivedRPSI(uint32_t ssrc, uint64_t picture_id) override; | 124 void OnReceivedRPSI(uint32_t ssrc, uint64_t picture_id) override; |
| 124 void OnLocalSsrcChanged(uint32_t old_ssrc, uint32_t new_ssrc) override; | 125 void OnLocalSsrcChanged(uint32_t old_ssrc, uint32_t new_ssrc) override; |
| (...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 186 bool has_received_rpsi_ GUARDED_BY(data_cs_); | 187 bool has_received_rpsi_ GUARDED_BY(data_cs_); |
| 187 uint64_t picture_id_rpsi_ GUARDED_BY(data_cs_); | 188 uint64_t picture_id_rpsi_ GUARDED_BY(data_cs_); |
| 188 std::map<uint32_t, int> ssrc_streams_ GUARDED_BY(data_cs_); | 189 std::map<uint32_t, int> ssrc_streams_ GUARDED_BY(data_cs_); |
| 189 | 190 |
| 190 bool video_suspended_ GUARDED_BY(data_cs_); | 191 bool video_suspended_ GUARDED_BY(data_cs_); |
| 191 }; | 192 }; |
| 192 | 193 |
| 193 } // namespace webrtc | 194 } // namespace webrtc |
| 194 | 195 |
| 195 #endif // WEBRTC_VIDEO_VIE_ENCODER_H_ | 196 #endif // WEBRTC_VIDEO_VIE_ENCODER_H_ |
| OLD | NEW |