Searched refs:QualityScaler (Results 1 – 6 of 6) sorted by relevance
18 const int QualityScaler::kDefaultLowQpDenominator = 3;21 const int QualityScaler::kDefaultMinDownscaleDimension = 90;23 QualityScaler::QualityScaler() in QualityScaler() function in webrtc::QualityScaler31 void QualityScaler::Init(int low_qp_threshold, in Init()41 void QualityScaler::SetMinResolution(int min_width, int min_height) { in SetMinResolution()47 void QualityScaler::ReportFramerate(int framerate) { in ReportFramerate()53 void QualityScaler::ReportQP(int qp) { in ReportQP()58 void QualityScaler::ReportDroppedFrame() { in ReportDroppedFrame()62 void QualityScaler::OnEncodeFrame(const VideoFrame& frame) { in OnEncodeFrame()113 QualityScaler::Resolution QualityScaler::GetScaledResolution() const { in GetScaledResolution()[all …]
49 qs_.Init(kMaxQp / QualityScaler::kDefaultLowQpDenominator, kHighQp, false); in QualityScalerTest()87 QualityScaler::Resolution res = qs_.GetScaledResolution(); in ExpectScaleUsingReportedResolution()111 QualityScaler qs_;121 QualityScaler::Resolution res = qs_.GetScaledResolution(); in TEST_F()129 QualityScaler::Resolution res = qs_.GetScaledResolution(); in TEST_F()137 QualityScaler::Resolution res = qs_.GetScaledResolution(); in TEST_F()145 QualityScaler::Resolution res = qs_.GetScaledResolution(); in TEST_F()193 while (min_dimension >= 2 * QualityScaler::kDefaultMinDownscaleDimension) { in ContinuouslyDownscalesByHalfDimensionsAndBackUp()197 QualityScaler::Resolution res = qs_.GetScaledResolution(); in ContinuouslyDownscalesByHalfDimensionsAndBackUp()210 QualityScaler::Resolution res = qs_.GetScaledResolution(); in ContinuouslyDownscalesByHalfDimensionsAndBackUp()[all …]
18 class QualityScaler {27 QualityScaler();
119 QualityScaler quality_scaler_;
596 quality_scaler_.Init(codec_.qpMax / QualityScaler::kDefaultLowQpDenominator, in InitEncode()
226 webrtc::QualityScaler quality_scaler_;585 const webrtc::QualityScaler::Resolution scaled_resolution = in EncodeOnCodecThread()