/external/chromium_org/third_party/libvpx/source/libvpx/vp8/encoder/ |
H A D | mcomp.c | 371 int_mv this_mv; local 406 this_mv.as_mv.row = startmv.as_mv.row; 407 this_mv.as_mv.col = ((startmv.as_mv.col - 8) | 4); 409 left = thismse + mv_err_cost(&this_mv, ref_mv, mvcost, error_per_bit); 413 *bestmv = this_mv; 419 this_mv.as_mv.col += 8; 421 right = thismse + mv_err_cost(&this_mv, ref_mv, mvcost, error_per_bit); 425 *bestmv = this_mv; 432 this_mv.as_mv.col = startmv.as_mv.col; 433 this_mv 682 int_mv this_mv; local 876 int_mv this_mv; local 1065 int_mv this_mv; local 1189 int_mv this_mv; local 1344 int_mv this_mv; local 1440 int_mv this_mv; local 1574 int_mv this_mv; local 1741 int_mv this_mv; local 1821 int_mv this_mv; local [all...] |
H A D | pickinter.h | 30 int_mv this_mv);
|
H A D | pickinter.c | 67 int_mv this_mv) 77 int xoffset = this_mv.as_mv.col & 7; 78 int yoffset = this_mv.as_mv.row & 7; 80 in_what += (this_mv.as_mv.row >> 3) * pre_stride + (this_mv.as_mv.col >> 3); 64 vp8_get_inter_mbpred_error(MACROBLOCK *mb, const vp8_variance_fn_ptr_t *vfp, unsigned int *sse, int_mv this_mv) argument
|
H A D | rdopt.c | 947 int_mv *this_mv, int_mv *best_ref_mv, 986 thismvcost = vp8_mv_bit_cost(this_mv, best_ref_mv, mvcost, 102); 989 this_mv->as_int = col ? d[-1].bmi.mv.as_int : left_block_mv(mic, i); 992 this_mv->as_int = row ? d[-4].bmi.mv.as_int : above_block_mv(mic, i, mis); 995 this_mv->as_int = 0; 1008 if (left_mv.as_int == this_mv->as_int) 1015 d->bmi.mv.as_int = this_mv->as_int; 1018 x->partition_info->bmi[i].mv.as_int = this_mv->as_int; 943 labels2mode( MACROBLOCK *x, int const *labelings, int which_label, B_PREDICTION_MODE this_mode, int_mv *this_mv, int_mv *best_ref_mv, int *mvcost[2] ) argument
|
/external/libvpx/libvpx/vp8/encoder/ |
H A D | mcomp.c | 370 int_mv this_mv; local 405 this_mv.as_mv.row = startmv.as_mv.row; 406 this_mv.as_mv.col = ((startmv.as_mv.col - 8) | 4); 408 left = thismse + mv_err_cost(&this_mv, ref_mv, mvcost, error_per_bit); 412 *bestmv = this_mv; 418 this_mv.as_mv.col += 8; 420 right = thismse + mv_err_cost(&this_mv, ref_mv, mvcost, error_per_bit); 424 *bestmv = this_mv; 431 this_mv.as_mv.col = startmv.as_mv.col; 432 this_mv 681 int_mv this_mv; local 875 int_mv this_mv; local 1064 int_mv this_mv; local 1188 int_mv this_mv; local 1343 int_mv this_mv; local 1439 int_mv this_mv; local 1573 int_mv this_mv; local 1740 int_mv this_mv; local 1820 int_mv this_mv; local [all...] |
H A D | pickinter.h | 30 int_mv this_mv);
|
H A D | pickinter.c | 67 int_mv this_mv) 77 int xoffset = this_mv.as_mv.col & 7; 78 int yoffset = this_mv.as_mv.row & 7; 80 in_what += (this_mv.as_mv.row >> 3) * pre_stride + (this_mv.as_mv.col >> 3); 64 vp8_get_inter_mbpred_error(MACROBLOCK *mb, const vp8_variance_fn_ptr_t *vfp, unsigned int *sse, int_mv this_mv) argument
|
H A D | rdopt.c | 948 int_mv *this_mv, int_mv *best_ref_mv, 987 thismvcost = vp8_mv_bit_cost(this_mv, best_ref_mv, mvcost, 102); 990 this_mv->as_int = col ? d[-1].bmi.mv.as_int : left_block_mv(mic, i); 993 this_mv->as_int = row ? d[-4].bmi.mv.as_int : above_block_mv(mic, i, mis); 996 this_mv->as_int = 0; 1009 if (left_mv.as_int == this_mv->as_int) 1016 d->bmi.mv.as_int = this_mv->as_int; 1019 x->partition_info->bmi[i].mv.as_int = this_mv->as_int; 944 labels2mode( MACROBLOCK *x, int const *labelings, int which_label, B_PREDICTION_MODE this_mode, int_mv *this_mv, int_mv *best_ref_mv, int *mvcost[2] ) argument
|
/external/chromium_org/third_party/libvpx/source/libvpx/vp8/common/ |
H A D | findnearmv.c | 66 int_mv this_mv; local 68 this_mv.as_int = left->mbmi.mv.as_int; 69 mv_bias(ref_frame_sign_bias[left->mbmi.ref_frame], refframe, &this_mv, ref_frame_sign_bias); 71 if (this_mv.as_int != mv->as_int) 73 (++mv)->as_int = this_mv.as_int; 88 int_mv this_mv; local 90 this_mv.as_int = aboveleft->mbmi.mv.as_int; 91 mv_bias(ref_frame_sign_bias[aboveleft->mbmi.ref_frame], refframe, &this_mv, ref_frame_sign_bias); 93 if (this_mv.as_int != mv->as_int) 95 (++mv)->as_int = this_mv [all...] |
/external/libvpx/libvpx/vp8/common/ |
H A D | findnearmv.c | 66 int_mv this_mv; local 68 this_mv.as_int = left->mbmi.mv.as_int; 69 mv_bias(ref_frame_sign_bias[left->mbmi.ref_frame], refframe, &this_mv, ref_frame_sign_bias); 71 if (this_mv.as_int != mv->as_int) 73 (++mv)->as_int = this_mv.as_int; 88 int_mv this_mv; local 90 this_mv.as_int = aboveleft->mbmi.mv.as_int; 91 mv_bias(ref_frame_sign_bias[aboveleft->mbmi.ref_frame], refframe, &this_mv, ref_frame_sign_bias); 93 if (this_mv.as_int != mv->as_int) 95 (++mv)->as_int = this_mv [all...] |
/external/chromium_org/third_party/libvpx/source/libvpx/vp9/encoder/ |
H A D | vp9_mcomp.c | 475 thissad += mvsad_err_cost(x, &this_mv, &fcenter_mv, sad_per_bit);\ 538 const MV this_mv = {br + candidates[t][i].row, local 541 get_buf_from_mv(in_what, &this_mv), 547 const MV this_mv = {br + candidates[t][i].row, local 549 if (!is_mv_in(x, &this_mv)) 552 get_buf_from_mv(in_what, &this_mv), 581 const MV this_mv = {br + candidates[s][i].row, local 584 get_buf_from_mv(in_what, &this_mv), 590 const MV this_mv = {br + candidates[s][i].row, local 592 if (!is_mv_in(x, &this_mv)) 619 const MV this_mv = {br + candidates[s][next_chkpts_indices[i]].row, local 628 const MV this_mv = {br + candidates[s][next_chkpts_indices[i]].row, local 659 const MV this_mv = {br + neighbors[i].row, local 670 const MV this_mv = {br + neighbors[i].row, local 743 const MV this_mv = {br + candidates[t][i].row, local 752 const MV this_mv = {br + candidates[t][i].row, local 786 const MV this_mv = {br + candidates[s][i].row, local 795 const MV this_mv = {br + candidates[s][i].row, local 824 const MV this_mv = {br + candidates[s][next_chkpts_indices[i]].row, local 833 const MV this_mv = {br + candidates[s][next_chkpts_indices[i]].row, local 858 const MV this_mv = {br + candidates[s][i].row, local 868 const MV this_mv = {br + candidates[s][i].row, local 898 const MV this_mv = {br + candidates[s][next_chkpts_indices[i]].row, local 908 const MV this_mv = {br + candidates[s][next_chkpts_indices[i]].row, local 943 const MV this_mv = {br + neighbors[i].row, local 951 const MV this_mv = {br + neighbors[i].row, local 964 const MV this_mv = {br + neighbors[i].row, local 1311 const MV this_mv = {best_mv->row + ss[i].mv.row, local 1325 const MV this_mv = {best_mv->row + ss[i].mv.row, local 1351 const MV this_mv = {best_mv->row + ss[best_site].mv.row, local [all...] |
H A D | vp9_rd.c | 458 const MV *this_mv = &pred_mv[i]; local 460 max_mv = MAX(max_mv, MAX(abs(this_mv->row), abs(this_mv->col)) >> 3); 461 if (is_zero_mv(this_mv) && zero_seen) 464 zero_seen |= is_zero_mv(this_mv); 467 &ref_y_buffer[ref_y_stride * (this_mv->row >> 3) + (this_mv->col >> 3)];
|
H A D | vp9_rdopt.c | 1038 PREDICTION_MODE mode, int_mv this_mv[2], 1053 this_mv[0].as_int = seg_mvs[mbmi->ref_frame[0]].as_int; 1054 thismvcost += vp9_mv_bit_cost(&this_mv[0].as_mv, &best_ref_mv[0]->as_mv, 1057 this_mv[1].as_int = seg_mvs[mbmi->ref_frame[1]].as_int; 1058 thismvcost += vp9_mv_bit_cost(&this_mv[1].as_mv, &best_ref_mv[1]->as_mv, 1064 this_mv[0].as_int = frame_mv[mode][mbmi->ref_frame[0]].as_int; 1066 this_mv[1].as_int = frame_mv[mode][mbmi->ref_frame[1]].as_int; 1069 this_mv[0].as_int = 0; 1071 this_mv[1].as_int = 0; 1077 mic->bmi[i].as_mv[0].as_int = this_mv[ 1037 set_and_cost_bmi_mvs(VP9_COMP *cpi, MACROBLOCKD *xd, int i, PREDICTION_MODE mode, int_mv this_mv[2], int_mv frame_mv[MB_MODE_COUNT][MAX_REF_FRAMES], int_mv seg_mvs[MAX_REF_FRAMES], int_mv *best_ref_mv[2], const int *mvjcost, int *mvcost[2]) argument [all...] |
H A D | vp9_encodeframe.c | 2011 static INLINE int get_motion_inconsistency(MOTION_DIRECTION this_mv, argument 2013 if (this_mv == that_mv) { 2016 return abs(this_mv - that_mv) == 2 ? 2 : 1; 2127 MOTION_DIRECTION this_mv; local 2131 this_mv = 2138 none_complexity += get_motion_inconsistency(this_mv, right_mv); 2145 none_complexity += get_motion_inconsistency(this_mv, bottom_mv);
|
/external/libvpx/libvpx/vp9/encoder/ |
H A D | vp9_mcomp.c | 482 thissad += mvsad_err_cost(&this_mv, &fcenter_mv, \ 547 const MV this_mv = {br + candidates[t][i].row, local 550 get_buf_from_mv(in_what, &this_mv), 556 const MV this_mv = {br + candidates[t][i].row, local 558 if (!is_mv_in(x, &this_mv)) 561 get_buf_from_mv(in_what, &this_mv), 590 const MV this_mv = {br + candidates[s][i].row, local 593 get_buf_from_mv(in_what, &this_mv), 599 const MV this_mv = {br + candidates[s][i].row, local 601 if (!is_mv_in(x, &this_mv)) 628 const MV this_mv = {br + candidates[s][next_chkpts_indices[i]].row, local 637 const MV this_mv = {br + candidates[s][next_chkpts_indices[i]].row, local 666 const MV this_mv = {br + neighbors[i].row, local 675 const MV this_mv = {br + neighbors[i].row, local 941 const MV this_mv = {ref_row + tr, ref_col + tc + i}; local 959 const MV this_mv = {ref_row + tr, ref_col + tc + i}; local 1042 const MV this_mv = {best_mv->row + ss[best_site].mv.row, local 1150 const MV this_mv = {best_mv->row + ss[i].mv.row, local 1165 const MV this_mv = {best_mv->row + ss[i].mv.row, local 1193 const MV this_mv = {best_mv->row + ss[best_site].mv.row, local 1334 MV this_mv; local 1426 MV this_mv; local [all...] |
H A D | vp9_rdopt.c | 1475 int_mv this_mv[2], 1492 this_mv[0].as_int = seg_mvs[mbmi->ref_frame[0]].as_int; 1493 thismvcost += vp9_mv_bit_cost(&this_mv[0].as_mv, &best_ref_mv[0]->as_mv, 1496 this_mv[1].as_int = seg_mvs[mbmi->ref_frame[1]].as_int; 1497 thismvcost += vp9_mv_bit_cost(&this_mv[1].as_mv, &best_ref_mv[1]->as_mv, 1502 this_mv[0].as_int = frame_mv[NEARESTMV][mbmi->ref_frame[0]].as_int; 1504 this_mv[1].as_int = frame_mv[NEARESTMV][mbmi->ref_frame[1]].as_int; 1507 this_mv[0].as_int = frame_mv[NEARMV][mbmi->ref_frame[0]].as_int; 1509 this_mv[1].as_int = frame_mv[NEARMV][mbmi->ref_frame[1]].as_int; 1512 this_mv[ 1473 labels2mode(VP9_COMP *cpi, MACROBLOCKD *xd, int i, MB_PREDICTION_MODE mode, int_mv this_mv[2], int_mv frame_mv[MB_MODE_COUNT][MAX_REF_FRAMES], int_mv seg_mvs[MAX_REF_FRAMES], int_mv *best_ref_mv[2], const int *mvjcost, int *mvcost[2]) argument 2149 int_mv this_mv; local [all...] |
/external/chromium_org/third_party/libvpx/source/libvpx/vp8/decoder/ |
H A D | decodemv.c | 387 int_mv this_mv; local 389 this_mv.as_int = left->mbmi.mv.as_int; 391 mbmi->ref_frame, &this_mv, ref_frame_sign_bias); 393 if (this_mv.as_int != nmv->as_int) 395 (++nmv)->as_int = this_mv.as_int; 410 int_mv this_mv; local 412 this_mv.as_int = aboveleft->mbmi.mv.as_int; 414 mbmi->ref_frame, &this_mv, ref_frame_sign_bias); 416 if (this_mv.as_int != nmv->as_int) 418 (++nmv)->as_int = this_mv [all...] |
/external/libvpx/libvpx/vp8/decoder/ |
H A D | decodemv.c | 387 int_mv this_mv; local 389 this_mv.as_int = left->mbmi.mv.as_int; 391 mbmi->ref_frame, &this_mv, ref_frame_sign_bias); 393 if (this_mv.as_int != nmv->as_int) 395 (++nmv)->as_int = this_mv.as_int; 410 int_mv this_mv; local 412 this_mv.as_int = aboveleft->mbmi.mv.as_int; 414 mbmi->ref_frame, &this_mv, ref_frame_sign_bias); 416 if (this_mv.as_int != nmv->as_int) 418 (++nmv)->as_int = this_mv [all...] |