Home | History | Annotate | Download | only in encoder

Lines Matching refs:bmi

556     mv_row = x->e_mbd.block[16].bmi.mv.as_mv.row;
557 mv_col = x->e_mbd.block[16].bmi.mv.as_mv.col;
707 b->bmi.mode = (B_PREDICTION_MODE)(*best_mode);
708 vp8_encode_intra4x4block_rd(IF_RTCD(&cpi->rtcd), x, be, b, b->bmi.mode);
749 mic->bmi[i].mode = xd->block[i].bmi.mode = best_mode;
913 B_MODE_INFO *bmi = &x->e_mbd.block[i].bmi;
914 bmi->mode = (B_PREDICTION_MODE) mb;
915 bmi->mv.as_mv.row = mv->row;
916 bmi->mv.as_mv.col = mv->col;
953 as they have not yet made it to the bmi array in our MB_MODE_INFO. */
981 *this_mv = col ? d[-1].bmi.mv.as_mv : vp8_left_bmi(mic, i)->mv.as_mv;
984 *this_mv = row ? d[-4].bmi.mv.as_mv : vp8_above_bmi(mic, i, mis)->mv.as_mv;
995 const MV mv = col ? d[-1].bmi.mv.as_mv : vp8_left_bmi(mic, i)->mv.as_mv;
1004 d->bmi.mode = m;
1005 d->bmi.mv.as_mv = *this_mv;
1320 mode_mv[NEW4X4] = e->bmi.mv.as_mv;
1325 e->bmi.mv.as_mv = mode_mv[NEW4X4];
1396 bmvs[i] = bd->bmi.mv.as_mv;
1397 bmodes[i] = bd->bmi.mode;
1408 bd->bmi.mv.as_mv = bmvs[i];
1409 bd->bmi.mode = bmodes[i];
1454 x->partition_info->bmi[i].mode = x->e_mbd.block[j].bmi.mode;
1455 x->partition_info->bmi[i].mv.as_mv = x->e_mbd.block[j].bmi.mv.as_mv;
1675 vpx_memset(&x->e_mbd.block[i].bmi, 0, sizeof(B_MODE_INFO));
1770 if (bd->bmi.mv.as_int != x->e_mbd.block[0].bmi.mv.as_int) //(bmvs[i].col != bmvs[i-1].col) || (bmvs[i].row != bmvs[i-1].row ) )
1783 mode_mv[NEWMV].row = x->e_mbd.block[0].bmi.mv.as_mv.row;
1784 mode_mv[NEWMV].col = x->e_mbd.block[0].bmi.mv.as_mv.col;
1794 if (x->partition_info->bmi[0].mv.as_int == x->partition_info->bmi[1].mv.as_int
1795 && x->partition_info->bmi[2].mv.as_int == x->partition_info->bmi[3].mv.as_int)
1801 //rate -= x->inter_bmode_costs[ x->partition_info->bmi[1]];
1802 //rate -= x->inter_bmode_costs[ x->partition_info->bmi[3]];
1803 x->partition_info->bmi[1] = x->partition_info->bmi[2];
1855 bestsme = vp8_hex_search(x, b, d, &best_ref_mv, &d->bmi.mv.as_mv, step_param, sadpb/*x->errorperbit*/, &num00, cpi->fn_ptr.vf, cpi->fn_ptr.sdf, x->mvsadcost, x->mvcost);
1856 mode_mv[NEWMV].row = d->bmi.mv.as_mv.row;
1857 mode_mv[NEWMV].col = d->bmi.mv.as_mv.col;
1861 bestsme = cpi->diamond_search_sad(x, b, d, &best_ref_mv, &d->bmi.mv.as_mv, step_param, sadpb / 2/*x->errorperbit*/, &num00, &cpi->fn_ptr, x->mvsadcost, x->mvcost); //sadpb < 9
1862 mode_mv[NEWMV].row = d->bmi.mv.as_mv.row;
1863 mode_mv[NEWMV].col = d->bmi.mv.as_mv.col;
1880 thissme = cpi->diamond_search_sad(x, b, d, &best_ref_mv, &d->bmi.mv.as_mv, step_param + n, sadpb / 4/*x->errorperbit*/, &num00, &cpi->fn_ptr, x->mvsadcost, x->mvcost); //sadpb = 9
1885 mode_mv[NEWMV].row = d->bmi.mv.as_mv.row;
1886 mode_mv[NEWMV].col = d->bmi.mv.as_mv.col;
1890 d->bmi.mv.as_mv.row = mode_mv[NEWMV].row;
1891 d->bmi.mv.as_mv.col = mode_mv[NEWMV].col;
1906 search_range = MAXF(abs(d->bmi.mv.as_mv.row), abs(d->bmi.mv.as_mv.col));
1935 d->bmi.mv.as_mv.row = mode_mv[NEWMV].row;
1936 d->bmi.mv.as_mv.col = mode_mv[NEWMV].col;
1941 // cpi->find_fractional_mv_step(x,b,d,&d->bmi.mv.as_mv,&best_ref_mv,x->errorperbit/2,cpi->fn_ptr.svf,cpi->fn_ptr.vf,x->mvcost); // normal mvc=11
1942 cpi->find_fractional_mv_step(x, b, d, &d->bmi.mv.as_mv, &best_ref_mv, x->errorperbit / 4, cpi->fn_ptr.svf, cpi->fn_ptr.vf, x->mvcost);
1944 mode_mv[NEWMV].row = d->bmi.mv.as_mv.row;
1945 mode_mv[NEWMV].col = d->bmi.mv.as_mv.col;
2151 vpx_memcpy(&best_bmodes[i], &x->e_mbd.block[i].bmi, sizeof(B_MODE_INFO));
2233 vpx_memset(&x->e_mbd.block[i].bmi, 0, sizeof(B_MODE_INFO));
2248 vpx_memcpy(&x->e_mbd.block[i].bmi, &best_bmodes[i], sizeof(B_MODE_INFO));
2251 x->e_mbd.mode_info_context->mbmi.mv.as_mv = x->e_mbd.block[15].bmi.mv.as_mv;