qm_select_unittest.cc | 35 : qm_resolution_(new VCMQmResolution()), 38 VCMQmResolution* qm_resolution_; member in class:webrtc::QmSelectTest 70 delete qm_resolution_; 77 EXPECT_EQ(-4, qm_resolution_->Initialize(1000, 0, 640, 480, 1)); 78 EXPECT_EQ(-4, qm_resolution_->Initialize(1000, 30, 640, 0, 1)); 79 EXPECT_EQ(-4, qm_resolution_->Initialize(1000, 30, 0, 480, 1)); 82 EXPECT_EQ(-7, qm_resolution_->SelectResolution(&qm_scale_)); 85 EXPECT_EQ(0, qm_resolution_->Initialize(1000, 30, 640, 480, 1)); 86 qm_resolution_->UpdateContent(content_metrics); 88 EXPECT_EQ(0, qm_resolution_->SelectResolution(&qm_scale_)) [all...] |