Lines Matching refs:renderer_
46 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()
478 EXPECT_EQ(2, renderer_.num_set_sizes()); in SendManyResizeOnce()
484 EXPECT_TRUE(channel_->SetRenderer(kDefaultReceiveSsrc, &renderer_)); in SendReceiveManyAndGetStats()
485 EXPECT_EQ(0, renderer_.num_rendered_frames()); in SendReceiveManyAndGetStats()
612 EXPECT_TRUE(channel_->SetRenderer(kSsrc, &renderer_)); in GetStatsMultipleSendStreams()
734 EXPECT_EQ(0, renderer_.num_rendered_frames()); in SetRenderer()
736 EXPECT_TRUE(channel_->SetRenderer(kDefaultReceiveSsrc, &renderer_)); in SetRenderer()
756 EXPECT_TRUE(channel_->SetRenderer(kDefaultReceiveSsrc, &renderer_)); in AddRemoveSendStreams()
961 EXPECT_TRUE(channel_->SetRenderer(kDefaultReceiveSsrc, &renderer_)); in AddRemoveCapturer()
962 EXPECT_EQ(0, renderer_.num_rendered_frames()); in AddRemoveCapturer()
986 EXPECT_TRUE_WAIT(renderer_.num_rendered_frames() >= captured_frames && in AddRemoveCapturer()
987 format.width == renderer_.width() && in AddRemoveCapturer()
988 format.height == renderer_.height() && in AddRemoveCapturer()
989 !renderer_.black_frame(), kTimeout); in AddRemoveCapturer()
990 EXPECT_GE(renderer_.num_rendered_frames(), captured_frames); in AddRemoveCapturer()
991 EXPECT_EQ(format.width, renderer_.width()); in AddRemoveCapturer()
992 EXPECT_EQ(format.height, renderer_.height()); in AddRemoveCapturer()
993 captured_frames = renderer_.num_rendered_frames() + 1; in AddRemoveCapturer()
994 EXPECT_FALSE(renderer_.black_frame()); in AddRemoveCapturer()
999 EXPECT_TRUE_WAIT(renderer_.num_rendered_frames() >= captured_frames && in AddRemoveCapturer()
1000 format.width == renderer_.width() && in AddRemoveCapturer()
1001 format.height == renderer_.height() && in AddRemoveCapturer()
1002 renderer_.black_frame(), kTimeout); in AddRemoveCapturer()
1003 EXPECT_GE(renderer_.num_rendered_frames(), captured_frames); in AddRemoveCapturer()
1004 EXPECT_EQ(format.width, renderer_.width()); in AddRemoveCapturer()
1005 EXPECT_EQ(format.height, renderer_.height()); in AddRemoveCapturer()
1006 EXPECT_TRUE(renderer_.black_frame()); in AddRemoveCapturer()
1022 EXPECT_TRUE(channel_->SetRenderer(kDefaultReceiveSsrc, &renderer_)); in RemoveCapturerWithoutAdd()
1023 EXPECT_EQ(0, renderer_.num_rendered_frames()); in RemoveCapturerWithoutAdd()
1039 EXPECT_EQ(2, renderer_.num_rendered_frames()); in RemoveCapturerWithoutAdd()
1051 EXPECT_TRUE(channel_->SetRenderer(kSsrc, &renderer_)); in AddRemoveCapturerMultipleSources()
1150 EXPECT_TRUE(channel_->SetRenderer(kDefaultReceiveSsrc, &renderer_)); in AdaptResolution16x10()
1164 EXPECT_TRUE(channel_->SetRenderer(kDefaultReceiveSsrc, &renderer_)); in AdaptResolution4x3()
1184 EXPECT_TRUE(channel_->SetRenderer(kDefaultReceiveSsrc, &renderer_)); in AdaptDropAllFrames()
1185 EXPECT_EQ(0, renderer_.num_rendered_frames()); in AdaptDropAllFrames()
1189 EXPECT_EQ(0, renderer_.num_rendered_frames()); in AdaptDropAllFrames()
1199 EXPECT_EQ(frame_count, renderer_.num_rendered_frames()); in AdaptFramerate()
1214 EXPECT_EQ_WAIT(frame_count, renderer_.num_rendered_frames(), kTimeout); in AdaptFramerate()
1224 EXPECT_EQ_WAIT(frame_count, renderer_.num_rendered_frames(), kTimeout); in AdaptFramerate()
1235 EXPECT_EQ_WAIT(frame_count, renderer_.num_rendered_frames(), kTimeout); in AdaptFramerate()
1244 EXPECT_TRUE(channel_->SetRenderer(kDefaultReceiveSsrc, &renderer_)); in SendsLowerResolutionOnSmallerFrames()
1245 EXPECT_EQ(0, renderer_.num_rendered_frames()); in SendsLowerResolutionOnSmallerFrames()
1285 EXPECT_EQ(frame_count, renderer_.num_rendered_frames()); in SetSendStreamFormat()
1293 EXPECT_TRUE(channel_->SetRenderer(kDefaultReceiveSsrc, &renderer_)); in SetSendStreamFormat0x0()
1294 EXPECT_EQ(0, renderer_.num_rendered_frames()); in SetSendStreamFormat0x0()
1310 EXPECT_EQ(1, renderer_.num_rendered_frames()); in SetSendStreamFormat0x0()
1324 EXPECT_TRUE(channel_->SetRenderer(kDefaultReceiveSsrc, &renderer_)); in MuteStream()
1325 EXPECT_EQ(0, renderer_.num_rendered_frames()); in MuteStream()
1331 EXPECT_EQ_WAIT(frame_count, renderer_.num_rendered_frames(), kTimeout); in MuteStream()
1332 EXPECT_TRUE(renderer_.black_frame()); in MuteStream()
1338 EXPECT_EQ_WAIT(frame_count, renderer_.num_rendered_frames(), kTimeout); in MuteStream()
1339 EXPECT_FALSE(renderer_.black_frame()); in MuteStream()
1345 EXPECT_EQ_WAIT(frame_count, renderer_.num_rendered_frames(), kTimeout); in MuteStream()
1346 EXPECT_TRUE(renderer_.black_frame()); in MuteStream()
1351 EXPECT_EQ_WAIT(frame_count, renderer_.num_rendered_frames(), kTimeout); in MuteStream()
1352 EXPECT_FALSE(renderer_.black_frame()); in MuteStream()
1418 EXPECT_TRUE(channel_->SetRenderer(new_ssrc, &renderer_)); in TwoStreamsReUseFirstStream()
1439 EXPECT_EQ_WAIT(1, renderer_.num_rendered_frames(), kTimeout); in TwoStreamsSendAndUnsignalledRecv()
1451 EXPECT_EQ_WAIT(2, renderer_.num_rendered_frames(), kTimeout); in TwoStreamsSendAndUnsignalledRecv()
1473 EXPECT_EQ_WAIT(1, renderer_.num_rendered_frames(), kTimeout); in TwoStreamsAddAndRemoveUnsignalledRecv()
1491 cricket::FakeVideoRenderer renderer_; variable