Searched refs:int_part (Results 1 – 5 of 5) sorted by relevance
108 unsigned int scale, int_part, float_part; in sun8i_ui_scaler_coef_index() local111 int_part = scale >> 3; in sun8i_ui_scaler_coef_index()114 switch (int_part) { in sun8i_ui_scaler_coef_index()
848 unsigned int scale, int_part, float_part; in sun8i_vi_scaler_coef_index() local851 int_part = scale >> 3; in sun8i_vi_scaler_coef_index()854 switch (int_part) { in sun8i_vi_scaler_coef_index()
899 int int_part = dc_fixpt_floor(dc_fixpt_sub(*init, ratio)); in adjust_vp_and_init_for_seamless_clip() local901 int_part = int_part > 0 ? int_part : 0; in adjust_vp_and_init_for_seamless_clip()902 *vp_size += int_part < vp_clip ? int_part : vp_clip; in adjust_vp_and_init_for_seamless_clip()907 int int_part; in adjust_vp_and_init_for_seamless_clip() local910 int_part = dc_fixpt_floor(*init) - *vp_offset; in adjust_vp_and_init_for_seamless_clip()911 if (int_part < taps) { in adjust_vp_and_init_for_seamless_clip()912 int int_adj = *vp_offset >= (taps - int_part) ? in adjust_vp_and_init_for_seamless_clip()913 (taps - int_part) : *vp_offset; in adjust_vp_and_init_for_seamless_clip()916 int_part += int_adj; in adjust_vp_and_init_for_seamless_clip()917 } else if (int_part > taps) { in adjust_vp_and_init_for_seamless_clip()[all …]
115 unsigned int_part; in scale_line() local127 int_part = srcw / dstw; in scale_line()131 src_x += int_part; in scale_line()
1774 unsigned int_part = tpg->src_width / tpg->scaled_width; in tpg_precalculate_line() local1786 src_x += int_part; in tpg_precalculate_line()1797 src_x += int_part; in tpg_precalculate_line()2557 unsigned int_part = (tpg->crop.height / factor) / tpg->compose.height; in tpg_fill_plane_buffer() local2583 src_y += int_part; in tpg_fill_plane_buffer()2612 next_src_y += int_part; in tpg_fill_plane_buffer()