Home
last modified time | relevance | path

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

/external/webrtc/logging/rtc_event_log/encoder/
Drtc_event_log_encoder_v3.cc77 encoders_[RtcEvent::Type::AlrStateEvent] = RtcEventAlrState::Encode; in RtcEventLogEncoderV3()
78 encoders_[RtcEvent::Type::AudioNetworkAdaptation] = in RtcEventLogEncoderV3()
80 encoders_[RtcEvent::Type::AudioPlayout] = RtcEventAudioPlayout::Encode; in RtcEventLogEncoderV3()
81 encoders_[RtcEvent::Type::AudioReceiveStreamConfig] = in RtcEventLogEncoderV3()
83 encoders_[RtcEvent::Type::AudioSendStreamConfig] = in RtcEventLogEncoderV3()
85 encoders_[RtcEvent::Type::BweUpdateDelayBased] = in RtcEventLogEncoderV3()
87 encoders_[RtcEvent::Type::BweUpdateLossBased] = in RtcEventLogEncoderV3()
89 encoders_[RtcEvent::Type::DtlsTransportState] = in RtcEventLogEncoderV3()
91 encoders_[RtcEvent::Type::DtlsWritableState] = in RtcEventLogEncoderV3()
93 encoders_[RtcEvent::Type::FrameDecoded] = RtcEventFrameDecoded::Encode; in RtcEventLogEncoderV3()
[all …]
Drtc_event_log_encoder_v3.h41 encoders_;
/external/webrtc/modules/video_coding/codecs/vp8/
Dlibvpx_vp8_encoder.cc271 encoders_.reserve(kMaxSimulcastStreams); in LibvpxVp8Encoder()
287 for (auto it = encoders_.rbegin(); it != encoders_.rend(); ++it) { in Release()
293 encoders_.clear(); in Release()
316 if (encoders_[0].err) { in SetRates()
329 const int num_streams = static_cast<size_t>(encoders_.size()); in SetRates()
337 if (encoders_.size() > 1) { in SetRates()
345 vpx_configs_[encoders_.size() - 1].rc_max_quantizer = 45; in SetRates()
348 vpx_configs_[encoders_.size() - 1].rc_max_quantizer = qp_max_; in SetRates()
352 for (size_t i = 0; i < encoders_.size(); ++i) { in SetRates()
353 const size_t stream_idx = encoders_.size() - 1 - i; in SetRates()
[all …]
Dlibvpx_vp8_encoder.h131 std::vector<vpx_codec_ctx_t> encoders_; variable
/external/webrtc/modules/audio_coding/codecs/g722/
Daudio_encoder_g722.cc35 encoders_(new EncoderState[num_channels_]), in AudioEncoderG722Impl()
41 encoders_[i].speech_buffer.reset(new int16_t[samples_per_channel]); in AudioEncoderG722Impl()
42 encoders_[i].encoded_buffer.SetSize(samples_per_channel / 2); in AudioEncoderG722Impl()
79 RTC_CHECK_EQ(0, WebRtcG722_EncoderInit(encoders_[i].encoder)); in Reset()
99 encoders_[j].speech_buffer[start + i] = audio[i * num_channels_ + j]; in EncodeImpl()
112 encoders_[i].encoder, encoders_[i].speech_buffer.get(), in EncodeImpl()
113 samples_per_channel, encoders_[i].encoded_buffer.data()); in EncodeImpl()
126 uint8_t two_samples = encoders_[j].encoded_buffer.data()[i]; in EncodeImpl()
Daudio_encoder_g722.h66 const std::unique_ptr<EncoderState[]> encoders_; variable
/external/webrtc/modules/video_coding/codecs/multiplex/
Dmultiplex_encoder_adapter.cc144 encoders_.emplace_back(std::move(encoder)); in InitEncode()
214 encoders_[kYUVStream]->Encode(forwarded_image, &adjusted_frame_types); in Encode()
244 rv = encoders_[kAXXStream]->Encode(alpha_image, &adjusted_frame_types); in Encode()
259 for (auto& encoder : encoders_) { in SetRates()
265 static_cast<uint32_t>(encoders_.size() * parameters.framerate_fps), in SetRates()
272 for (auto& encoder : encoders_) { in OnPacketLossRateUpdate()
278 for (auto& encoder : encoders_) { in OnRttUpdate()
285 for (auto& encoder : encoders_) { in OnLossNotification()
291 for (auto& encoder : encoders_) { in Release()
296 encoders_.clear(); in Release()
/external/webrtc/modules/video_coding/codecs/h264/
Dh264_encoder_impl.cc158 encoders_.reserve(kMaxSimulcastStreams); in H264EncoderImpl()
199 encoders_.resize(number_of_streams); in InitEncode()
236 encoders_[i] = openh264_encoder; in InitEncode()
324 while (!encoders_.empty()) { in Release()
325 ISVCEncoder* openh264_encoder = encoders_.back(); in Release()
330 encoders_.pop_back(); in Release()
348 if (encoders_.empty()) { in SetRates()
368 size_t stream_idx = encoders_.size() - 1; in SetRates()
369 for (size_t i = 0; i < encoders_.size(); ++i, --stream_idx) { in SetRates()
383 encoders_[i]->SetOption(ENCODER_OPTION_BITRATE, &target_bitrate); in SetRates()
[all …]
Dh264_encoder_impl.h96 std::vector<ISVCEncoder*> encoders_; variable
/external/webrtc/media/engine/
Dfake_webrtc_video_engine.cc223 encoders_.push_back(static_cast<FakeWebRtcVideoEncoder*>(encoder.get())); in CreateVideoEncoder()
245 encoders_.erase(std::remove(encoders_.begin(), encoders_.end(), encoder), in EncoderDestroyed()
246 encoders_.end()); in EncoderDestroyed()
270 return encoders_; in encoders()
Dsimulcast_encoder_adapter_unittest.cc195 std::vector<MockVideoEncoder*> encoders_; member in webrtc::test::MockVideoEncoderFactory
367 : encoder_names_[encoders_.size()]; in CreateVideoEncoder()
369 RTC_CHECK_LT(encoders_.size(), requested_resolution_alignments_.size()); in CreateVideoEncoder()
371 requested_resolution_alignments_[encoders_.size()]); in CreateVideoEncoder()
375 encoders_.push_back(encoder.get()); in CreateVideoEncoder()
380 for (size_t i = 0; i < encoders_.size(); ++i) { in DestroyVideoEncoder()
381 if (encoders_[i] == encoder) { in DestroyVideoEncoder()
382 encoders_.erase(encoders_.begin() + i); in DestroyVideoEncoder()
390 return encoders_; in encoders()
Dfake_webrtc_video_engine.h132 std::vector<FakeWebRtcVideoEncoder*> encoders_ RTC_GUARDED_BY(mutex_);
/external/webrtc/modules/video_coding/codecs/test/
Dvideo_encoder_decoder_instantiation_tests.cc81 for (auto& encoder : encoders_) { in ~VideoEncoderDecoderInstantiationTest()
97 std::vector<std::unique_ptr<VideoEncoder>> encoders_; member in webrtc::test::VideoEncoderDecoderInstantiationTest
124 encoders_.emplace_back(std::move(encoder)); in TEST_P()
142 encoders_.emplace_back(std::move(encoder)); in TEST_P()
/external/drm_hwcomposer/drm/
DDrmDevice.h88 for (const auto &enc : encoders_) {
110 std::vector<std::unique_ptr<DrmEncoder>> encoders_; variable
DDrmDevice.cpp120 encoders_.emplace_back(std::move(enc)); in Init()
255 return encoders_; in GetEncoders()
/external/webrtc/modules/video_coding/codecs/multiplex/include/
Dmultiplex_encoder_adapter.h68 std::vector<std::unique_ptr<VideoEncoder>> encoders_; variable