Searched refs:mvdx2 (Results 1 – 1 of 1) sorted by relevance
/external/libhevc/encoder/ |
D | hme_err_compute.c | 964 S16 mvdx1, mvdx2, mvdy1, mvdy2; in compute_mv_cost_explicit() local 1019 COMPUTE_DIFF_MV(mvdx2, mvdy2, ps_node, mv_p_x, mv_p_y, inp_shift, pred_shift); in compute_mv_cost_explicit() 1020 mvdx2 = ABS(mvdx2); in compute_mv_cost_explicit() 1023 if((mvdx1 + mvdy1) < (mvdx2 + mvdy2)) in compute_mv_cost_explicit() 1031 hme_get_range(mvdx2) + hme_get_range(mvdy2) + (mvdx2 > 0) + (mvdy2 > 0) + ref_bits + 2; in compute_mv_cost_explicit() 1185 S16 mvdx1, mvdx2, mvdy1, mvdy2; in compute_mv_cost_implicit() local 1284 COMPUTE_DIFF_MV(mvdx2, mvdy2, ps_node, mv_p_x, mv_p_y, inp_shift, pred_shift); in compute_mv_cost_implicit() 1285 mvdx2 = ABS(mvdx2); in compute_mv_cost_implicit() 1288 if((mvdx1 + mvdy1) < (mvdx2 + mvdy2)) in compute_mv_cost_implicit() 1295 cost = 2 * hme_get_range(mvdx2) + 2 * hme_get_range(mvdy2) + 2 * (mvdx2 > 0) + in compute_mv_cost_implicit() [all …]
|