Searched refs:fract_part (Results 1 – 2 of 2) sorted by relevance
96 unsigned fract_part; in scale_line() local108 fract_part = srcw % dstw; in scale_line()112 error += fract_part; in scale_line()
1781 unsigned fract_part = tpg->src_width % tpg->scaled_width; in tpg_precalculate_line() local1793 error += fract_part; in tpg_precalculate_line()1804 error += fract_part; in tpg_precalculate_line()2602 unsigned fract_part = (tpg->crop.height / factor) % tpg->compose.height; in tpg_fill_plane_buffer() local2628 error += fract_part; in tpg_fill_plane_buffer()2657 if (error + fract_part >= tpg->compose.height) in tpg_fill_plane_buffer()