Home
last modified time | relevance | path

Searched refs:bits_per_component (Results 1 – 6 of 6) sorted by relevance

/Linux-v5.10/drivers/gpu/drm/
Ddrm_dsc.c90 dsc_cfg->bits_per_component << DSC_PPS_BPC_SHIFT; in drm_dsc_pps_payload_pack()
288 (4 * vdsc_cfg->bits_per_component + 4) in drm_dsc_compute_rc_parameters()
292 (4 * vdsc_cfg->bits_per_component + 4) + in drm_dsc_compute_rc_parameters()
293 3 * (4 * vdsc_cfg->bits_per_component) - 2; in drm_dsc_compute_rc_parameters()
296 (4 * vdsc_cfg->bits_per_component + 4) + in drm_dsc_compute_rc_parameters()
297 2 * (4 * vdsc_cfg->bits_per_component) - 2; in drm_dsc_compute_rc_parameters()
/Linux-v5.10/drivers/gpu/drm/i915/display/
Dintel_vdsc.c301 static int get_column_index_for_rc_params(u8 bits_per_component) in get_column_index_for_rc_params() argument
303 switch (bits_per_component) { in get_column_index_for_rc_params()
320 u8 bits_per_component) in get_rc_params() argument
328 column_index = get_column_index_for_rc_params(bits_per_component); in get_rc_params()
400 vdsc_cfg->bits_per_component = pipe_config->pipe_bpp / 3; in intel_dsc_compute_params()
420 rc_params = get_rc_params(compressed_bpp, vdsc_cfg->bits_per_component); in intel_dsc_compute_params()
452 if (vdsc_cfg->bits_per_component == 8 || in intel_dsc_compute_params()
453 vdsc_cfg->bits_per_component == 10) in intel_dsc_compute_params()
455 else if (vdsc_cfg->bits_per_component == 12) in intel_dsc_compute_params()
509 vdsc_cfg->bits_per_component << DSC_BPC_SHIFT | in intel_dsc_pps_configure()
/Linux-v5.10/drivers/gpu/drm/amd/display/dc/dsc/
Drc_calc_dpi.c33 to->bits_per_component = from->bits_per_component; in copy_pps_fields()
114 dsc_cfg.mux_word_size = dsc_params->pps.bits_per_component <= 10 ? 48 : 64; in dscc_compute_dsc_parameters()
Drc_calc.c331 bpc = (pps->bits_per_component == 8) ? BPC_8 : (pps->bits_per_component == 10) in calc_rc_params()
/Linux-v5.10/drivers/gpu/drm/amd/display/dc/dcn20/
Ddcn20_dsc.c286 DC_LOG_DSC("\tbits_per_component %d", pps->bits_per_component); in dsc_log_pps()
373 …dsc_reg_vals->pps.bits_per_component = dsc_dc_color_depth_to_dsc_bits_per_comp(dsc_cfg->color_dept… in dsc_prepare_config()
498 reg_vals->pps.bits_per_component = 8; in dsc_init_reg_values()
556 DSCCIF_CONFIG0__BITS_PER_COMPONENT, reg_vals->pps.bits_per_component); in dsc_write_to_registers()
584 DSCC_PPS_CONFIG0__BITS_PER_COMPONENT, reg_vals->pps.bits_per_component); in dsc_write_to_registers()
/Linux-v5.10/include/drm/
Ddrm_dsc.h84 u8 bits_per_component; member