Home
last modified time | relevance | path

Searched refs:inst_ (Results 1 – 6 of 6) 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
/external/regex-re2/re2/
Dcompile.cc225 Prog::Inst* inst_; // Pointer to first instruction. member in re2::Compiler
244 inst_ = NULL; in Compiler()
250 inst_[fail].InitFail(); in Compiler()
256 delete[] inst_; in ~Compiler()
271 memmove(ip, inst_, inst_len_ * sizeof ip[0]); in AllocInst()
273 delete[] inst_; in AllocInst()
274 inst_ = ip; in AllocInst()
284 memmove(ip, inst_, inst_len_ * sizeof ip[0]); in Trim()
285 delete[] inst_; in Trim()
286 inst_ = ip; in Trim()
[all …]
Ddfa.cc100 int* inst_; // Instruction pointers in the state. member
131 if (a->inst_[i] != b->inst_[i]) in operator ()()
141 const char* s = reinterpret_cast<const char*>(a->inst_); in operator ()()
142 int len = a->ninst_ * sizeof a->inst_[0]; in operator ()()
160 if (a->inst_[i] != b->inst_[i]) in operator ()()
161 return a->inst_[i] < b->inst_[i]; in operator ()()
534 if (state->inst_[i] == Mark) { in DumpState()
538 StringAppendF(&s, "%s%d", sep, state->inst_[i]); in DumpState()
767 s->inst_ = reinterpret_cast<int*>(s->next_ + nnext); in CachedState()
769 memmove(s->inst_, inst, ninst*sizeof s->inst_[0]); in CachedState()
[all …]
Dprog.h98 int id(Prog* p) { return this - p->inst_; } in id()
198 Inst *inst(int id) { return &inst_[id]; } in inst()
355 Inst* inst_; // pointer to instruction array variable
Dprog.cc105 inst_(NULL), in Prog()
123 delete[] inst_; in ~Prog()