Home
last modified time | relevance | path

Searched refs:inst_ (Results 1 – 2 of 2) sorted by relevance

/external/webrtc/webrtc/modules/audio_coding/codecs/opus/
Daudio_encoder_opus.cc92 : packet_loss_rate_(0.0), inst_(nullptr) { in AudioEncoderOpus()
100 RTC_CHECK_EQ(0, WebRtcOpus_EncoderFree(inst_)); in ~AudioEncoderOpus()
149 inst_, &input_buffer_[0], in EncodeInternal()
204 inst_, static_cast<int32_t>(packet_loss_rate_ * 100 + .5))); in SetProjectedPacketLossRate()
212 RTC_CHECK_EQ(0, WebRtcOpus_SetBitRate(inst_, config_.bitrate_bps)); in SetTargetBitrate()
229 if (inst_) in RecreateEncoderInstance()
230 RTC_CHECK_EQ(0, WebRtcOpus_EncoderFree(inst_)); in RecreateEncoderInstance()
233 RTC_CHECK_EQ(0, WebRtcOpus_EncoderCreate(&inst_, config.num_channels, in RecreateEncoderInstance()
235 RTC_CHECK_EQ(0, WebRtcOpus_SetBitRate(inst_, config.bitrate_bps)); in RecreateEncoderInstance()
237 RTC_CHECK_EQ(0, WebRtcOpus_EnableFec(inst_)); in RecreateEncoderInstance()
[all …]
Daudio_encoder_opus.h95 OpusEncInst* inst_; variable