Home
last modified time | relevance | path

Searched refs:svc_params_ (Results 1 – 7 of 7) sorted by relevance

/external/libvpx/libvpx/test/
Dsvc_test.cc20 svc_params_.scaling_factor_num[0] = 288; in SetSvcConfig()
21 svc_params_.scaling_factor_den[0] = 288; in SetSvcConfig()
23 svc_params_.scaling_factor_num[0] = 144; in SetSvcConfig()
24 svc_params_.scaling_factor_den[0] = 288; in SetSvcConfig()
25 svc_params_.scaling_factor_num[1] = 288; in SetSvcConfig()
26 svc_params_.scaling_factor_den[1] = 288; in SetSvcConfig()
28 svc_params_.scaling_factor_num[0] = 72; in SetSvcConfig()
29 svc_params_.scaling_factor_den[0] = 288; in SetSvcConfig()
30 svc_params_.scaling_factor_num[1] = 144; in SetSvcConfig()
31 svc_params_.scaling_factor_den[1] = 288; in SetSvcConfig()
[all …]
Dsvc_datarate_test.cc487 top_sl_width_ * svc_params_.scaling_factor_num[sl] / in FramePktHook()
488 svc_params_.scaling_factor_den[sl]); in FramePktHook()
491 top_sl_height_ * svc_params_.scaling_factor_num[sl] / in FramePktHook()
492 svc_params_.scaling_factor_den[sl]); in FramePktHook()
582 memset(&svc_params_, 0, sizeof(svc_params_)); in DatarateOnePassCbrSvcSingleBR()
813 svc_params_.scaling_factor_num[0] = 256; in TEST_P()
814 svc_params_.scaling_factor_den[0] = 1280; in TEST_P()
815 svc_params_.scaling_factor_num[1] = 1280; in TEST_P()
816 svc_params_.scaling_factor_den[1] = 1280; in TEST_P()
853 memset(&svc_params_, 0, sizeof(svc_params_)); in DatarateOnePassCbrSvcMultiBR()
[all …]
Dsvc_test.h31 memset(&svc_params_, 0, sizeof(svc_params_)); in OnePassCbrSvc()
55 vpx_svc_extra_cfg_t svc_params_; variable
/external/webrtc/modules/video_coding/codecs/av1/
Dlibaom_av1_encoder.cc86 bool SvcEnabled() const { return svc_params_.has_value(); } in SvcEnabled()
98 absl::optional<aom_svc_params_t> svc_params_; member in webrtc::__anonbd1cd7740111::LibaomAv1Encoder
251 ret = aom_codec_control(&ctx_, AV1E_SET_SVC_PARAMS, &*svc_params_); in InitEncode()
292 svc_params_ = absl::nullopt; in SetSvcParams()
306 aom_svc_params_t& svc_params = svc_params_.emplace(); in SetSvcParams()
518 resolutions.resize(svc_params_->number_spatial_layers); in Encode()
519 for (int sid = 0; sid < svc_params_->number_spatial_layers; ++sid) { in Encode()
520 int n = svc_params_->scaling_factor_num[sid]; in Encode()
521 int d = svc_params_->scaling_factor_den[sid]; in Encode()
564 for (int sid = 0; sid < svc_params_->number_spatial_layers; ++sid) { in SetRates()
[all …]
/external/webrtc/modules/video_coding/codecs/vp9/
Dvp9_impl.cc265 memset(&svc_params_, 0, sizeof(vpx_svc_extra_cfg_t)); in VP9EncoderImpl()
356 if (svc_params_.scaling_factor_num[i] <= 0 || in SetSvcRates()
357 svc_params_.scaling_factor_den[i] <= 0) { in SetSvcRates()
361 rate_ratio[i] = static_cast<float>(svc_params_.scaling_factor_num[i]) / in SetSvcRates()
362 svc_params_.scaling_factor_den[i]; in SetSvcRates()
683 svc_params_.max_quantizers[i] = config_->rc_max_quantizer; in InitAndSetControlSettings()
684 svc_params_.min_quantizers[i] = config_->rc_min_quantizer; in InitAndSetControlSettings()
710 svc_params_.scaling_factor_num[i] = 1; in InitAndSetControlSettings()
711 svc_params_.scaling_factor_den[i] = scale_factor; in InitAndSetControlSettings()
726 svc_params_.scaling_factor_num[i] = scaling_factor_num; in InitAndSetControlSettings()
[all …]
Dvp9_impl.h113 vpx_svc_extra_cfg_t svc_params_; variable
/external/libaom/libaom/test/
Dsvc_datarate_test.cc57 memset(&svc_params_, 0, sizeof(aom_svc_params_t)); in ResetModel()
66 &svc_params_); in PreEncodeFrameHook()
67 encoder->Control(AV1E_SET_SVC_PARAMS, &svc_params_); in PreEncodeFrameHook()
565 aom_svc_params_t svc_params_; member in datarate_test::__anone8dde0710111::DatarateTestSVC