Searched refs:horz (Results 1 – 5 of 5) sorted by relevance
169 static inline void drm_rect_downscale(struct drm_rect *r, int horz, int vert) in drm_rect_downscale() argument171 r->x1 /= horz; in drm_rect_downscale()173 r->x2 /= horz; in drm_rect_downscale()
208 if (scl_data->ratios.horz.value == (8ll << 32)) in dpp201_get_optimal_number_of_taps()209 scl_data->ratios.horz.value--; in dpp201_get_optimal_number_of_taps()219 if (dc_fixpt_ceil(scl_data->ratios.horz) > 4) in dpp201_get_optimal_number_of_taps()252 if (IDENTITY_RATIO(scl_data->ratios.horz)) in dpp201_get_optimal_number_of_taps()
60 u32 horz; member
1266 pipe_ctx->plane_res.scl_data.ratios.horz = dc_fixpt_from_fraction( in calculate_scaling_ratios()1274 pipe_ctx->plane_res.scl_data.ratios.horz.value *= 2; in calculate_scaling_ratios()1280 pipe_ctx->plane_res.scl_data.ratios.horz.value = div64_s64( in calculate_scaling_ratios()1281 pipe_ctx->plane_res.scl_data.ratios.horz.value * in_w, out_w); in calculate_scaling_ratios()1283 pipe_ctx->plane_res.scl_data.ratios.horz_c = pipe_ctx->plane_res.scl_data.ratios.horz; in calculate_scaling_ratios()1291 pipe_ctx->plane_res.scl_data.ratios.horz = dc_fixpt_truncate( in calculate_scaling_ratios()1292 pipe_ctx->plane_res.scl_data.ratios.horz, 19); in calculate_scaling_ratios()1416 data->ratios.horz, in calculate_inits_and_viewports()
1092 out->ScalerEnabled[location] = scaler_data->ratios.horz.value != dc_fixpt_one.value || in populate_dml_plane_cfg_from_plane_state()1111 out->HRatio[location] = (dml_float_t)scaler_data->ratios.horz.value / (1ULL << 32); in populate_dml_plane_cfg_from_plane_state()