Home
last modified time | relevance | path

Searched refs:vert (Results 1 – 23 of 23) sorted by relevance

/Linux-v5.15/include/drm/
Ddrm_rect.h153 static inline void drm_rect_downscale(struct drm_rect *r, int horz, int vert) in drm_rect_downscale() argument
156 r->y1 /= vert; in drm_rect_downscale()
158 r->y2 /= vert; in drm_rect_downscale()
/Linux-v5.15/drivers/media/platform/omap3isp/
Dispresizer.c320 rgval |= ((ratio->vert - 1) << ISPRSZ_CNT_VRSZ_SHIFT) in resizer_set_ratio()
331 if (ratio->vert > MID_RESIZE_VALUE) in resizer_set_ratio()
808 ratio->vert = ((input->height - 4) * 256 + 255 - 16 - 32 * spv) in resizer_calc_ratios()
810 if (ratio->vert > MID_RESIZE_VALUE) in resizer_calc_ratios()
811 ratio->vert = ((input->height - 7) * 256 + 255 - 32 - 64 * spv) in resizer_calc_ratios()
813 ratio->vert = clamp_t(unsigned int, ratio->vert, in resizer_calc_ratios()
816 if (ratio->vert <= MID_RESIZE_VALUE) { in resizer_calc_ratios()
817 upscaled_height = (output->height - 1) * ratio->vert in resizer_calc_ratios()
821 upscaled_height = (output->height - 1) * ratio->vert in resizer_calc_ratios()
833 if (ratio->vert <= MID_RESIZE_VALUE) { in resizer_calc_ratios()
[all …]
Dispresizer.h61 u32 vert; member
/Linux-v5.15/drivers/gpu/drm/amd/display/dc/dcn10/
Ddcn10_dpp_dscl.c181 && data->ratios.vert.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()
325 uint32_t v_2tap_sharp_factor = scl_data->sharpness.vert; in dpp1_dscl_set_scl_filter()
356 scl_data->taps.v_taps, scl_data->ratios.vert); in dpp1_dscl_set_scl_filter()
502 int ceil_vratio = dc_fixpt_ceil(scl_data->ratios.vert); in dpp1_dscl_find_lb_memory_config()
609 SCL_V_SCALE_RATIO, dc_fixpt_u3d19(data->ratios.vert) << 5); in dpp1_dscl_set_manual_ratio_init()
639 struct fixed31_32 bot = dc_fixpt_add(data->inits.v, data->ratios.vert); in dpp1_dscl_set_manual_ratio_init()
Ddcn10_dpp.c141 scl_data->ratios.vert.value != dc_fixpt_one.value) in dpp1_get_optimal_number_of_taps()
154 if (scl_data->ratios.vert.value == (4ll << 32)) in dpp1_get_optimal_number_of_taps()
155 scl_data->ratios.vert.value--; in dpp1_get_optimal_number_of_taps()
185 if (IDENTITY_RATIO(scl_data->ratios.vert)) in dpp1_get_optimal_number_of_taps()
Ddcn10_hw_sequencer.c3211 scl_data->ratios.vert.value != one.value)) in dcn10_can_pipe_disable_cursor()
3227 .v_scale_ratio = pipe_ctx->plane_res.scl_data.ratios.vert, in dcn10_set_cursor_position()
/Linux-v5.15/Documentation/input/devices/
Damijoy.rst96 JOY0DAT 00A R Denise Joystick-mouse 0 data (left vert, horiz)
97 JOY1DAT 00C R Denise Joystick-mouse 1 data (right vert,horiz)
185 POT0DAT h 012 R Paula Pot counter data left pair (vert, horiz)
186 POT1DAT h 014 R Paula Pot counter data right pair (vert,horiz)
/Linux-v5.15/drivers/gpu/drm/amd/display/dc/inc/hw/
Dtransform.h143 struct fixed31_32 vert; member
150 int vert; member
/Linux-v5.15/drivers/gpu/drm/amd/display/dc/dce/
Ddce_transform.c288 dc_fixpt_u2d19(data->ratios.vert) << 5; in calculate_inits()
302 data->ratios.vert, in calculate_inits()
320 dc_fixpt_u2d19(data->ratios.vert) << 5; in dce60_calculate_inits()
331 data->ratios.vert, in dce60_calculate_inits()
439 coeffs_v = get_filter_coeffs_16p(data->taps.v_taps, data->ratios.vert); in dce_transform_set_scaler()
524 coeffs_v = get_filter_coeffs_16p(data->taps.v_taps, data->ratios.vert); in dce60_transform_set_scaler()
1196 scl_data->taps.v_taps = decide_taps(scl_data->ratios.vert, in_taps->v_taps, false); in dce_transform_get_optimal_number_of_taps()
1200 if (!IDENTITY_RATIO(scl_data->ratios.vert)) { in dce_transform_get_optimal_number_of_taps()
/Linux-v5.15/drivers/media/platform/davinci/
Disif.c356 (bc->vert.reset_val_sel << ISIF_VERT_BC_RST_VAL_SEL_SHIFT) | in isif_config_bclamp()
357 (bc->vert.line_ave_coef << ISIF_VERT_BC_LINE_AVE_COEF_SHIFT); in isif_config_bclamp()
361 regw(bc->vert.ob_start_h, CLVWIN1); in isif_config_bclamp()
363 regw(bc->vert.ob_start_v, CLVWIN2); in isif_config_bclamp()
365 regw(bc->vert.ob_v_sz_calc, CLVWIN3); in isif_config_bclamp()
/Linux-v5.15/drivers/gpu/drm/amd/display/dc/dcn30/
Ddcn30_dpp.c404 if (dc_fixpt_ceil(scl_data->ratios.vert) > 1) in dpp3_get_optimal_number_of_taps()
405 scl_data->taps.v_taps = min(dc_fixpt_ceil(dc_fixpt_mul_int(scl_data->ratios.vert, 2)), 8); in dpp3_get_optimal_number_of_taps()
429 min_taps_y = dc_fixpt_ceil(scl_data->ratios.vert); in dpp3_get_optimal_number_of_taps()
442 if (dc_fixpt_ceil(scl_data->ratios.vert) > 2) in dpp3_get_optimal_number_of_taps()
443 max_taps_y = num_part_y - (dc_fixpt_ceil(scl_data->ratios.vert) - 2); in dpp3_get_optimal_number_of_taps()
466 if (IDENTITY_RATIO(scl_data->ratios.vert)) in dpp3_get_optimal_number_of_taps()
/Linux-v5.15/drivers/gpu/drm/amd/display/dc/core/
Ddc_resource.c724 data->viewport.height = dc_fixpt_ceil(dc_fixpt_mul_int(data->ratios.vert, data->recout.height)); in calculate_viewport_size()
826 pipe_ctx->plane_res.scl_data.ratios.vert = dc_fixpt_from_fraction( in calculate_scaling_ratios()
833 pipe_ctx->plane_res.scl_data.ratios.vert.value *= 2; in calculate_scaling_ratios()
835 pipe_ctx->plane_res.scl_data.ratios.vert.value = div64_s64( in calculate_scaling_ratios()
836 pipe_ctx->plane_res.scl_data.ratios.vert.value * in_h, out_h); in calculate_scaling_ratios()
841 pipe_ctx->plane_res.scl_data.ratios.vert_c = pipe_ctx->plane_res.scl_data.ratios.vert; in calculate_scaling_ratios()
850 pipe_ctx->plane_res.scl_data.ratios.vert = dc_fixpt_truncate( in calculate_scaling_ratios()
851 pipe_ctx->plane_res.scl_data.ratios.vert, 19); in calculate_scaling_ratios()
994 data->ratios.vert, in calculate_inits_and_viewports()
/Linux-v5.15/include/media/davinci/
Disif.h185 struct isif_vert_bclamp vert; member
/Linux-v5.15/drivers/gpu/drm/amd/display/dc/dce110/
Ddce110_transform_v.c379 dc_fixpt_u2d19(data->ratios.vert) << 5; in calculate_inits()
561 coeffs_v = get_filter_coeffs_64p(data->taps.v_taps, data->ratios.vert); in dce110_xfmv_set_scaler()
Ddce110_hw_sequencer.c2831 .v_scale_ratio = pipe_ctx->plane_res.scl_data.ratios.vert, in dce110_set_cursor_position()
/Linux-v5.15/drivers/gpu/ipu-v3/
Dipu-csi.c589 void ipu_csi_set_downsize(struct ipu_csi *csi, bool horiz, bool vert) in ipu_csi_set_downsize() argument
599 (vert ? CSI_VERT_DOWNSIZE_EN : 0); in ipu_csi_set_downsize()
/Linux-v5.15/Documentation/devicetree/bindings/dma/xilinx/
Dxilinx_dma.txt76 - xlnx,enable-vert-flip: Tells vertical flip is
/Linux-v5.15/include/video/
Dimx-ipu-v3.h367 void ipu_csi_set_downsize(struct ipu_csi *csi, bool horiz, bool vert);
/Linux-v5.15/arch/x86/events/intel/
Dp4.c36 #define P4_GEN_PEBS_BIND(name, pebs, vert) \ argument
39 .metric_vert = vert, \
/Linux-v5.15/drivers/gpu/drm/amd/display/dc/calcs/
Ddcn_calcs.c400 input->scale_ratio_depth.vscl_ratio = pipe->plane_res.scl_data.ratios.vert.value/4294967296.0; in pipe_ctx_to_e2e_pipe_params()
995 ASSERT(pipe->plane_res.scl_data.ratios.vert.value != dc_fixpt_one.value in dcn_validate_bandwidth()
1000 ASSERT(pipe->plane_res.scl_data.ratios.vert.value != dc_fixpt_one.value in dcn_validate_bandwidth()
Ddce_calcs.c2833 …ale_ratio[num_displays + 4] = fixed31_32_to_bw_fixed(pipe[i].plane_res.scl_data.ratios.vert.value); in populate_initial_data()
2891 pipe[i].bottom_pipe->plane_res.scl_data.ratios.vert.value); in populate_initial_data()
2936 …ale_ratio[num_displays + 4] = fixed31_32_to_bw_fixed(pipe[i].plane_res.scl_data.ratios.vert.value); in populate_initial_data()
/Linux-v5.15/drivers/gpu/drm/amd/display/dc/dcn20/
Ddcn20_resource.c2307 pipes[pipe_cnt].pipe.scale_ratio_depth.vscl_ratio = (double) scl->ratios.vert.value / (1ULL<<32); in dcn20_populate_dml_pipes_from_context()
2310 scl->ratios.vert.value != dc_fixpt_one.value in dcn20_populate_dml_pipes_from_context()
/Linux-v5.15/Documentation/userspace-api/media/v4l/
Dext-ctrls-codec.rst1329 .. _v4l2-mpeg-video-vert-search-range: