Searched refs:time_pp (Results 1 – 4 of 4) sorted by relevance
85 uint16_t time_pp = s->pp_time; in ff_mpeg4_set_one_direct_mv() local95 s->mv[0][i][0] = p_mx * time_pb / time_pp + mx; in ff_mpeg4_set_one_direct_mv()97 : p_mx * (time_pb - time_pp) / time_pp; in ff_mpeg4_set_one_direct_mv()105 s->mv[0][i][1] = p_my * time_pb / time_pp + my; in ff_mpeg4_set_one_direct_mv()107 : p_my * (time_pb - time_pp) / time_pp; in ff_mpeg4_set_one_direct_mv()121 uint16_t time_pp; in ff_mpeg4_set_direct_mv() local140 time_pp = s->pp_field_time - field_select + i; in ff_mpeg4_set_direct_mv()143 time_pp = s->pp_field_time + field_select - i; in ff_mpeg4_set_direct_mv()147 time_pb / time_pp + mx; in ff_mpeg4_set_direct_mv()149 time_pb / time_pp + my; in ff_mpeg4_set_direct_mv()[all …]
634 uint16_t time_pp = s->pp_time; in set_one_direct_mv() local643 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()651 s->mv[0][i][1] = p_my * time_pb / time_pp; in set_one_direct_mv()652 s->mv[1][i][1] = p_my * (time_pb - time_pp) / time_pp; in set_one_direct_mv()
120 const int time_pp= s->pp_time; in cmp_direct_inline() local128 …x ? fx - c->co_located_mv[i][0] : c->co_located_mv[i][0]*(time_pb - time_pp)/time_pp + ((i &1)<<(q… in cmp_direct_inline()129 …y ? fy - c->co_located_mv[i][1] : c->co_located_mv[i][1]*(time_pb - time_pp)/time_pp + ((i>>1)<<(q… in cmp_direct_inline()145 … int bx = hx ? fx - c->co_located_mv[0][0] : (c->co_located_mv[0][0]*(time_pb - time_pp)/time_pp); in cmp_direct_inline()146 … int by = hy ? fy - c->co_located_mv[0][1] : (c->co_located_mv[0][1]*(time_pb - time_pp)/time_pp); in cmp_direct_inline()1396 const int time_pp= s->pp_time; in direct_search() local1417 c->direct_basis_mv[i][0]= c->co_located_mv[i][0]*time_pb/time_pp + ((i& 1)<<(shift+3)); in direct_search()1418 c->direct_basis_mv[i][1]= c->co_located_mv[i][1]*time_pb/time_pp + ((i>>1)<<(shift+3)); in direct_search()
1211 int time_pp = s->pp_time; in ff_er_frame_end() local1217 … s->mv[0][0][0] = s->next_pic.motion_val[0][xy][0] * time_pb / time_pp; in ff_er_frame_end()1218 … s->mv[0][0][1] = s->next_pic.motion_val[0][xy][1] * time_pb / time_pp; in ff_er_frame_end()1219 … s->mv[1][0][0] = s->next_pic.motion_val[0][xy][0] * (time_pb - time_pp) / time_pp; in ff_er_frame_end()1220 … s->mv[1][0][1] = s->next_pic.motion_val[0][xy][1] * (time_pb - time_pp) / time_pp; in ff_er_frame_end()