Home
last modified time | relevance | path

Searched refs:int_part (Results 1 – 5 of 5) sorted by relevance

/drivers/gpu/drm/sun4i/
Dsun8i_ui_scaler.c108 unsigned int scale, int_part, float_part; in sun8i_ui_scaler_coef_index() local
111 int_part = scale >> 3; in sun8i_ui_scaler_coef_index()
114 switch (int_part) { in sun8i_ui_scaler_coef_index()
Dsun8i_vi_scaler.c848 unsigned int scale, int_part, float_part; in sun8i_vi_scaler_coef_index() local
851 int_part = scale >> 3; in sun8i_vi_scaler_coef_index()
854 switch (int_part) { in sun8i_vi_scaler_coef_index()
/drivers/gpu/drm/amd/display/dc/core/
Ddc_resource.c899 int int_part = dc_fixpt_floor(dc_fixpt_sub(*init, ratio)); in adjust_vp_and_init_for_seamless_clip() local
901 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() local
910 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 …]
/drivers/media/test-drivers/vivid/
Dvivid-kthread-cap.c115 unsigned int_part; in scale_line() local
127 int_part = srcw / dstw; in scale_line()
131 src_x += int_part; in scale_line()
/drivers/media/common/v4l2-tpg/
Dv4l2-tpg-core.c1774 unsigned int_part = tpg->src_width / tpg->scaled_width; in tpg_precalculate_line() local
1786 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() local
2583 src_y += int_part; in tpg_fill_plane_buffer()
2612 next_src_y += int_part; in tpg_fill_plane_buffer()