Home
last modified time | relevance | path

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

/external/openscreen/cast/standalone_receiver/
Dsdl_video_player.cc33 renderer_(renderer) { in SDLVideoPlayer()
34 OSP_DCHECK(renderer_); in SDLVideoPlayer()
55 SDL_SetRenderDrawColor(renderer_, kRedSplashColor.r, kRedSplashColor.g, in RenderWhileIdle()
57 SDL_RenderClear(renderer_); in RenderWhileIdle()
61 SDL_SetRenderDrawColor(renderer_, kBlueSplashColor.r, kBlueSplashColor.g, in RenderWhileIdle()
63 SDL_RenderClear(renderer_); in RenderWhileIdle()
108 MakeUniqueSDLTexture(renderer_, sdl_format, SDL_TEXTUREACCESS_STREAMING, in RenderNextFrame()
148 SDL_RenderGetLogicalSize(renderer_, &dst_rect.w, &dst_rect.h); in RenderNextFrame()
155 SDL_RenderSetLogicalSize(renderer_, dst_rect.w, dst_rect.h); in RenderNextFrame()
158 SDL_SetRenderDrawColor(renderer_, 0, 0, 0, 255); in RenderNextFrame()
[all …]
Dstreaming_playback_controller.cc43 renderer_ = MakeUniqueSDLRenderer(window_.get(), -1, 0);
44 OSP_CHECK(renderer_) << "Failed to create SDL renderer: " << SDL_GetError();
71 receivers.video_config.codec, renderer_.get(), [this] { in OnMirroringNegotiated()
Dsdl_video_player.h50 SDL_Renderer* const renderer_; variable
Dstreaming_playback_controller.h58 SDLRendererUniquePtr renderer_; variable
/external/webrtc/modules/audio_device/include/
Dtest_audio_device.cc63 renderer_(std::move(renderer)), in TestAudioDeviceModuleImpl()
73 if (renderer_) { in TestAudioDeviceModuleImpl()
74 const int sample_rate = renderer_->SamplingFrequency(); in TestAudioDeviceModuleImpl()
76 SamplesPerFrame(sample_rate) * renderer_->NumChannels(), 0); in TestAudioDeviceModuleImpl()
110 RTC_CHECK(renderer_); in StartPlayout()
179 const int sampling_frequency = renderer_->SamplingFrequency(); in ProcessAudio()
181 SamplesPerFrame(sampling_frequency), 2 * renderer_->NumChannels(), in ProcessAudio()
182 renderer_->NumChannels(), sampling_frequency, playout_buffer_.data(), in ProcessAudio()
184 const bool keep_rendering = renderer_->Render( in ProcessAudio()
194 const std::unique_ptr<Renderer> renderer_ RTC_GUARDED_BY(lock_);
/external/webrtc/sdk/objc/native/src/
Dobjc_video_renderer.mm22 : renderer_(renderer), size_(CGSizeZero) {}
33 [renderer_ setSize:size_];
35 [renderer_ renderFrame:videoFrame];
Dobjc_video_renderer.h33 id<RTC_OBJC_TYPE(RTCVideoRenderer)> renderer_;
/external/webrtc/pc/test/
Dpeer_connection_test_wrapper.cc157 renderer_ = std::make_unique<FakeVideoTrackRenderer>(video_track); in OnAddTrack()
286 if (!renderer_) { in CheckForVideo()
289 return (renderer_->num_rendered_frames() >= kTestVideoFrameCount); in CheckForVideo()
Dpeer_connection_test_wrapper.h128 std::unique_ptr<webrtc::FakeVideoTrackRenderer> renderer_; variable
/external/webrtc/rtc_tools/
Dvideo_replay.cc206 : basename_(basename), renderer_(renderer), file_(nullptr), count_(0) {} in FileRenderPassthrough()
215 if (renderer_) in OnFrame()
216 renderer_->OnFrame(video_frame); in OnFrame()
230 rtc::VideoSinkInterface<VideoFrame>* const renderer_; member in webrtc::FileRenderPassthrough
/external/webrtc/media/engine/
Dwebrtc_video_engine_unittest.cc225 EXPECT_EQ_WAIT((c), renderer_.num_rendered_frames(), (t)); \
226 EXPECT_EQ((w), renderer_.width()); \
227 EXPECT_EQ((h), renderer_.height()); \
228 EXPECT_EQ(0, renderer_.errors());
1359 EXPECT_EQ_WAIT(1, renderer_.num_rendered_frames(), kTimeout); in DeliverKeyFrameAndWait()
1360 EXPECT_EQ(0, renderer_.errors()); in DeliverKeyFrameAndWait()
1373 cricket::FakeVideoRenderer renderer_; member in cricket::WebRtcVideoChannelEncodedFrameCallbackTest
1388 EXPECT_TRUE(channel_->SetSink(kSsrc, &renderer_)); in TEST_F()
1390 EXPECT_EQ_WAIT(1, renderer_.num_rendered_frames(), kTimeout); in TEST_F()
1391 EXPECT_EQ(0, renderer_.errors()); in TEST_F()
[all …]