Home
last modified time | relevance | path

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

/third_party/ffmpeg/libavcodec/
Dmpeg4video.c87 int p_mx, p_my; in ff_mpeg4_set_one_direct_mv() local
89 p_mx = s->next_picture.motion_val[0][xy][0]; in ff_mpeg4_set_one_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()
92 s->mv[1][i][0] = mx ? s->mv[0][i][0] - p_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()
95 s->mv[0][i][0] = p_mx * time_pb / time_pp + mx; in ff_mpeg4_set_one_direct_mv()
96 s->mv[1][i][0] = mx ? s->mv[0][i][0] - p_mx in ff_mpeg4_set_one_direct_mv()
97 : p_mx * (time_pb - time_pp) / time_pp; in ff_mpeg4_set_one_direct_mv()
Dituh263dec.c636 int p_mx, p_my; in set_one_direct_mv() local
638 p_mx = p->motion_val[0][xy][0]; in set_one_direct_mv()
639 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()
643 s->mv[0][i][0] = p_mx * time_pb / time_pp; in set_one_direct_mv()
644 s->mv[1][i][0] = p_mx * (time_pb - time_pp) / time_pp; in set_one_direct_mv()