Home
last modified time | relevance | path

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

/Linux-v4.19/include/drm/
Ddrm_rect.h117 static inline void drm_rect_downscale(struct drm_rect *r, int horz, int vert) in drm_rect_downscale() argument
120 r->y1 /= vert; in drm_rect_downscale()
122 r->y2 /= vert; in drm_rect_downscale()
/Linux-v4.19/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.h64 u32 vert; member
/Linux-v4.19/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()
300 uint32_t v_2tap_sharp_factor = scl_data->sharpness.vert; in dpp1_dscl_set_scl_filter()
331 scl_data->taps.v_taps, scl_data->ratios.vert); in dpp1_dscl_set_scl_filter()
467 int ceil_vratio = dc_fixpt_ceil(scl_data->ratios.vert); in dpp1_dscl_find_lb_memory_config()
571 SCL_V_SCALE_RATIO, dc_fixpt_u3d19(data->ratios.vert) << 5); in dpp1_dscl_set_manual_ratio_init()
Ddcn10_dpp.c151 scl_data->ratios.vert.value != dc_fixpt_one.value) in dpp_get_optimal_number_of_taps()
164 if (scl_data->ratios.vert.value == (4ll << 32)) in dpp_get_optimal_number_of_taps()
165 scl_data->ratios.vert.value--; in dpp_get_optimal_number_of_taps()
195 if (IDENTITY_RATIO(scl_data->ratios.vert)) in dpp_get_optimal_number_of_taps()
Ddcn10_hw_sequencer.c2590 .v_scale_ratio = pipe_ctx->plane_res.scl_data.ratios.vert, in dcn10_set_cursor_position()
/Linux-v4.19/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-v4.19/drivers/gpu/drm/amd/display/dc/inc/hw/
Dtransform.h143 struct fixed31_32 vert; member
150 int vert; member
/Linux-v4.19/drivers/staging/media/davinci_vpfe/
Ddm365_isif.c566 if (bclamp->vert.reset_clamp_val > DM365_ISIF_MAX_CLVRV) { in isif_validate_bclamp_params()
570 if (bclamp->vert.ob_v_sz_calc > DM365_ISIF_MAX_HEIGHT_BLACK_REGION) { in isif_validate_bclamp_params()
574 if (bclamp->vert.ob_start_h > DM365_ISIF_MAX_CLVSH) { in isif_validate_bclamp_params()
578 if (bclamp->vert.ob_start_v > DM365_ISIF_MAX_CLVSV) { in isif_validate_bclamp_params()
720 val = bc->vert.ob_h_sz_calc & ISIF_VERT_BC_OB_H_SZ_MASK; in isif_config_bclamp()
723 val |= (bc->vert.reset_val_sel & ISIF_VERT_BC_RST_VAL_SEL_MASK) << in isif_config_bclamp()
727 val |= bc->vert.line_ave_coef << ISIF_VERT_BC_LINE_AVE_COEF_SHIFT; in isif_config_bclamp()
731 if (bc->vert.reset_val_sel == VPFE_ISIF_VERT_BC_USE_CONFIG_CLAMP_VAL) { in isif_config_bclamp()
732 val = bc->vert.reset_clamp_val & ISIF_VERT_BC_RST_VAL_MASK; in isif_config_bclamp()
737 val = bc->vert.ob_start_h & ISIF_VERT_BC_OB_START_HORZ_MASK; in isif_config_bclamp()
[all …]
Ddavinci_vpfe_user.h308 struct vpfe_isif_vert_bclamp vert; member
/Linux-v4.19/drivers/gpu/drm/amd/display/dc/dce/
Ddce_transform.c261 dc_fixpt_u2d19(data->ratios.vert) << 5; in calculate_inits()
275 data->ratios.vert, in calculate_inits()
352 coeffs_v = get_filter_coeffs_16p(data->taps.v_taps, data->ratios.vert); in dce_transform_set_scaler()
923 scl_data->taps.v_taps = decide_taps(scl_data->ratios.vert, in_taps->v_taps, false); in dce_transform_get_optimal_number_of_taps()
927 if (!IDENTITY_RATIO(scl_data->ratios.vert)) { in dce_transform_get_optimal_number_of_taps()
/Linux-v4.19/drivers/media/platform/davinci/
Disif.c365 (bc->vert.reset_val_sel << ISIF_VERT_BC_RST_VAL_SEL_SHIFT) | in isif_config_bclamp()
366 (bc->vert.line_ave_coef << ISIF_VERT_BC_LINE_AVE_COEF_SHIFT); in isif_config_bclamp()
370 regw(bc->vert.ob_start_h, CLVWIN1); in isif_config_bclamp()
372 regw(bc->vert.ob_start_v, CLVWIN2); in isif_config_bclamp()
374 regw(bc->vert.ob_v_sz_calc, CLVWIN3); in isif_config_bclamp()
/Linux-v4.19/drivers/gpu/drm/amd/display/dc/core/
Ddc_resource.c672 pipe_ctx->plane_res.scl_data.ratios.vert = dc_fixpt_from_fraction( in calculate_scaling_ratios()
679 pipe_ctx->plane_res.scl_data.ratios.vert.value *= 2; in calculate_scaling_ratios()
681 pipe_ctx->plane_res.scl_data.ratios.vert.value = div64_s64( in calculate_scaling_ratios()
682 pipe_ctx->plane_res.scl_data.ratios.vert.value * in_h, out_h); in calculate_scaling_ratios()
687 pipe_ctx->plane_res.scl_data.ratios.vert_c = pipe_ctx->plane_res.scl_data.ratios.vert; in calculate_scaling_ratios()
696 pipe_ctx->plane_res.scl_data.ratios.vert = dc_fixpt_truncate( in calculate_scaling_ratios()
697 pipe_ctx->plane_res.scl_data.ratios.vert, 19); in calculate_scaling_ratios()
744 dc_fixpt_add_int(data->ratios.vert, data->taps.v_taps + 1), 2), 19); in calculate_inits_and_adj_vp()
895 dc_fixpt_sub(data->inits.v, data->ratios.vert)); in calculate_inits_and_adj_vp()
915 data->ratios.vert, data->recout.y - recout_full->y)); in calculate_inits_and_adj_vp()
[all …]
/Linux-v4.19/include/media/davinci/
Disif.h194 struct isif_vert_bclamp vert; member
/Linux-v4.19/drivers/gpu/drm/amd/display/dc/dce110/
Ddce110_transform_v.c378 dc_fixpt_u2d19(data->ratios.vert) << 5; in calculate_inits()
560 coeffs_v = get_filter_coeffs_64p(data->taps.v_taps, data->ratios.vert); in dce110_xfmv_set_scaler()
Ddce110_hw_sequencer.c2819 .v_scale_ratio = pipe_ctx->plane_res.scl_data.ratios.vert, in dce110_set_cursor_position()
/Linux-v4.19/drivers/gpu/ipu-v3/
Dipu-csi.c554 void ipu_csi_set_downsize(struct ipu_csi *csi, bool horiz, bool vert) in ipu_csi_set_downsize() argument
564 (vert ? CSI_VERT_DOWNSIZE_EN : 0); in ipu_csi_set_downsize()
/Linux-v4.19/Documentation/devicetree/bindings/dma/xilinx/
Dxilinx_dma.txt69 - xlnx,enable-vert-flip: Tells vertical flip is
/Linux-v4.19/include/video/
Dimx-ipu-v3.h359 void ipu_csi_set_downsize(struct ipu_csi *csi, bool horiz, bool vert);
/Linux-v4.19/arch/x86/events/intel/
Dp4.c36 #define P4_GEN_PEBS_BIND(name, pebs, vert) \ argument
39 .metric_vert = vert, \
/Linux-v4.19/drivers/gpu/drm/amd/display/dc/calcs/
Ddcn_calcs.c375 input->scale_ratio_depth.vscl_ratio = pipe->plane_res.scl_data.ratios.vert.value/4294967296.0; in pipe_ctx_to_e2e_pipe_params()
903 ASSERT(pipe->plane_res.scl_data.ratios.vert.value != dc_fixpt_one.value in dcn_validate_bandwidth()
908 ASSERT(pipe->plane_res.scl_data.ratios.vert.value != dc_fixpt_one.value in dcn_validate_bandwidth()
Ddce_calcs.c2802 …ale_ratio[num_displays + 4] = fixed31_32_to_bw_fixed(pipe[i].plane_res.scl_data.ratios.vert.value); in populate_initial_data()
2859 pipe[i].bottom_pipe->plane_res.scl_data.ratios.vert.value); in populate_initial_data()
2900 …ale_ratio[num_displays + 4] = fixed31_32_to_bw_fixed(pipe[i].plane_res.scl_data.ratios.vert.value); in populate_initial_data()
/Linux-v4.19/Documentation/media/uapi/v4l/
Dextended-controls.rst1245 .. _v4l2-mpeg-video-vert-search-range: