Searched refs:dsc_params (Results 1 – 3 of 3) sorted by relevance
98 int dscc_compute_dsc_parameters(const struct drm_dsc_config *pps, struct dsc_parameters *dsc_params) in dscc_compute_dsc_parameters() argument104 dsc_params->bytes_per_pixel = calc_dsc_bytes_per_pixel(pps); in dscc_compute_dsc_parameters()107 dsc_params->pps = *pps; in dscc_compute_dsc_parameters()108 …dsc_params->pps.initial_scale_value = 8 * rc.rc_model_size / (rc.rc_model_size - rc.initial_fullne… in dscc_compute_dsc_parameters()110 copy_pps_fields(&dsc_cfg, &dsc_params->pps); in dscc_compute_dsc_parameters()113 dsc_cfg.mux_word_size = dsc_params->pps.bits_per_component <= 10 ? 48 : 64; in dscc_compute_dsc_parameters()117 copy_pps_fields(&dsc_params->pps, &dsc_cfg); in dscc_compute_dsc_parameters()118 dsc_params->rc_buffer_model_size = dsc_cfg.rc_bits; in dscc_compute_dsc_parameters()
49 int dscc_compute_dsc_parameters(const struct drm_dsc_config *pps, struct dsc_parameters *dsc_params…
34 …date_from_dsc_parameters(struct dsc_reg_values *reg_vals, const struct dsc_parameters *dsc_params);336 struct dsc_parameters dsc_params; in dsc_prepare_config() local401 if (dscc_compute_dsc_parameters(&dsc_reg_vals->pps, &dsc_params)) { in dsc_prepare_config()406 dsc_update_from_dsc_parameters(dsc_reg_vals, &dsc_params); in dsc_prepare_config()408 dsc_optc_cfg->bytes_per_pixel = dsc_params.bytes_per_pixel; in dsc_prepare_config()529 …pdate_from_dsc_parameters(struct dsc_reg_values *reg_vals, const struct dsc_parameters *dsc_params) in dsc_update_from_dsc_parameters() argument533 reg_vals->pps = dsc_params->pps; in dsc_update_from_dsc_parameters()539 reg_vals->rc_buffer_model_size = dsc_params->rc_buffer_model_size; in dsc_update_from_dsc_parameters()