Home
last modified time | relevance | path

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

/external/libmpeg2/decoder/
Dimpeg2d_mv_dec.c326 pi2_mv3[MV_X] = ai2_dmv[0] + DIV_2_RND(pi2_mv1[MV_X] * ai2_m[1][0]); in impeg2d_dec_frm_dual_prime()
327 pi2_mv4[MV_X] = ai2_dmv[0] + DIV_2_RND(pi2_mv1[MV_X] * ai2_m[0][1]); in impeg2d_dec_frm_dual_prime()
329 pi2_mv3[MV_Y] = ai2_dmv[1] + DIV_2_RND(pi2_mv1[MV_Y] * ai2_m[1][0]) - 1; in impeg2d_dec_frm_dual_prime()
330 pi2_mv4[MV_Y] = ai2_dmv[1] + DIV_2_RND(pi2_mv1[MV_Y] * ai2_m[0][1]) + 1; in impeg2d_dec_frm_dual_prime()
382 pi2_mv2[MV_X] = ai2_dmv[0] + DIV_2_RND(pi2_mv1[MV_X]); in impeg2d_dec_fld_dual_prime()
383 pi2_mv2[MV_Y] = ai2_dmv[1] + DIV_2_RND(pi2_mv1[MV_Y]); in impeg2d_dec_fld_dual_prime()
/external/libmpeg2/common/
Dimpeg2_macros.h43 #define DIV_2_RND(mv) (((mv) + ((mv) > 0)) >> 1) macro