Searched refs:tab_bias (Results 1 – 2 of 2) sorted by relevance
68 #define tab_bias (tab_size / 2) macro75 s->direct_scale_mv[0][i] = (i - tab_bias) * s->pb_time / s->pp_time; in ff_mpeg4_init_direct_mv()76 s->direct_scale_mv[1][i] = (i - tab_bias) * (s->pb_time - s->pp_time) / in ff_mpeg4_init_direct_mv()90 if ((unsigned)(p_mx + tab_bias) < tab_size) { in ff_mpeg4_set_one_direct_mv()91 s->mv[0][i][0] = s->direct_scale_mv[0][p_mx + tab_bias] + mx; in ff_mpeg4_set_one_direct_mv()93 : s->direct_scale_mv[1][p_mx + tab_bias]; in ff_mpeg4_set_one_direct_mv()100 if ((unsigned)(p_my + tab_bias) < tab_size) { in ff_mpeg4_set_one_direct_mv()101 s->mv[0][i][1] = s->direct_scale_mv[0][p_my + tab_bias] + my; in ff_mpeg4_set_one_direct_mv()103 : s->direct_scale_mv[1][p_my + tab_bias]; in ff_mpeg4_set_one_direct_mv()112 #undef tab_bias
630 #define tab_bias (tab_size / 2) macro639 if ((unsigned)(p_mx + tab_bias) < tab_size) { in set_one_direct_mv()640 s->mv[0][i][0] = s->direct_scale_mv[0][p_mx + tab_bias]; in set_one_direct_mv()641 s->mv[1][i][0] = s->direct_scale_mv[1][p_mx + tab_bias]; in set_one_direct_mv()647 if ((unsigned)(p_my + tab_bias) < tab_size) { in set_one_direct_mv()648 s->mv[0][i][1] = s->direct_scale_mv[0][p_my + tab_bias]; in set_one_direct_mv()649 s->mv[1][i][1] = s->direct_scale_mv[1][p_my + tab_bias]; in set_one_direct_mv()