Home
last modified time | relevance | path

Searched refs:horz (Results 1 – 16 of 16) sorted by relevance

/drivers/media/platform/davinci/
Disif.c323 val = val | 1 | (bc->horz.mode << ISIF_HORZ_BC_MODE_SHIFT); in isif_config_bclamp()
327 if (bc->horz.mode != ISIF_HORZ_BC_DISABLE) { in isif_config_bclamp()
337 val = bc->horz.win_count_calc | in isif_config_bclamp()
338 ((!!bc->horz.base_win_sel_calc) << in isif_config_bclamp()
340 ((!!bc->horz.clamp_pix_limit) << in isif_config_bclamp()
342 (bc->horz.win_h_sz_calc << in isif_config_bclamp()
344 (bc->horz.win_v_sz_calc << in isif_config_bclamp()
348 regw(bc->horz.win_start_h_calc, CLHWIN1); in isif_config_bclamp()
349 regw(bc->horz.win_start_v_calc, CLHWIN2); in isif_config_bclamp()
/drivers/media/platform/omap3isp/
Dispresizer.c315 rgval |= ((ratio->horz - 1) << ISPRSZ_CNT_HRSZ_SHIFT) in resizer_set_ratio()
322 if (ratio->horz > MID_RESIZE_VALUE) in resizer_set_ratio()
876 ratio->horz = ((input->width - 7) * 256 + 255 - 16 - 32 * sph) in resizer_calc_ratios()
878 if (ratio->horz > MID_RESIZE_VALUE) in resizer_calc_ratios()
879 ratio->horz = ((input->width - 7) * 256 + 255 - 32 - 64 * sph) in resizer_calc_ratios()
881 ratio->horz = clamp_t(unsigned int, ratio->horz, in resizer_calc_ratios()
884 if (ratio->horz <= MID_RESIZE_VALUE) { in resizer_calc_ratios()
885 upscaled_width = (output->width - 1) * ratio->horz in resizer_calc_ratios()
889 upscaled_width = (output->width - 1) * ratio->horz in resizer_calc_ratios()
915 if (res->ratio.horz >= RESIZE_DIVISOR) in resizer_set_crop_params()
Dispresizer.h60 u32 horz; member
/drivers/gpu/drm/amd/display/dc/dcn10/
Ddcn10_dpp_dscl.c180 if (data->ratios.horz.value == one in dpp1_dscl_get_dscl_mode()
193 if (data->ratios.horz.value == one && data->ratios.vert.value == one) in dpp1_dscl_get_dscl_mode()
305 uint32_t h_2tap_sharp_factor = scl_data->sharpness.horz; in dpp1_dscl_set_scl_filter()
335 scl_data->taps.h_taps, scl_data->ratios.horz); in dpp1_dscl_set_scl_filter()
587 SCL_H_SCALE_RATIO, dc_fixpt_u3d19(data->ratios.horz) << 5); in dpp1_dscl_set_manual_ratio_init()
Ddcn10_dpp.c140 scl_data->ratios.horz.value != dc_fixpt_one.value && in dpp1_get_optimal_number_of_taps()
152 if (scl_data->ratios.horz.value == (4ll << 32)) in dpp1_get_optimal_number_of_taps()
153 scl_data->ratios.horz.value--; in dpp1_get_optimal_number_of_taps()
183 if (IDENTITY_RATIO(scl_data->ratios.horz)) in dpp1_get_optimal_number_of_taps()
Ddcn10_hw_sequencer.c3390 .h_scale_ratio = pipe_ctx->plane_res.scl_data.ratios.horz, in dcn10_set_cursor_position()
/drivers/gpu/drm/amd/display/dc/inc/hw/
Dtransform.h142 struct fixed31_32 horz; member
149 int horz; member
/drivers/gpu/drm/amd/display/dc/dce/
Ddce_transform.c286 dc_fixpt_u2d19(data->ratios.horz) << 5; in calculate_inits()
293 data->ratios.horz, in calculate_inits()
318 dc_fixpt_u2d19(data->ratios.horz) << 5; in dce60_calculate_inits()
440 coeffs_h = get_filter_coeffs_16p(data->taps.h_taps, data->ratios.horz); in dce_transform_set_scaler()
526 coeffs_h = get_filter_coeffs_16p(data->taps.h_taps, data->ratios.horz); in dce60_transform_set_scaler()
1207 scl_data->taps.h_taps = decide_taps(scl_data->ratios.horz, in_taps->h_taps, false); in dce_transform_get_optimal_number_of_taps()
/drivers/gpu/drm/amd/display/dc/core/
Ddc_resource.c850 pipe_ctx->plane_res.scl_data.ratios.horz = dc_fixpt_from_fraction( in calculate_scaling_ratios()
858 pipe_ctx->plane_res.scl_data.ratios.horz.value *= 2; in calculate_scaling_ratios()
864 pipe_ctx->plane_res.scl_data.ratios.horz.value = div64_s64( in calculate_scaling_ratios()
865 pipe_ctx->plane_res.scl_data.ratios.horz.value * in_w, out_w); in calculate_scaling_ratios()
867 pipe_ctx->plane_res.scl_data.ratios.horz_c = pipe_ctx->plane_res.scl_data.ratios.horz; in calculate_scaling_ratios()
875 pipe_ctx->plane_res.scl_data.ratios.horz = dc_fixpt_truncate( in calculate_scaling_ratios()
876 pipe_ctx->plane_res.scl_data.ratios.horz, 19); in calculate_scaling_ratios()
1032 dc_fixpt_add_int(data->ratios.horz, data->taps.h_taps + 1), 2), 19); in calculate_inits_and_adj_vp()
1052 orthogonal_rotation ? data->ratios.vert : data->ratios.horz, in calculate_inits_and_adj_vp()
1070 orthogonal_rotation ? data->ratios.horz : data->ratios.vert, in calculate_inits_and_adj_vp()
/drivers/gpu/drm/msm/disp/mdp5/
Dmdp5_plane.c706 uint32_t src, uint32_t dst, bool horz) in get_scale_config() argument
718 sub = horz ? info->hsub : info->vsub; in get_scale_config()
724 if (horz) in get_scale_config()
739 bool horz) in calc_pixel_ext() argument
/drivers/gpu/drm/amd/display/dc/dce110/
Ddce110_transform_v.c378 dc_fixpt_u2d19(data->ratios.horz) << 5; in calculate_inits()
563 coeffs_h = get_filter_coeffs_64p(data->taps.h_taps, data->ratios.horz); in dce110_xfmv_set_scaler()
Ddce110_hw_sequencer.c2754 .h_scale_ratio = pipe_ctx->plane_res.scl_data.ratios.horz, in dce110_set_cursor_position()
/drivers/gpu/drm/amd/display/dc/dcn30/
Ddcn30_dpp.c406 if (dc_fixpt_ceil(scl_data->ratios.horz) > 1) in dpp3_get_optimal_number_of_taps()
407 scl_data->taps.h_taps = min(2 * dc_fixpt_ceil(scl_data->ratios.horz), 8); in dpp3_get_optimal_number_of_taps()
473 if (IDENTITY_RATIO(scl_data->ratios.horz)) in dpp3_get_optimal_number_of_taps()
/drivers/gpu/drm/amd/display/dc/calcs/
Ddcn_calcs.c399 input->scale_ratio_depth.hscl_ratio = pipe->plane_res.scl_data.ratios.horz.value/4294967296.0; in pipe_ctx_to_e2e_pipe_params()
995 ASSERT(pipe->plane_res.scl_data.ratios.horz.value != dc_fixpt_one.value in dcn_validate_bandwidth()
1000 ASSERT(pipe->plane_res.scl_data.ratios.horz.value != dc_fixpt_one.value in dcn_validate_bandwidth()
Ddce_calcs.c2804 …ale_ratio[num_displays + 4] = fixed31_32_to_bw_fixed(pipe[i].plane_res.scl_data.ratios.horz.value); in populate_initial_data()
2860 pipe[i].bottom_pipe->plane_res.scl_data.ratios.horz.value); in populate_initial_data()
2906 …ale_ratio[num_displays + 4] = fixed31_32_to_bw_fixed(pipe[i].plane_res.scl_data.ratios.horz.value); in populate_initial_data()
/drivers/gpu/drm/amd/display/dc/dcn20/
Ddcn20_resource.c1903 sd->ratios.horz, sd->recout.width - new_width)); in dcn20_split_stream_for_odm()
1917 sd->ratios.horz, sd->recout.width - new_width)); in dcn20_split_stream_for_odm()
1922 sd->ratios.horz, sd->h_active - sd->recout.x)); in dcn20_split_stream_for_odm()
2334 pipes[pipe_cnt].pipe.scale_ratio_depth.hscl_ratio = (double) scl->ratios.horz.value / (1ULL<<32);
2340 || scl->ratios.horz.value != dc_fixpt_one.value