Searched refs:local_renderer (Results 1 – 4 of 4) sorted by relevance
471 VideoRenderer* local_renderer = local_renderer_.get(); in OnRedraw() local472 if (local_renderer && local_renderer->image()) { in OnRedraw()473 image = reinterpret_cast<const uint32_t*>(local_renderer->image()); in OnRedraw()476 scaled += (width_ * 2) - (local_renderer->width() / 2); in OnRedraw()480 scaled += (height_ * width_ * 4) - ((local_renderer->height() / 2) * in OnRedraw()481 (local_renderer->width() / 2) * 4); in OnRedraw()484 for (int r = 0; r < local_renderer->height(); r += 2) { in OnRedraw()485 for (int c = 0; c < local_renderer->width(); c += 2) { in OnRedraw()486 scaled[c / 2] = image[c + r * local_renderer->width()]; in OnRedraw()
467 FakeVideoTrackRenderer local_renderer(track); in TEST_F() local469 EXPECT_EQ(0, local_renderer.num_rendered_frames()); in TEST_F()471 EXPECT_EQ(1, local_renderer.num_rendered_frames()); in TEST_F()472 EXPECT_FALSE(local_renderer.black_frame()); in TEST_F()476 EXPECT_EQ(2, local_renderer.num_rendered_frames()); in TEST_F()477 EXPECT_TRUE(local_renderer.black_frame()); in TEST_F()481 EXPECT_EQ(3, local_renderer.num_rendered_frames()); in TEST_F()482 EXPECT_FALSE(local_renderer.black_frame()); in TEST_F()
241 VideoRenderer* local_renderer = local_renderer_.get(); in OnPaint() local243 if (ui_ == STREAMING && remote_renderer && local_renderer) { in OnPaint()244 AutoLock<VideoRenderer> local_lock(local_renderer); in OnPaint()282 const BITMAPINFO& bmi = local_renderer->bmi(); in OnPaint()283 image = local_renderer->image(); in OnPaint()311 if (!local_renderer->image()) { in OnPaint()
64 localRenderer = (SurfaceViewRenderer) findViewById(R.id.local_renderer); in onStart()