Searched refs:dsc_params (Results 1 – 4 of 4) sorted by relevance
100 struct dsc_parameters *dsc_params) in dscc_compute_dsc_parameters() argument106 dsc_params->pps = *pps; in dscc_compute_dsc_parameters()107 …dsc_params->pps.initial_scale_value = 8 * rc->rc_model_size / (rc->rc_model_size - rc->initial_ful… in dscc_compute_dsc_parameters()109 copy_pps_fields(&dsc_cfg, &dsc_params->pps); in dscc_compute_dsc_parameters()112 dsc_cfg.mux_word_size = dsc_params->pps.bits_per_component <= 10 ? 48 : 64; in dscc_compute_dsc_parameters()117 dsc_params->bytes_per_pixel = (uint32_t)tmp; in dscc_compute_dsc_parameters()119 copy_pps_fields(&dsc_params->pps, &dsc_cfg); in dscc_compute_dsc_parameters()120 dsc_params->rc_buffer_model_size = dsc_cfg.rc_bits; in dscc_compute_dsc_parameters()
53 struct dsc_parameters *dsc_params);
369 struct dsc_parameters dsc_params; in dsc_prepare_config() local440 if (dscc_compute_dsc_parameters(&dsc_reg_vals->pps, &rc, &dsc_params)) { in dsc_prepare_config()445 dsc_update_from_dsc_parameters(dsc_reg_vals, &dsc_params); in dsc_prepare_config()447 dsc_optc_cfg->bytes_per_pixel = dsc_params.bytes_per_pixel; in dsc_prepare_config()568 …pdate_from_dsc_parameters(struct dsc_reg_values *reg_vals, const struct dsc_parameters *dsc_params) in dsc_update_from_dsc_parameters() argument572 reg_vals->pps = dsc_params->pps; in dsc_update_from_dsc_parameters()578 reg_vals->rc_buffer_model_size = dsc_params->rc_buffer_model_size; in dsc_update_from_dsc_parameters()
572 …date_from_dsc_parameters(struct dsc_reg_values *reg_vals, const struct dsc_parameters *dsc_params);