Home
last modified time | relevance | path

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

/external/mesa3d/src/gallium/drivers/nouveau/
Dnouveau_video.c232 static int div_down(int val, int mult) { in div_down() function
255 mv_vertical = div_down(mv_vertical, 2); in nouveau_vpe_mb_mv()
271 mc_vector |= pos(x, div_down(mv_horizontal, 2), width); in nouveau_vpe_mb_mv()
275 mc_vector |= pos(y, div_down(mv_vertical, 2), height) << NV17_MPEG_CMD_MV_COORDS_Y__SHIFT; in nouveau_vpe_mb_mv()