Home
last modified time | relevance | path

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

/drivers/media/platform/omap3isp/
Dispresizer.c318 rgval |= ((ratio->horz - 1) << ISPRSZ_CNT_HRSZ_SHIFT) in resizer_set_ratio()
325 if (ratio->horz > MID_RESIZE_VALUE) in resizer_set_ratio()
879 ratio->horz = ((input->width - 7) * 256 + 255 - 16 - 32 * sph) in resizer_calc_ratios()
881 if (ratio->horz > MID_RESIZE_VALUE) in resizer_calc_ratios()
882 ratio->horz = ((input->width - 7) * 256 + 255 - 32 - 64 * sph) in resizer_calc_ratios()
884 ratio->horz = clamp_t(unsigned int, ratio->horz, in resizer_calc_ratios()
887 if (ratio->horz <= MID_RESIZE_VALUE) { in resizer_calc_ratios()
888 upscaled_width = (output->width - 1) * ratio->horz in resizer_calc_ratios()
892 upscaled_width = (output->width - 1) * ratio->horz in resizer_calc_ratios()
918 if (res->ratio.horz >= RESIZE_DIVISOR) in resizer_set_crop_params()
Dispresizer.h63 u32 horz; member
/drivers/media/platform/davinci/
Disif.c338 val = val | 1 | (bc->horz.mode << ISIF_HORZ_BC_MODE_SHIFT); in isif_config_bclamp()
342 if (bc->horz.mode != ISIF_HORZ_BC_DISABLE) { in isif_config_bclamp()
352 val = bc->horz.win_count_calc | in isif_config_bclamp()
353 ((!!bc->horz.base_win_sel_calc) << in isif_config_bclamp()
355 ((!!bc->horz.clamp_pix_limit) << in isif_config_bclamp()
357 (bc->horz.win_h_sz_calc << in isif_config_bclamp()
359 (bc->horz.win_v_sz_calc << in isif_config_bclamp()
363 regw(bc->horz.win_start_h_calc, CLHWIN1); in isif_config_bclamp()
364 regw(bc->horz.win_start_v_calc, CLHWIN2); in isif_config_bclamp()
/drivers/staging/media/davinci_vpfe/
Ddm365_isif.c548 if (bclamp->horz.clamp_pix_limit > 1) { in isif_validate_bclamp_params()
552 if (bclamp->horz.win_count_calc < 1 || in isif_validate_bclamp_params()
553 bclamp->horz.win_count_calc > 32) { in isif_validate_bclamp_params()
557 if (bclamp->horz.win_start_h_calc > DM365_ISIF_MAX_CLHSH) { in isif_validate_bclamp_params()
562 if (bclamp->horz.win_start_v_calc > DM365_ISIF_MAX_CLHSV) { in isif_validate_bclamp_params()
682 val = val | 1 | ((bc->horz.mode & ISIF_HORZ_BC_MODE_MASK) << in isif_config_bclamp()
687 if (bc->horz.mode != VPFE_ISIF_HORZ_BC_DISABLE) { in isif_config_bclamp()
697 val = (bc->horz.win_count_calc & ISIF_HORZ_BC_WIN_COUNT_MASK) | in isif_config_bclamp()
698 ((bc->horz.base_win_sel_calc & 1) << in isif_config_bclamp()
700 ((bc->horz.clamp_pix_limit & 1) << in isif_config_bclamp()
[all …]
Ddavinci_vpfe_user.h306 struct vpfe_isif_horz_bclamp horz; member
/drivers/gpu/drm/msm/mdp/mdp5/
Dmdp5_plane.c550 uint32_t src, uint32_t dst, bool horz) in get_scale_config() argument
561 sub = horz ? drm_format_horz_chroma_subsampling(pix_fmt) : in get_scale_config()
568 if (horz) in get_scale_config()
583 bool horz) in calc_pixel_ext() argument