Home
last modified time | relevance | path

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

/external/mesa3d/src/gallium/drivers/nouveau/
Dnouveau_video.c248 unsigned mc_vector; in nouveau_vpe_mb_mv() local
269 mc_vector = NV17_MPEG_CMD_MV_COORDS_OP_MV_COORDS; in nouveau_vpe_mb_mv()
271 mc_vector |= pos(x, div_down(mv_horizontal, 2), width); in nouveau_vpe_mb_mv()
273 mc_vector |= pos(x, mv_horizontal & ~1, 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()
277 mc_vector |= pos(y, mv_vertical & ~1, height) << NV17_MPEG_CMD_MV_COORDS_Y__SHIFT; in nouveau_vpe_mb_mv()
278 nouveau_vpe_write(dec, mc_vector); in nouveau_vpe_mb_mv()