Home
last modified time | relevance | path

Searched refs:dv_ref (Results 1 – 3 of 3) sorted by relevance

/external/libaom/libaom/av1/decoder/
Ddecodemv.c689 int_mv dv_ref = nearestmv.as_int == 0 ? nearmv : nearestmv; in read_intrabc_info() local
690 if (dv_ref.as_int == 0) in read_intrabc_info()
691 av1_find_ref_dv(&dv_ref, &xd->tile, cm->seq_params.mib_size, mi_row, in read_intrabc_info()
694 int valid_dv = (dv_ref.as_mv.col & 7) == 0 && (dv_ref.as_mv.row & 7) == 0; in read_intrabc_info()
695 dv_ref.as_mv.col = (dv_ref.as_mv.col >> 3) * 8; in read_intrabc_info()
696 dv_ref.as_mv.row = (dv_ref.as_mv.row >> 3) * 8; in read_intrabc_info()
697 valid_dv = valid_dv && assign_dv(cm, xd, &mbmi->mv[0], &dv_ref, mi_row, in read_intrabc_info()
/external/libaom/libaom/av1/encoder/
Drdopt.c10659 int_mv dv_ref = nearestmv.as_int == 0 ? nearmv : nearestmv; in rd_pick_intrabc_mode_sb() local
10660 if (dv_ref.as_int == 0) in rd_pick_intrabc_mode_sb()
10661 av1_find_ref_dv(&dv_ref, tile, cm->seq_params.mib_size, mi_row, mi_col); in rd_pick_intrabc_mode_sb()
10663 assert((dv_ref.as_mv.col & 7) == 0); in rd_pick_intrabc_mode_sb()
10664 assert((dv_ref.as_mv.row & 7) == 0); in rd_pick_intrabc_mode_sb()
10665 mbmi_ext->ref_mv_stack[INTRA_FRAME][0].this_mv = dv_ref; in rd_pick_intrabc_mode_sb()
10713 av1_set_mv_search_range(&x->mv_limits, &dv_ref.as_mv); in rd_pick_intrabc_mode_sb()
10722 MV mvp_full = dv_ref.as_mv; in rd_pick_intrabc_mode_sb()
10729 sadpb, cond_cost_list(cpi, cost_list), &dv_ref.as_mv, INT_MAX, 1, in rd_pick_intrabc_mode_sb()
10762 const int rate_mv = av1_mv_bit_cost(&dv, &dv_ref.as_mv, cpi->dv_joint_cost, in rd_pick_intrabc_mode_sb()
Dbitstream.c1204 int_mv dv_ref = mbmi_ext->ref_mv_stack[INTRA_FRAME][0].this_mv; in write_intrabc_info() local
1205 av1_encode_dv(w, &mbmi->mv[0].as_mv, &dv_ref.as_mv, &ec_ctx->ndvc); in write_intrabc_info()