| 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 101 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 112 void SetSenderBufferingMode(int target_delay_ms); | 112 void SetSenderBufferingMode(int target_delay_ms); |
| 113 | 113 |
| 114 // Implements VideoEncoderRateObserver. | 114 // Implements VideoEncoderRateObserver. |
| 115 void OnSetRates(uint32_t bitrate_bps, int framerate) override; | 115 void OnSetRates(uint32_t bitrate_bps, int framerate) override; |
| 116 | 116 |
| 117 // Implements VCMPacketizationCallback. | 117 // Implements VCMPacketizationCallback. |
| 118 int32_t SendData(uint8_t payload_type, | 118 int32_t SendData(uint8_t payload_type, |
| 119 const EncodedImage& encoded_image, | 119 const EncodedImage& encoded_image, |
| 120 const RTPFragmentationHeader& fragmentation_header, | 120 const RTPFragmentationHeader& fragmentation_header, |
| 121 const RTPVideoHeader* rtp_video_hdr) override; | 121 const RTPVideoHeader* rtp_video_hdr) override; |
| 122 void OnEncoderImplementationName(const char* implementation_name) override; |
| 122 | 123 |
| 123 // Implements VideoSendStatisticsCallback. | 124 // Implements VideoSendStatisticsCallback. |
| 124 int32_t SendStatistics(const uint32_t bit_rate, | 125 int32_t SendStatistics(const uint32_t bit_rate, |
| 125 const uint32_t frame_rate) override; | 126 const uint32_t frame_rate) override; |
| 126 | 127 |
| 127 // Implements RtcpIntraFrameObserver. | 128 // Implements RtcpIntraFrameObserver. |
| 128 void OnReceivedIntraFrameRequest(uint32_t ssrc) override; | 129 void OnReceivedIntraFrameRequest(uint32_t ssrc) override; |
| 129 void OnReceivedSLI(uint32_t ssrc, uint8_t picture_id) override; | 130 void OnReceivedSLI(uint32_t ssrc, uint8_t picture_id) override; |
| 130 void OnReceivedRPSI(uint32_t ssrc, uint64_t picture_id) override; | 131 void OnReceivedRPSI(uint32_t ssrc, uint64_t picture_id) override; |
| 131 void OnLocalSsrcChanged(uint32_t old_ssrc, uint32_t new_ssrc) override; | 132 void OnLocalSsrcChanged(uint32_t old_ssrc, uint32_t new_ssrc) override; |
| (...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 196 bool has_received_rpsi_ GUARDED_BY(data_cs_); | 197 bool has_received_rpsi_ GUARDED_BY(data_cs_); |
| 197 uint64_t picture_id_rpsi_ GUARDED_BY(data_cs_); | 198 uint64_t picture_id_rpsi_ GUARDED_BY(data_cs_); |
| 198 std::map<uint32_t, int> ssrc_streams_ GUARDED_BY(data_cs_); | 199 std::map<uint32_t, int> ssrc_streams_ GUARDED_BY(data_cs_); |
| 199 | 200 |
| 200 bool video_suspended_ GUARDED_BY(data_cs_); | 201 bool video_suspended_ GUARDED_BY(data_cs_); |
| 201 }; | 202 }; |
| 202 | 203 |
| 203 } // namespace webrtc | 204 } // namespace webrtc |
| 204 | 205 |
| 205 #endif // WEBRTC_VIDEO_ENGINE_VIE_ENCODER_H_ | 206 #endif // WEBRTC_VIDEO_ENGINE_VIE_ENCODER_H_ |
| OLD | NEW |