Searched refs:int_part (Results 1 – 5 of 5) sorted by relevance
753 int int_part = dc_fixpt_floor( in calculate_inits_and_adj_vp() local756 int_part = int_part > 0 ? int_part : 0; in calculate_inits_and_adj_vp()757 data->viewport.width += int_part < vp_clip ? int_part : vp_clip; in calculate_inits_and_adj_vp()762 int int_part = dc_fixpt_floor( in calculate_inits_and_adj_vp() local765 int_part = int_part > 0 ? int_part : 0; in calculate_inits_and_adj_vp()766 data->viewport_c.width += int_part < vp_clip ? int_part : vp_clip; in calculate_inits_and_adj_vp()771 int int_part; in calculate_inits_and_adj_vp() local775 int_part = dc_fixpt_floor(data->inits.h) - data->viewport.x; in calculate_inits_and_adj_vp()776 if (int_part < data->taps.h_taps) { in calculate_inits_and_adj_vp()777 int int_adj = data->viewport.x >= (data->taps.h_taps - int_part) ? in calculate_inits_and_adj_vp()[all …]
93 unsigned int scale, int_part, float_part; in sun8i_ui_scaler_coef_index() local96 int_part = scale >> 3; in sun8i_ui_scaler_coef_index()99 switch (int_part) { in sun8i_ui_scaler_coef_index()
838 unsigned int scale, int_part, float_part; in sun8i_vi_scaler_coef_index() local841 int_part = scale >> 3; in sun8i_vi_scaler_coef_index()844 switch (int_part) { in sun8i_vi_scaler_coef_index()
114 unsigned int_part; in scale_line() local126 int_part = srcw / dstw; in scale_line()130 src_x += int_part; in scale_line()
1624 unsigned int_part = tpg->src_width / tpg->scaled_width; in tpg_precalculate_line() local1636 src_x += int_part; in tpg_precalculate_line()1647 src_x += int_part; in tpg_precalculate_line()2377 unsigned int_part = (tpg->crop.height / factor) / tpg->compose.height; in tpg_fill_plane_buffer() local2403 src_y += int_part; in tpg_fill_plane_buffer()2432 next_src_y += int_part; in tpg_fill_plane_buffer()