Searched refs:frames_to_encode (Results 1 – 2 of 2) sorted by relevance
111 const size_t frames_to_encode = speech_encoder_->Num10MsFramesInNextPacket(); in EncodeInternal() local112 if (rtp_timestamps_.size() < frames_to_encode) { in EncodeInternal()115 RTC_CHECK_LE(static_cast<int>(frames_to_encode * 10), kMaxFrameSizeMs) in EncodeInternal()124 (frames_to_encode > 3 ? 3 : frames_to_encode); in EncodeInternal()125 if (frames_to_encode == 4) in EncodeInternal()127 RTC_CHECK_GE(frames_to_encode, blocks_in_first_vad_call); in EncodeInternal()129 frames_to_encode - blocks_in_first_vad_call; in EncodeInternal()146 info = EncodePassive(frames_to_encode, max_encoded_bytes, encoded); in EncodeInternal()151 info = EncodeActive(frames_to_encode, max_encoded_bytes, encoded); in EncodeInternal()163 speech_buffer_.begin() + frames_to_encode * samples_per_10ms_frame); in EncodeInternal()[all …]
72 EncodedInfo EncodePassive(size_t frames_to_encode,75 EncodedInfo EncodeActive(size_t frames_to_encode,