Home | History | Annotate | Download | only in encoder

Lines Matching defs: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;
938 as they have not yet made it to the bmi array in our MB_MODE_INFO. */
966 *this_mv = col ? d[-1].bmi.mv.as_mv : vp8_left_bmi(mic, i)->mv.as_mv;
969 *this_mv = row ? d[-4].bmi.mv.as_mv : vp8_above_bmi(mic, i, mis)->mv.as_mv;
980 const MV mv = col ? d[-1].bmi.mv.as_mv : vp8_left_bmi(mic, i)->mv.as_mv;
989 d->bmi.mode = m;
990 d->bmi.mv.as_mv = *this_mv;
1272 mode_mv[NEW4X4] = e->bmi.mv.as_mv;
1277 e->bmi.mv.as_mv = mode_mv[NEW4X4];
1348 bmvs[i] = bd->bmi.mv.as_mv;
1349 bmodes[i] = bd->bmi.mode;
1360 bd->bmi.mv.as_mv = bmvs[i];
1361 bd->bmi.mode = bmodes[i];
1380 x->partition_info->bmi[i].mode = x->e_mbd.block[j].bmi.mode;
1381 x->partition_info->bmi[i].mv.as_mv = x->e_mbd.block[j].bmi.mv.as_mv;
1601 vpx_memset(&x->e_mbd.block[i].bmi, 0, sizeof(B_MODE_INFO));
1696 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 ) )
1709 mode_mv[NEWMV].row = x->e_mbd.block[0].bmi.mv.as_mv.row;
1710 mode_mv[NEWMV].col = x->e_mbd.block[0].bmi.mv.as_mv.col;
1720 if (x->partition_info->bmi[0].mv.as_int == x->partition_info->bmi[1].mv.as_int
1721 && x->partition_info->bmi[2].mv.as_int == x->partition_info->bmi[3].mv.as_int)
1727 //rate -= x->inter_bmode_costs[ x->partition_info->bmi[1]];
1728 //rate -= x->inter_bmode_costs[ x->partition_info->bmi[3]];
1729 x->partition_info->bmi[1] = x->partition_info->bmi[2];
1781 bestsme = vp8_hex_search(x, b, d, &best_ref_mv, &d->bmi.mv.as_mv, step_param, sadpb/*x->errorperbit*/, &num00, &cpi->fn_ptr[BLOCK_16X16], x->mvsadcost, x->mvcost);
1782 mode_mv[NEWMV].row = d->bmi.mv.as_mv.row;
1783 mode_mv[NEWMV].col = d->bmi.mv.as_mv.col;
1787 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[BLOCK_16X16], x->mvsadcost, x->mvcost); //sadpb < 9
1788 mode_mv[NEWMV].row = d->bmi.mv.as_mv.row;
1789 mode_mv[NEWMV].col = d->bmi.mv.as_mv.col;
1806 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[BLOCK_16X16], x->mvsadcost, x->mvcost); //sadpb = 9
1811 mode_mv[NEWMV].row = d->bmi.mv.as_mv.row;
1812 mode_mv[NEWMV].col = d->bmi.mv.as_mv.col;
1816 d->bmi.mv.as_mv.row = mode_mv[NEWMV].row;
1817 d->bmi.mv.as_mv.col = mode_mv[NEWMV].col;
1832 search_range = MAXF(abs(d->bmi.mv.as_mv.row), abs(d->bmi.mv.as_mv.col));
1861 d->bmi.mv.as_mv.row = mode_mv[NEWMV].row;
1862 d->bmi.mv.as_mv.col = mode_mv[NEWMV].col;
1867 // 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
1868 cpi->find_fractional_mv_step(x, b, d, &d->bmi.mv.as_mv, &best_ref_mv, x->errorperbit / 4, &cpi->fn_ptr[BLOCK_16X16], x->mvcost);
1870 mode_mv[NEWMV].row = d->bmi.mv.as_mv.row;
1871 mode_mv[NEWMV].col = d->bmi.mv.as_mv.col;
2077 vpx_memcpy(&best_bmodes[i], &x->e_mbd.block[i].bmi, sizeof(B_MODE_INFO));
2159 vpx_memset(&x->e_mbd.block[i].bmi, 0, sizeof(B_MODE_INFO));
2174 vpx_memcpy(&x->e_mbd.block[i].bmi, &best_bmodes[i], sizeof(B_MODE_INFO));
2177 x->e_mbd.mode_info_context->mbmi.mv.as_mv = x->e_mbd.block[15].bmi.mv.as_mv;