Home
last modified time | relevance | path

Searched refs:qm_resolution_ (Results 1 – 3 of 3) sorted by relevance

/external/webrtc/webrtc/modules/video_coding/
Dqm_select_unittest.cc35 : qm_resolution_(new VCMQmResolution()), in QmSelectTest()
38 VCMQmResolution* qm_resolution_; member in webrtc::QmSelectTest
70 delete qm_resolution_; in TearDown()
77 EXPECT_EQ(-4, qm_resolution_->Initialize(1000, 0, 640, 480, 1)); in TEST_F()
78 EXPECT_EQ(-4, qm_resolution_->Initialize(1000, 30, 640, 0, 1)); in TEST_F()
79 EXPECT_EQ(-4, qm_resolution_->Initialize(1000, 30, 0, 480, 1)); in TEST_F()
82 EXPECT_EQ(-7, qm_resolution_->SelectResolution(&qm_scale_)); in TEST_F()
85 EXPECT_EQ(0, qm_resolution_->Initialize(1000, 30, 640, 480, 1)); in TEST_F()
86 qm_resolution_->UpdateContent(content_metrics); in TEST_F()
88 EXPECT_EQ(0, qm_resolution_->SelectResolution(&qm_scale_)); in TEST_F()
[all …]
Dmedia_optimization.cc98 qm_resolution_(new VCMQmResolution()), in MediaOptimization()
124 qm_resolution_->Reset(); in Reset()
185 qm_resolution_->Initialize(target_bitrate_kbps, user_frame_rate_, in SetEncodingDataInternal()
286 qm_resolution_->UpdateRates(target_video_bitrate_kbps, sent_video_rate_kbps, in SetTargetRates()
373 qm_resolution_->UpdateEncodedSize(encoded_length); in UpdateWithEncodedData()
434 qm_resolution_->Reset(); in UpdateContentData()
457 qm_resolution_->ResetQM(); in SelectQuality()
460 qm_resolution_->UpdateContent(content_->LongTermAvgData()); in SelectQuality()
464 int32_t ret = qm_resolution_->SelectResolution(&qm); in SelectQuality()
473 qm_resolution_->ResetRates(); in SelectQuality()
[all …]
Dmedia_optimization.h162 rtc::scoped_ptr<VCMQmResolution> qm_resolution_ GUARDED_BY(crit_sect_);