Searched refs:slice_height (Results 1 – 9 of 9) sorted by relevance
| /Linux-v5.4/drivers/gpu/drm/ |
| D | drm_dsc.c | 119 pps_payload->slice_height = cpu_to_be16(dsc_cfg->slice_height); in drm_dsc_pps_payload_pack() 301 slice_bits = 8 * vdsc_cfg->slice_chunk_size * vdsc_cfg->slice_height; in drm_dsc_compute_rc_parameters() 328 if (vdsc_cfg->slice_height > 1) in drm_dsc_compute_rc_parameters() 335 (vdsc_cfg->slice_height - 1)); in drm_dsc_compute_rc_parameters() 346 groups_total = groups_per_line * vdsc_cfg->slice_height; in drm_dsc_compute_rc_parameters()
|
| /Linux-v5.4/drivers/gpu/drm/amd/display/dc/dsc/ |
| D | rc_calc_dpi.c | 39 to->slice_height = from->slice_height; in copy_pps_fields() 112 int slice_height = pps->slice_height; in dscc_compute_dsc_parameters() local 131 calc_rc_params(&rc, mode, bpc, bpp, slice_width, slice_height, pps->dsc_version_minor); in dscc_compute_dsc_parameters()
|
| D | dc_dsc.c | 528 int slice_height; in setup_dsc_config() local 683 slice_height = min(dsc_policy.min_sice_height, pic_height); in setup_dsc_config() 685 while (slice_height < pic_height && (pic_height % slice_height != 0 || in setup_dsc_config() 686 (timing->pixel_encoding == PIXEL_ENCODING_YCBCR420 && slice_height % 2 != 0))) in setup_dsc_config() 687 slice_height++; in setup_dsc_config() 690 is_dsc_possible = (slice_height % 2 == 0); in setup_dsc_config() 695 dsc_cfg->num_slices_v = pic_height/slice_height; in setup_dsc_config()
|
| D | rc_calc.c | 176 …lour_mode cm, enum bits_per_comp bpc, float bpp, int slice_width, int slice_height, int minor_vers… in calc_rc_params() argument 192 …rc->first_line_bpg_offset = median3(0, (12 + (int) (0.09 * min(34, slice_height - 8))), (int)((… in calc_rc_params() 197 …rc->first_line_bpg_offset = median3(0, (12 + (int) (0.09 * min(34, slice_height - 8))), (int)((… in calc_rc_params() 203 …rc->first_line_bpg_offset = median3(0, (12 + (int) (0.09 * min(34, slice_height - 8))), (int)((… in calc_rc_params()
|
| D | rc_calc.h | 81 …lour_mode cm, enum bits_per_comp bpc, float bpp, int slice_width, int slice_height, int minor_vers…
|
| /Linux-v5.4/include/drm/ |
| D | drm_dsc.h | 102 u16 slice_height; member 352 __be16 slice_height; member
|
| /Linux-v5.4/drivers/gpu/drm/i915/display/ |
| D | intel_vdsc.c | 342 vdsc_cfg->slice_height = 8; in intel_dp_compute_dsc_params() 344 vdsc_cfg->slice_height = 4; in intel_dp_compute_dsc_params() 346 vdsc_cfg->slice_height = 2; in intel_dp_compute_dsc_params() 567 pps_val |= DSC_SLICE_HEIGHT(vdsc_cfg->slice_height) | in intel_configure_pps_for_dsc_encoder() 735 vdsc_cfg->slice_height); in intel_configure_pps_for_dsc_encoder()
|
| /Linux-v5.4/drivers/gpu/drm/amd/display/dc/dcn20/ |
| D | dcn20_dsc.c | 269 DC_LOG_DSC("\tslice_height %d", pps->slice_height); in dsc_log_pps() 355 dsc_reg_vals->pps.slice_height = dsc_cfg->pic_height / dsc_cfg->dc_dsc_cfg.num_slices_v; in dsc_prepare_config() 357 ASSERT(dsc_reg_vals->pps.slice_height * dsc_cfg->dc_dsc_cfg.num_slices_v == dsc_cfg->pic_height); in dsc_prepare_config() 358 if (!(dsc_reg_vals->pps.slice_height * dsc_cfg->dc_dsc_cfg.num_slices_v == dsc_cfg->pic_height)) { in dsc_prepare_config() 477 reg_vals->pps.slice_height = 0; in dsc_init_reg_values() 580 SLICE_HEIGHT, reg_vals->pps.slice_height); in dsc_write_to_registers()
|
| /Linux-v5.4/drivers/gpu/drm/i915/ |
| D | i915_reg.h | 11295 #define DSC_SLICE_HEIGHT(slice_height) ((slice_height) << 0) argument
|