Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/media/test-drivers/vivid/
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-6.6.21/drivers/media/common/v4l2-tpg/
Dv4l2-tpg-core.c1781 unsigned fract_part = tpg->src_width % tpg->scaled_width; in tpg_precalculate_line() local
1793 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() local
2628 error += fract_part; in tpg_fill_plane_buffer()
2657 if (error + fract_part >= tpg->compose.height) in tpg_fill_plane_buffer()