Home
last modified time | relevance | path

Searched refs:fract_part (Results 1 – 2 of 2) sorted by relevance

/linux/drivers/media/test-drivers/vivid/
H A Dvivid-kthread-cap.c96 unsigned fract_part; in scale_line() local
108 fract_part = srcw % dstw; in scale_line()
112 error += fract_part; in scale_line()
/linux/drivers/media/common/v4l2-tpg/
H A Dv4l2-tpg-core.c1816 unsigned fract_part = tpg->src_width % tpg->scaled_width; in tpg_precalculate_line() local
1828 error += fract_part; in tpg_precalculate_line()
1839 error += fract_part; in tpg_precalculate_line()
2637 unsigned fract_part = (tpg->crop.height / factor) % tpg->compose.height; in tpg_fill_plane_buffer() local
2663 error += fract_part; in tpg_fill_plane_buffer()
2692 if (error + fract_part >= tpg->compose.height) in tpg_fill_plane_buffer()