Home
last modified time | relevance | path

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

/external/webrtc/talk/media/base/
Dvideoengine_unittest.h46 EXPECT_EQ_WAIT((c), renderer_.num_rendered_frames(), (t)); \
47 EXPECT_EQ((w), renderer_.width()); \
48 EXPECT_EQ((h), renderer_.height()); \
49 EXPECT_EQ(0, renderer_.errors()); \
183 EXPECT_TRUE(channel_->SetRenderer(kSsrc, &renderer_)); in SetUpSecondStreamWithNoRecv()
451 EXPECT_TRUE(channel_->SetRenderer(kDefaultReceiveSsrc, &renderer_)); in SendAndReceive()
452 EXPECT_EQ(0, renderer_.num_rendered_frames()); in SendAndReceive()
463 EXPECT_TRUE(channel_->SetRenderer(kDefaultReceiveSsrc, &renderer_)); in SendManyResizeOnce()
464 EXPECT_EQ(0, renderer_.num_rendered_frames()); in SendManyResizeOnce()
471 EXPECT_EQ(1, renderer_.num_set_sizes()); in SendManyResizeOnce()
[all …]
Dvideocapturer_unittest.cc76 renderer_.RenderFrame(frame); in OnVideoFrame()
93 cricket::FakeVideoRenderer renderer_; member in VideoCapturerTest
179 EXPECT_TRUE(renderer_.black_frame()); in TEST_F()
195 EXPECT_FALSE(renderer_.black_frame()); in TEST_F()
216 EXPECT_EQ(0, renderer_.num_rendered_frames()); in TEST_F()
217 renderer_.SetSize(kWidth, kHeight, 0); in TEST_F()
219 EXPECT_EQ(1, renderer_.num_rendered_frames()); in TEST_F()
241 EXPECT_EQ(0, renderer_.num_rendered_frames()); in TEST_F()
249 renderer_.SetSize(kHeight, kWidth, 0); in TEST_F()
253 EXPECT_EQ(++frame_count, renderer_.num_rendered_frames()); in TEST_F()
[all …]
Dfakemediaengine.h360 : renderer_(renderer) { in VoiceChannelAudioSink()
361 renderer_->SetSink(this); in VoiceChannelAudioSink()
364 if (renderer_) { in ~VoiceChannelAudioSink()
365 renderer_->SetSink(NULL); in ~VoiceChannelAudioSink()
373 void OnClose() override { renderer_ = NULL; } in OnClose()
374 AudioRenderer* renderer() const { return renderer_; } in renderer()
377 AudioRenderer* renderer_;
Dmediachannel.h1066 VideoMediaChannel() : renderer_(NULL) {} in VideoMediaChannel()
1097 VideoRenderer *renderer_;
/external/webrtc/talk/app/webrtc/
Dvideosource_unittest.cc156 source_->AddSink(&renderer_); in CreateVideoSource()
161 cricket::FakeVideoRenderer renderer_; member in VideoSourceTest
178 EXPECT_EQ(1, renderer_.num_rendered_frames()); in TEST_F()
193 EXPECT_EQ(1, renderer_.num_rendered_frames()); in TEST_F()
204 EXPECT_EQ(2, renderer_.num_rendered_frames()); in TEST_F()
220 source_->AddSink(&renderer_); in TEST_F()
229 EXPECT_EQ(1, renderer_.num_rendered_frames()); in TEST_F()
/external/webrtc/webrtc/video/
Dreplay.cc143 renderer_(renderer), in FileRenderPassthrough()
157 if (renderer_ != nullptr) in RenderFrame()
158 renderer_->RenderFrame(video_frame, time_to_render_ms); in RenderFrame()
188 VideoRenderer* const renderer_; member in webrtc::FileRenderPassthrough
/external/webrtc/talk/app/webrtc/test/
Dpeerconnectiontestwrapper.cc117 renderer_.reset(new FakeVideoTrackRenderer(stream->GetVideoTracks()[0])); in OnAddStream()
245 if (!renderer_) { in CheckForVideo()
248 return (renderer_->num_rendered_frames() >= kTestVideoFrameCount); in CheckForVideo()
Dpeerconnectiontestwrapper.h112 rtc::scoped_ptr<webrtc::FakeVideoTrackRenderer> renderer_; variable
/external/webrtc/talk/media/webrtc/
Dwebrtcvoiceengine.cc1134 if (renderer_) { in Start()
1135 RTC_DCHECK(renderer_ == renderer); in Start()
1139 renderer_ = renderer; in Start()
1147 if (renderer_) { in Stop()
1148 renderer_->SetSink(nullptr); in Stop()
1149 renderer_ = nullptr; in Stop()
1177 renderer_ = nullptr; in OnClose()
1199 AudioRenderer* renderer_ = nullptr; member in cricket::WebRtcVoiceMediaChannel::WebRtcAudioSendStream
Dwebrtcvideoengine2.cc2245 renderer_(NULL), in WebRtcVideoReceiveStream()
2450 if (renderer_ == NULL) { in RenderFrame()
2462 renderer_->RenderFrame(&render_frame); in RenderFrame()
2481 renderer_ = renderer; in SetRenderer()
2482 if (renderer_ != NULL && last_width_ != -1) { in SetRenderer()
2491 return renderer_; in GetRenderer()
2497 if (!renderer_->SetSize(width, height, 0)) { in SetSize()
Dwebrtcvideoengine2.h458 cricket::VideoRenderer* renderer_ GUARDED_BY(renderer_lock_);
Dwebrtcvideoengine2_unittest.cc875 EXPECT_TRUE(channel_->SetRenderer(kDefaultReceiveSsrc, &renderer_)); in TEST_F()
890 EXPECT_EQ(0, renderer_.num_rendered_frames()); in TEST_F()
/external/webrtc/talk/app/webrtc/java/jni/
Dpeerconnection_jni.cc735 renderer_->SetSize(width_, height_, 0); in RenderFrame()
737 renderer_->RenderFrame(frame); in RenderFrame()
742 : width_(0), height_(0), renderer_(renderer) {} in VideoRendererWrapper()
744 scoped_ptr<cricket::VideoRenderer> renderer_; member in webrtc_jni::VideoRendererWrapper
/external/webrtc/talk/session/media/
Dchannel.h516 VideoRenderer* renderer_; variable
Dchannel.cc1653 renderer_(NULL), in VideoChannel()