Searched refs:diff_vector (Results 1 – 2 of 2) sorted by relevance
328 int diff_vector; in PV_DeScaleMVD() local333 diff_vector = vlc_code_mag; in PV_DeScaleMVD()337 diff_vector = ((PV_ABS(vlc_code_mag) - 1) << (f_code - 1)) + residual + 1; in PV_DeScaleMVD()340 diff_vector = -diff_vector; in PV_DeScaleMVD()344 *vector += (MOT)(diff_vector); in PV_DeScaleMVD()
175 Void ScaleMVD(Int f_code, Int diff_vector, Int *residual, Int *vlc_code_mag);2757 Int diff_vector, /* <-- MV Difference commponent in 1/2 units */ in ScaleMVD() argument2775 if (diff_vector < low) in ScaleMVD()2776 diff_vector += 2 * range; in ScaleMVD()2777 else if (diff_vector > high) in ScaleMVD()2778 diff_vector -= 2 * range; in ScaleMVD()2780 if (diff_vector == 0) in ScaleMVD()2787 *vlc_code_mag = diff_vector; in ScaleMVD()2792 aux = PV_ABS(diff_vector) + scale_factor - 1; in ScaleMVD()2795 if (diff_vector < 0) in ScaleMVD()