Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/gpu/drm/amd/display/dc/core/
Ddc_resource.c753 int int_part = dc_fixpt_floor( in calculate_inits_and_adj_vp() local
756 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() local
765 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() local
775 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 …]
/Linux-v4.19/drivers/gpu/drm/sun4i/
Dsun8i_ui_scaler.c93 unsigned int scale, int_part, float_part; in sun8i_ui_scaler_coef_index() local
96 int_part = scale >> 3; in sun8i_ui_scaler_coef_index()
99 switch (int_part) { in sun8i_ui_scaler_coef_index()
Dsun8i_vi_scaler.c838 unsigned int scale, int_part, float_part; in sun8i_vi_scaler_coef_index() local
841 int_part = scale >> 3; in sun8i_vi_scaler_coef_index()
844 switch (int_part) { in sun8i_vi_scaler_coef_index()
/Linux-v4.19/drivers/media/platform/vivid/
Dvivid-kthread-cap.c114 unsigned int_part; in scale_line() local
126 int_part = srcw / dstw; in scale_line()
130 src_x += int_part; in scale_line()
/Linux-v4.19/drivers/media/common/v4l2-tpg/
Dv4l2-tpg-core.c1624 unsigned int_part = tpg->src_width / tpg->scaled_width; in tpg_precalculate_line() local
1636 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() local
2403 src_y += int_part; in tpg_fill_plane_buffer()
2432 next_src_y += int_part; in tpg_fill_plane_buffer()