Lines Matching refs:tmp_err
398 int num00, tmp_err, n; in first_pass_motion_search() local
418 tmp_err = cpi->diamond_search_sad(x, &cpi->ss_cfg, &ref_mv_full, &tmp_mv, in first_pass_motion_search()
421 if (tmp_err < INT_MAX) in first_pass_motion_search()
422 tmp_err = vp9_get_mvpred_var(x, &tmp_mv, ref_mv, &v_fn_ptr, 1); in first_pass_motion_search()
423 if (tmp_err < INT_MAX - new_mv_mode_penalty) in first_pass_motion_search()
424 tmp_err += new_mv_mode_penalty; in first_pass_motion_search()
426 if (tmp_err < *best_motion_err) { in first_pass_motion_search()
427 *best_motion_err = tmp_err; in first_pass_motion_search()
441 tmp_err = cpi->diamond_search_sad(x, &cpi->ss_cfg, &ref_mv_full, &tmp_mv, in first_pass_motion_search()
444 if (tmp_err < INT_MAX) in first_pass_motion_search()
445 tmp_err = vp9_get_mvpred_var(x, &tmp_mv, ref_mv, &v_fn_ptr, 1); in first_pass_motion_search()
446 if (tmp_err < INT_MAX - new_mv_mode_penalty) in first_pass_motion_search()
447 tmp_err += new_mv_mode_penalty; in first_pass_motion_search()
449 if (tmp_err < *best_motion_err) { in first_pass_motion_search()
450 *best_motion_err = tmp_err; in first_pass_motion_search()
758 int tmp_err, motion_error, raw_motion_error; in vp9_first_pass() local
806 tmp_err = INT_MAX; in vp9_first_pass()
807 first_pass_motion_search(cpi, x, &zero_mv, &tmp_mv, &tmp_err); in vp9_first_pass()
809 if (tmp_err < motion_error) { in vp9_first_pass()
810 motion_error = tmp_err; in vp9_first_pass()