Home
last modified time | relevance | path

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

/drivers/media/test-drivers/vivid/
Dvivid-kthread-cap.c116 unsigned fract_part; in scale_line() local
128 fract_part = srcw % dstw; in scale_line()
132 error += fract_part; in scale_line()
/drivers/media/common/v4l2-tpg/
Dv4l2-tpg-core.c1775 unsigned fract_part = tpg->src_width % tpg->scaled_width; in tpg_precalculate_line() local
1787 error += fract_part; in tpg_precalculate_line()
1798 error += fract_part; in tpg_precalculate_line()
2558 unsigned fract_part = (tpg->crop.height / factor) % tpg->compose.height; in tpg_fill_plane_buffer() local
2584 error += fract_part; in tpg_fill_plane_buffer()
2613 if (error + fract_part >= tpg->compose.height) in tpg_fill_plane_buffer()