Home | History | Annotate | Download | only in encoder

Lines Matching refs:ref_mv

277                                       MV *bestmv, const MV *ref_mv,
302 int rr = ref_mv->row;
303 int rc = ref_mv->col;
307 const int minc = MAX(x->mv_col_min * 8, ref_mv->col - MV_MAX);
308 const int maxc = MIN(x->mv_col_max * 8, ref_mv->col + MV_MAX);
309 const int minr = MAX(x->mv_row_min * 8, ref_mv->row - MV_MAX);
310 const int maxr = MIN(x->mv_row_max * 8, ref_mv->row + MV_MAX);
322 besterr += mv_err_cost(bestmv, ref_mv, mvjcost, mvcost, error_per_bit);
352 if (allow_hp && vp9_use_mv_hp(ref_mv) && forced_stop == 0) {
367 if ((abs(bestmv->col - ref_mv->col) > (MAX_FULL_PEL_VAL << 3)) ||
368 (abs(bestmv->row - ref_mv->row) > (MAX_FULL_PEL_VAL << 3)))
375 MV *bestmv, const MV *ref_mv,
399 int rr = ref_mv->row;
400 int rc = ref_mv->col;
404 const int minc = MAX(x->mv_col_min * 8, ref_mv->col - MV_MAX);
405 const int maxc = MIN(x->mv_col_max * 8, ref_mv->col + MV_MAX);
406 const int minr = MAX(x->mv_row_min * 8, ref_mv->row - MV_MAX);
407 const int maxr = MIN(x->mv_row_max * 8, ref_mv->row + MV_MAX);
419 besterr += mv_err_cost(bestmv, ref_mv, mvjcost, mvcost, error_per_bit);
440 if (allow_hp && vp9_use_mv_hp(ref_mv) && forced_stop == 0) {
453 if ((abs(bestmv->col - ref_mv->col) > (MAX_FULL_PEL_VAL << 3)) ||
454 (abs(bestmv->row - ref_mv->row) > (MAX_FULL_PEL_VAL << 3)))
467 MV *bestmv, const MV *ref_mv,
495 int rr = ref_mv->row;
496 int rc = ref_mv->col;
500 const int minc = MAX(x->mv_col_min * 8, ref_mv->col - MV_MAX);
501 const int maxc = MIN(x->mv_col_max * 8, ref_mv->col + MV_MAX);
502 const int minr = MAX(x->mv_row_min * 8, ref_mv->row - MV_MAX);
503 const int maxr = MIN(x->mv_row_max * 8, ref_mv->row + MV_MAX);
518 besterr += mv_err_cost(bestmv, ref_mv, mvjcost, mvcost, error_per_bit);
548 if (allow_hp && vp9_use_mv_hp(ref_mv) && forced_stop == 0) {
562 if ((abs(bestmv->col - ref_mv->col) > (MAX_FULL_PEL_VAL << 3)) ||
563 (abs(bestmv->row - ref_mv->row) > (MAX_FULL_PEL_VAL << 3)))
570 MV *bestmv, const MV *ref_mv,
597 int rr = ref_mv->row;
598 int rc = ref_mv->col;
602 const int minc = MAX(x->mv_col_min * 8, ref_mv->col - MV_MAX);
603 const int maxc = MIN(x->mv_col_max * 8, ref_mv->col + MV_MAX);
604 const int minr = MAX(x->mv_row_min * 8, ref_mv->row - MV_MAX);
605 const int maxr = MIN(x->mv_row_max * 8, ref_mv->row + MV_MAX);
620 besterr += mv_err_cost(bestmv, ref_mv, mvjcost, mvcost, error_per_bit);
646 if (allow_hp && vp9_use_mv_hp(ref_mv) && forced_stop == 0) {
658 if ((abs(bestmv->col - ref_mv->col) > (MAX_FULL_PEL_VAL << 3)) ||
659 (abs(bestmv->row - ref_mv->row) > (MAX_FULL_PEL_VAL << 3)))
719 MV *ref_mv,
755 // adjust ref_mv to make sure it is within MV range
756 clamp_mv(ref_mv, x->mv_col_min, x->mv_col_max, x->mv_row_min, x->mv_row_max);
757 br = ref_mv->row;
758 bc = ref_mv->col;
952 MV *ref_mv,
980 vp9_pattern_search(x, ref_mv, search_param, sad_per_bit,
987 MV *ref_mv,
1021 return vp9_pattern_search(x, ref_mv, search_param, sad_per_bit,
1028 MV *ref_mv,
1062 return vp9_pattern_search(x, ref_mv, search_param, sad_per_bit,
1073 int_mv *ref_mv, int_mv *best_mv,
1107 clamp_mv(&ref_mv->as_mv,
1109 ref_row = ref_mv->as_mv.row;
1110 ref_col = ref_mv->as_mv.col;
1215 int_mv *ref_mv, int_mv *best_mv, int search_param,
1251 clamp_mv(&ref_mv->as_mv,
1253 ref_row = ref_mv->as_mv.row;
1254 ref_col = ref_mv->as_mv.col;
1405 int_mv *ref_mv, int_mv *dst_mv) {
1411 x->mvcost, ref_mv);
1431 ref_mv);
1451 ref_mv);
1461 int vp9_full_search_sad_c(MACROBLOCK *x, int_mv *ref_mv,
1481 int ref_row = ref_mv->as_mv.row;
1482 int ref_col = ref_mv->as_mv.col;
1551 int vp9_full_search_sadx3(MACROBLOCK *x, int_mv *ref_mv,
1570 int ref_row = ref_mv->as_mv.row;
1571 int ref_col = ref_mv->as_mv.col;
1672 int vp9_full_search_sadx8(MACROBLOCK *x, int_mv *ref_mv,
1692 int ref_row = ref_mv->as_mv.row;
1693 int ref_col = ref_mv->as_mv.col;
1821 int_mv *ref_mv, int error_per_bit,
1833 (ref_mv->as_mv.row * xd->plane[0].pre[0].stride) +
1834 ref_mv->as_mv.col;
1849 mvsad_err_cost(&ref_mv->as_mv, &fcenter_mv.as_mv,
1856 this_row_offset = ref_mv->as_mv.row + neighbors[j].row;
1857 this_col_offset = ref_mv->as_mv.col + neighbors[j].col;
1885 ref_mv->as_mv.row += neighbors[best_site].row;
1886 ref_mv->as_mv.col += neighbors[best_site].col;
1892 this_mv.as_mv.row = ref_mv->as_mv.row * 8;
1893 this_mv.as_mv.col = ref_mv->as_mv.col * 8;
1905 int_mv *ref_mv, int error_per_bit,
1917 (ref_mv->as_mv.row * xd->plane[0].pre[0].stride) +
1918 ref_mv->as_mv.col;
1933 mvsad_err_cost(&ref_mv->as_mv, &fcenter_mv.as_mv,
1938 int all_in = ((ref_mv->as_mv.row - 1) > x->mv_row_min) &
1939 ((ref_mv->as_mv.row + 1) < x->mv_row_max) &
1940 ((ref_mv->as_mv.col - 1) > x->mv_col_min) &
1941 ((ref_mv->as_mv.col + 1) < x->mv_col_max);
1956 this_mv.as_mv.row = ref_mv->as_mv.row + neighbors[j].row;
1957 this_mv.as_mv.col = ref_mv->as_mv.col + neighbors[j].col;
1969 this_row_offset = ref_mv->as_mv.row + neighbors[j].row;
1970 this_col_offset = ref_mv->as_mv.col + neighbors[j].col;
1999 ref_mv->as_mv.row += neighbors[best_site].row;
2000 ref_mv->as_mv.col += neighbors[best_site].col;
2006 this_mv.as_mv.row = ref_mv->as_mv.row * 8;
2007 this_mv.as_mv.col = ref_mv->as_mv.col * 8;
2022 int_mv *ref_mv, int error_per_bit,
2036 (ref_mv->as_mv.row * xd->plane[0].pre[0].stride) +
2037 ref_mv->as_mv.col;
2053 mvsad_err_cost(&ref_mv->as_mv, &fcenter_mv.as_mv,
2060 this_row_offset = ref_mv->as_mv.row + neighbors[j].row;
2061 this_col_offset = ref_mv->as_mv.col + neighbors[j].col;
2090 ref_mv->as_mv.row += neighbors[best_site].row;
2091 ref_mv->as_mv.col += neighbors[best_site].col;
2097 this_mv.as_mv.row = ref_mv->as_mv.row * 8;
2098 this_mv.as_mv.col = ref_mv->as_mv.col * 8;