Home
last modified time | relevance | path

Searched refs:encoders_ (Results 1 – 12 of 12) sorted by relevance

/external/webrtc/webrtc/video/
Dencoder_state_feedback.cc54 assert(encoders_.empty()); in ~EncoderStateFeedback()
62 RTC_DCHECK(encoders_.find(ssrc) == encoders_.end()); in AddEncoder()
63 encoders_[ssrc] = encoder; in AddEncoder()
69 SsrcEncoderMap::iterator it = encoders_.begin(); in RemoveEncoder()
70 while (it != encoders_.end()) { in RemoveEncoder()
72 encoders_.erase(it++); in RemoveEncoder()
85 SsrcEncoderMap::iterator it = encoders_.find(ssrc); in OnReceivedIntraFrameRequest()
86 if (it == encoders_.end()) in OnReceivedIntraFrameRequest()
94 SsrcEncoderMap::iterator it = encoders_.find(ssrc); in OnReceivedSLI()
95 if (it == encoders_.end()) in OnReceivedSLI()
[all …]
Dencoder_state_feedback.h64 SsrcEncoderMap encoders_; variable
/external/webrtc/webrtc/modules/video_coding/codecs/vp8/
Dvp8_impl.cc171 encoders_.reserve(kMaxSimulcastStreams); in VP8EncoderImpl()
188 while (!encoders_.empty()) { in Release()
189 vpx_codec_ctx_t& encoder = encoders_.back(); in Release()
193 encoders_.pop_back(); in Release()
215 if (encoders_[0].err) { in SetRates()
233 if (encoders_.size() == 1) { in SetRates()
261 configurations_[encoders_.size() - 1].rc_max_quantizer = 45; in SetRates()
264 configurations_[encoders_.size() - 1].rc_max_quantizer = qp_max_; in SetRates()
270 size_t stream_idx = encoders_.size() - 1; in SetRates()
271 for (size_t i = 0; i < encoders_.size(); ++i, --stream_idx) { in SetRates()
[all …]
Dsimulcast_encoder_adapter_unittest.cc165 encoders_.push_back(encoder); in Create()
173 const std::vector<MockVideoEncoder*>& encoders() const { return encoders_; } in encoders()
176 std::vector<MockVideoEncoder*> encoders_; member in webrtc::testing::MockVideoEncoderFactory
Dvp8_impl.h116 std::vector<vpx_codec_ctx_t> encoders_; variable
/external/webrtc/webrtc/modules/audio_coding/codecs/g722/
Daudio_encoder_g722.cc46 encoders_(new EncoderState[num_channels_]), in AudioEncoderG722()
52 encoders_[i].speech_buffer.reset(new int16_t[samples_per_channel]); in AudioEncoderG722()
53 encoders_[i].encoded_buffer.SetSize(samples_per_channel / 2); in AudioEncoderG722()
108 encoders_[j].speech_buffer[start + i] = audio[i * num_channels_ + j]; in EncodeInternal()
121 encoders_[i].encoder, encoders_[i].speech_buffer.get(), in EncodeInternal()
122 samples_per_channel, encoders_[i].encoded_buffer.data()); in EncodeInternal()
131 uint8_t two_samples = encoders_[j].encoded_buffer.data()[i]; in EncodeInternal()
149 RTC_CHECK_EQ(0, WebRtcG722_EncoderInit(encoders_[i].encoder)); in Reset()
Daudio_encoder_g722.h67 const rtc::scoped_ptr<EncoderState[]> encoders_; variable
/external/webrtc/talk/media/webrtc/
Dfakewebrtcvideoengine.h204 encoders_.push_back(encoder); in CreateVideoEncoder()
210 encoders_.erase( in DestroyVideoEncoder()
211 std::remove(encoders_.begin(), encoders_.end(), encoder), in DestroyVideoEncoder()
212 encoders_.end()); in DestroyVideoEncoder()
242 return encoders_; in encoders()
248 std::vector<FakeWebRtcVideoEncoder*> encoders_; variable
/external/webrtc/webrtc/call/
Dcongestion_controller.cc192 RTC_DCHECK(encoders_.empty()); in ~CongestionController()
197 encoders_.push_back(encoder); in AddEncoder()
202 for (auto it = encoders_.begin(); it != encoders_.end(); ++it) { in RemoveEncoder()
204 encoders_.erase(it); in RemoveEncoder()
Dcongestion_controller.h78 std::vector<ViEEncoder*> encoders_ GUARDED_BY(encoder_crit_);
/external/drm_hwcomposer/drm/
Ddrmdevice.cpp211 encoders_.emplace_back(std::move(enc)); in Init()
214 for (unsigned int i = 0; i < encoders_.size(); i++) { in Init()
215 for (unsigned int j = 0; j < encoders_.size(); j++) in Init()
217 encoders_[i]->AddPossibleClone(encoders_[j].get()); in Init()
231 for (auto &encoder : encoders_) { in Init()
/external/drm_hwcomposer/include/
Ddrmdevice.h96 std::vector<std::unique_ptr<DrmEncoder>> encoders_; variable