Lines Matching +full:18 +full:bpp

57 			  int bpp)  in intel_vdsc_set_min_max_qp()  argument
63 intel_lookup_range_min_qp(bpc, buf, bpp, vdsc_cfg->native_420); in intel_vdsc_set_min_max_qp()
65 intel_lookup_range_max_qp(bpc, buf, bpp, vdsc_cfg->native_420); in intel_vdsc_set_min_max_qp()
80 int bpp = fxp_q4_to_int(vdsc_cfg->bits_per_pixel); in calculate_rc_params() local
95 uncompressed_bpg_rate - 3 * bpp); in calculate_rc_params()
120 if (bpp >= 12) in calculate_rc_params()
122 else if (bpp >= 10) in calculate_rc_params()
123 vdsc_cfg->initial_offset = 5632 - DIV_ROUND_UP(((bpp - 10) * 3584), 2); in calculate_rc_params()
124 else if (bpp >= 8) in calculate_rc_params()
125 vdsc_cfg->initial_offset = 6144 - DIV_ROUND_UP(((bpp - 8) * 512), 2); in calculate_rc_params()
130 vdsc_cfg->initial_xmit_delay = DIV_ROUND_UP(DSC_RC_MODEL_SIZE_CONST, 2 * bpp); in calculate_rc_params()
152 * For 420 format since bits_per_pixel (bpp) is set to target bpp * 2, in calculate_rc_params()
153 * QP table values for target bpp 4.0 to 4.4375 (rounded to 4.0) are in calculate_rc_params()
154 * actually for bpp 8 to 8.875 (rounded to 4.0 * 2 i.e 8). in calculate_rc_params()
155 * Similarly values for target bpp 4.5 to 4.8375 (rounded to 4.5) in calculate_rc_params()
156 * are for bpp 9 to 9.875 (rounded to 4.5 * 2 i.e 9), and so on. in calculate_rc_params()
158 bpp_i = bpp - 8; in calculate_rc_params()
165 if (bpp <= 8) { in calculate_rc_params()
167 } else if (bpp <= 10) { in calculate_rc_params()
168 res = DIV_ROUND_UP(((bpp - 8) * in calculate_rc_params()
171 } else if (bpp <= 12) { in calculate_rc_params()
172 res = DIV_ROUND_UP(((bpp - 10) * in calculate_rc_params()
175 } else if (bpp <= 16) { in calculate_rc_params()
176 res = DIV_ROUND_UP(((bpp - 12) * in calculate_rc_params()
187 /* fractional bpp part * 10000 (for precision up to 4 decimal places) */ in calculate_rc_params()
205 * So 6.0 bpp to 6.4375 will have index 0, 6.5 to 6.9375 will have index 1, in calculate_rc_params()
209 bpp_i = ((bpp - 6) + (fractional_bits < 5000 ? 0 : 1)); in calculate_rc_params()
217 if (bpp <= 6) { in calculate_rc_params()
219 } else if (bpp <= 8) { in calculate_rc_params()
220 res = DIV_ROUND_UP(((bpp - 6) * in calculate_rc_params()
223 } else if (bpp <= 12) { in calculate_rc_params()
225 } else if (bpp <= 15) { in calculate_rc_params()
226 res = DIV_ROUND_UP(((bpp - 12) * in calculate_rc_params()
302 * we need to double the current bpp. in intel_dsc_compute_params()
313 * upto uncompressed bpp-1, hence add calculations for all the rc in intel_dsc_compute_params()
528 /* PPS 18 */ in intel_dsc_pps_configure()
531 intel_dsc_pps_write(crtc_state, 18, pps_val); in intel_dsc_pps_configure()
933 /* PPS 18 */ in intel_dsc_get_pps_config()
934 pps_temp = intel_dsc_pps_read_and_verify(crtc_state, 18); in intel_dsc_get_pps_config()
978 "dsc-dss: compressed-bpp:" FXP_Q4_FMT ", slice-count: %d, split: %s\n", in intel_vdsc_dump_state()