Lines Matching refs:best_site
960 best_site = i; \
1056 int best_site = -1; in vp9_pattern_search() local
1077 if (best_site == -1) { in vp9_pattern_search()
1081 k = best_site; in vp9_pattern_search()
1093 int best_site = -1; in vp9_pattern_search() local
1120 if (best_site == -1) { in vp9_pattern_search()
1123 br += candidates[s][best_site].row; in vp9_pattern_search()
1124 bc += candidates[s][best_site].col; in vp9_pattern_search()
1125 k = best_site; in vp9_pattern_search()
1131 best_site = -1; in vp9_pattern_search()
1161 if (best_site != -1) { in vp9_pattern_search()
1162 k = next_chkpts_indices[best_site]; in vp9_pattern_search()
1166 } while (best_site != -1); in vp9_pattern_search()
1230 int best_site = -1; in vp9_pattern_search_sad() local
1251 if (best_site == -1) { in vp9_pattern_search_sad()
1255 k = best_site; in vp9_pattern_search_sad()
1268 int best_site = -1; in vp9_pattern_search_sad() local
1294 if (best_site == -1) { in vp9_pattern_search_sad()
1297 br += candidates[s][best_site].row; in vp9_pattern_search_sad()
1298 bc += candidates[s][best_site].col; in vp9_pattern_search_sad()
1299 k = best_site; in vp9_pattern_search_sad()
1305 best_site = -1; in vp9_pattern_search_sad()
1335 if (best_site != -1) { in vp9_pattern_search_sad()
1336 k = next_chkpts_indices[best_site]; in vp9_pattern_search_sad()
1340 } while (best_site != -1); in vp9_pattern_search_sad()
1368 if (best_site != -1) { in vp9_pattern_search_sad()
1369 br += candidates[s][best_site].row; in vp9_pattern_search_sad()
1370 bc += candidates[s][best_site].col; in vp9_pattern_search_sad()
1371 k = best_site; in vp9_pattern_search_sad()
1374 while (best_site != -1) { in vp9_pattern_search_sad()
1376 best_site = -1; in vp9_pattern_search_sad()
1412 if (best_site != -1) { in vp9_pattern_search_sad()
1413 k = next_chkpts_indices[best_site]; in vp9_pattern_search_sad()
1777 int best_site = -1; in vp9_diamond_search_sad_new() local
1844 best_site = i; in vp9_diamond_search_sad_new()
1865 best_site = i; in vp9_diamond_search_sad_new()
1871 if (best_site != last_site) { in vp9_diamond_search_sad_new()
1872 best_full_mv->row += ss_mv[best_site].row; in vp9_diamond_search_sad_new()
1873 best_full_mv->col += ss_mv[best_site].col; in vp9_diamond_search_sad_new()
1874 best_address += ss_os[best_site]; in vp9_diamond_search_sad_new()
1875 last_site = best_site; in vp9_diamond_search_sad_new()
1927 int best_site = -1; in vp9_diamond_search_sad_c() local
1994 best_site = i; in vp9_diamond_search_sad_c()
2014 best_site = i; in vp9_diamond_search_sad_c()
2021 if (best_site != last_site) { in vp9_diamond_search_sad_c()
2022 best_mv->row += ss_mv[best_site].row; in vp9_diamond_search_sad_c()
2023 best_mv->col += ss_mv[best_site].col; in vp9_diamond_search_sad_c()
2024 best_address += ss_os[best_site]; in vp9_diamond_search_sad_c()
2025 last_site = best_site; in vp9_diamond_search_sad_c()
2028 const MV this_mv = { best_mv->row + ss_mv[best_site].row, in vp9_diamond_search_sad_c()
2029 best_mv->col + ss_mv[best_site].col }; in vp9_diamond_search_sad_c()
2031 const uint8_t *const check_here = ss_os[best_site] + best_address; in vp9_diamond_search_sad_c()
2038 best_mv->row += ss_mv[best_site].row; in vp9_diamond_search_sad_c()
2039 best_mv->col += ss_mv[best_site].col; in vp9_diamond_search_sad_c()
2040 best_address += ss_os[best_site]; in vp9_diamond_search_sad_c()
2478 int best_site = -1; in vp9_refining_search_sad_new() local
2503 best_site = j; in vp9_refining_search_sad_new()
2522 best_site = j; in vp9_refining_search_sad_new()
2528 if (best_site == -1) { in vp9_refining_search_sad_new()
2531 best_full_mv->row += neighbors[best_site].row; in vp9_refining_search_sad_new()
2532 best_full_mv->col += neighbors[best_site].col; in vp9_refining_search_sad_new()
2557 int best_site = -1; in vp9_refining_search_sad() local
2578 best_site = j; in vp9_refining_search_sad()
2595 best_site = j; in vp9_refining_search_sad()
2602 if (best_site == -1) { in vp9_refining_search_sad()
2605 ref_mv->row += neighbors[best_site].row; in vp9_refining_search_sad()
2606 ref_mv->col += neighbors[best_site].col; in vp9_refining_search_sad()
2636 int best_site = -1; in vp9_refining_search_8p_c() local
2650 best_site = j; in vp9_refining_search_8p_c()
2656 if (best_site == -1) { in vp9_refining_search_8p_c()
2659 ref_mv->row += neighbors[best_site].row; in vp9_refining_search_8p_c()
2660 ref_mv->col += neighbors[best_site].col; in vp9_refining_search_8p_c()