Home
last modified time | relevance | path

Searched refs:adapter_ (Results 1 – 15 of 15) sorted by relevance

/external/webrtc/call/adaptation/
Dvideo_stream_adapter_unittest.cc97 : adapter_(adapter), in FakeVideoStream()
111 adapter_->ApplyAdaptation(adaptation, nullptr); in ApplyAdaptation()
113 auto restrictions = adapter_->source_restrictions(); in ApplyAdaptation()
129 VideoStreamAdapter* adapter_; member in webrtc::__anon1cbf89c20111::FakeVideoStream
191 adapter_(&input_state_provider_) {} in VideoStreamAdapterTest()
197 VideoStreamAdapter adapter_; member in webrtc::VideoStreamAdapterTest
201 EXPECT_EQ(VideoSourceRestrictions(), adapter_.source_restrictions()); in TEST_F()
202 EXPECT_EQ(0, adapter_.adaptation_counters().Total()); in TEST_F()
207 adapter_.SetDegradationPreference(DegradationPreference::MAINTAIN_FRAMERATE); in TEST_F()
210 Adaptation adaptation = adapter_.GetAdaptationDown(); in TEST_F()
[all …]
/external/webrtc/media/base/
Dvideo_adapter_unittest.cc58 adapter_(source_resolution_alignment), in VideoAdapterTest()
59 adapter_wrapper_(std::make_unique<VideoAdapterWrapper>(&adapter_)), in VideoAdapterTest()
130 adapter_.OnOutputFormatRequest(target_aspect_ratio, max_pixel_count, in OnOutputFormatRequest()
134 adapter_.OnOutputFormatRequest( in OnOutputFormatRequest()
141 VideoAdapter adapter_; member in cricket::VideoAdapterTest
304 adapter_.OnOutputFormatRequest(absl::nullopt, absl::nullopt, kDefaultFps / 2); in TEST_P()
329 adapter_.AdaptFrameResolution(640, 480, first_timestamp, &cropped_width_, in TEST_P()
336 adapter_.AdaptFrameResolution(640, 480, second_timestamp, &cropped_width_, in TEST_P()
342 adapter_.AdaptFrameResolution(640, 480, third_timestamp, &cropped_width_, in TEST_P()
353 adapter_.AdaptFrameResolution(640, 480, capture_interval * 0 / 10, in TEST_P()
[all …]
/external/webrtc/media/engine/
Dsimulcast_encoder_adapter_unittest.cc417 if (adapter_) { in ~TestSimulcastEncoderAdapterFake()
418 adapter_->Release(); in ~TestSimulcastEncoderAdapterFake()
425 adapter_.reset(helper_->CreateMockEncoderAdapter()); in SetUp()
459 EXPECT_EQ(0, adapter_->InitEncode(&codec_, kSettings)); in SetupCodec()
460 adapter_->RegisterEncodeCompleteCallback(this); in SetupCodec()
535 std::unique_ptr<VideoEncoder> adapter_; member in webrtc::test::TestSimulcastEncoderAdapterFake
551 EXPECT_EQ(0, adapter_->Release()); in TEST_F()
556 EXPECT_EQ(0, adapter_->Release()); in TEST_F()
558 EXPECT_EQ(0, adapter_->InitEncode(&codec_, kSettings)); in TEST_F()
565 adapter_->SetRates(VideoEncoder::RateControlParameters( in TEST_F()
[all …]
Dsimulcast_encoder_adapter.cc119 : adapter_(adapter), stream_idx_(stream_idx) {} in AdapterEncodedImageCallback()
125 return adapter_->OnEncodedImage(stream_idx_, encoded_image, in OnEncodedImage()
130 webrtc::SimulcastEncoderAdapter* const adapter_; member in __anon15fce68a0111::AdapterEncodedImageCallback
/external/webrtc/modules/congestion_controller/rtp/
Dtransport_feedback_adapter_unittest.cc98 virtual void SetUp() { adapter_.reset(new TransportFeedbackAdapter()); } in SetUp()
100 virtual void TearDown() { adapter_.reset(); } in TearDown()
118 adapter_->AddPacket(RtpPacketSendInfo(packet_info), 0u, in OnSentPacket()
120 adapter_->ProcessSentPacket(rtc::SentPacket( in OnSentPacket()
128 std::unique_ptr<TransportFeedbackAdapter> adapter_; member in webrtc::webrtc_cc::test::TransportFeedbackAdapterTest
154 adapter_->ProcessTransportFeedback(feedback, clock_.CurrentTime()); in TEST_F()
187 auto res = adapter_->ProcessTransportFeedback(feedback, clock_.CurrentTime()); in TEST_F()
227 auto res = adapter_->ProcessTransportFeedback(feedback, clock_.CurrentTime()); in TEST_F()
262 auto res = adapter_->ProcessTransportFeedback(*feedback.get(), in TEST_F()
291 auto res = adapter_->ProcessTransportFeedback(feedback, clock_.CurrentTime()); in TEST_F()
[all …]
/external/webrtc/sdk/objc/api/
DRTCVideoRendererAdapter.mm24 adapter_ = adapter;
37 [adapter_.videoRenderer setSize:size_];
39 [adapter_.videoRenderer renderFrame:videoFrame];
43 __weak RTCVideoRendererAdapter *adapter_;
/external/webrtc/modules/video_coding/codecs/multiplex/
Dmultiplex_decoder_adapter.cc35 : adapter_(adapter), stream_idx_(stream_idx) {} in AdapterDecodedImageCallback()
40 if (!adapter_) in Decoded()
42 adapter_->Decoded(stream_idx_, &decoded_image, decode_time_ms, qp); in Decoded()
54 MultiplexDecoderAdapter* adapter_; member in webrtc::MultiplexDecoderAdapter::AdapterDecodedImageCallback
Dmultiplex_encoder_adapter.cc34 : adapter_(adapter), stream_idx_(stream_idx) {} in AdapterEncodedImageCallback()
40 if (!adapter_) in OnEncodedImage()
42 return adapter_->OnEncodedImage(stream_idx_, encoded_image, in OnEncodedImage()
47 MultiplexEncoderAdapter* adapter_; member in webrtc::MultiplexEncoderAdapter::AdapterEncodedImageCallback
/external/webrtc/test/
Dmac_capturer.mm68 adapter_ = (__bridge_retained void *)adapter;
91 RTCTestVideoSourceAdapter *adapter = (__bridge_transfer RTCTestVideoSourceAdapter *)adapter_;
Dmac_capturer.h44 void* adapter_; variable
/external/webrtc/sdk/objc/native/src/
Dobjc_video_track_source.h54 RTCObjCVideoSourceAdapter* adapter_; variable
Dobjc_video_track_source.mm40 ObjCVideoTrackSource::ObjCVideoTrackSource(RTCObjCVideoSourceAdapter *adapter) : adapter_(adapter) {
41 adapter_.objCVideoTrackSource = this;
/external/protobuf/src/google/protobuf/util/internal/
Dproto_writer.cc77 adapter_(&buffer_), in ProtoWriter()
78 stream_(new CodedOutputStream(&adapter_)), in ProtoWriter()
98 adapter_(&buffer_), in ProtoWriter()
99 stream_(new CodedOutputStream(&adapter_)), in ProtoWriter()
817 stream_.reset(new CodedOutputStream(&adapter_)); in WriteRootMessage()
Dproto_writer.h352 io::StringOutputStream adapter_; variable
/external/webrtc/video/
Dvideo_stream_encoder_unittest.cc523 if (adapter_.AdaptFrameResolution( in IncomingCapturedFrame()
561 adapter_.OnSinkWants(wants); in AddOrUpdateSink()
564 cricket::VideoAdapter adapter_; member in webrtc::__anon12f4eee80111::AdaptingFrameForwarder