Searched refs:int_part (Results 1 – 7 of 7) 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()
117 asrc->lane[id].int_part); in tegra186_asrc_runtime_resume()231 asrc->lane[id].int_part); in tegra186_asrc_out_hw_params()286 &asrc->lane[id].int_part); in tegra186_asrc_get_ratio_int()288 ucontrol->value.integer.value[0] = asrc->lane[id].int_part; in tegra186_asrc_get_ratio_int()310 asrc->lane[id].int_part = ucontrol->value.integer.value[0]; in tegra186_asrc_put_ratio_int()316 asrc->lane[id].int_part, &change); in tegra186_asrc_put_ratio_int()997 asrc->lane[i].int_part = 1; in tegra186_asrc_platform_probe()
99 unsigned int int_part; member
947 int int_part; in calculate_init_and_vp() local969 int_part = dc_fixpt_floor(*init); in calculate_init_and_vp()970 if (int_part < taps) { in calculate_init_and_vp()971 int_part = taps - int_part; in calculate_init_and_vp()972 if (int_part > *vp_offset) in calculate_init_and_vp()973 int_part = *vp_offset; in calculate_init_and_vp()974 *vp_offset -= int_part; in calculate_init_and_vp()975 *init = dc_fixpt_add_int(*init, int_part); in calculate_init_and_vp()
116 unsigned int_part; in scale_line() local128 int_part = srcw / dstw; in scale_line()132 src_x += int_part; in scale_line()
1780 unsigned int_part = tpg->src_width / tpg->scaled_width; in tpg_precalculate_line() local1792 src_x += int_part; in tpg_precalculate_line()1803 src_x += int_part; in tpg_precalculate_line()2601 unsigned int_part = (tpg->crop.height / factor) / tpg->compose.height; in tpg_fill_plane_buffer() local2627 src_y += int_part; in tpg_fill_plane_buffer()2656 next_src_y += int_part; in tpg_fill_plane_buffer()