Home
last modified time | relevance | path

Searched refs:ref_mv_idx (Results 1 – 9 of 9) sorted by relevance

/external/libaom/libaom/av1/encoder/
Dencodemv.c190 int ref_mv_idx, in av1_get_ref_mv_from_stack() argument
200 ref_mv = curr_ref_mv_stack[ref_mv_idx].this_mv; in av1_get_ref_mv_from_stack()
203 ref_mv = curr_ref_mv_stack[ref_mv_idx].comp_mv; in av1_get_ref_mv_from_stack()
207 if (ref_mv_idx < mbmi_ext->ref_mv_count[ref_frame_type]) { in av1_get_ref_mv_from_stack()
208 ref_mv = curr_ref_mv_stack[ref_mv_idx].this_mv; in av1_get_ref_mv_from_stack()
219 int ref_mv_idx = mbmi->ref_mv_idx; in av1_get_ref_mv() local
222 ref_mv_idx += 1; in av1_get_ref_mv()
224 return av1_get_ref_mv_from_stack(ref_idx, mbmi->ref_frame, ref_mv_idx, in av1_get_ref_mv()
Dencodemv.h35 int ref_mv_idx,
Drdopt.c7483 int ref_idx, int ref_mv_idx,
7501 for (int ref_mv_idx = 0; in discount_newmv_test() local
7502 ref_mv_idx < x->mbmi_ext->ref_mv_count[ref_frame_type]; ++ref_mv_idx) { in discount_newmv_test()
7504 get_this_mv(&near_mv, NEARMV, 0, ref_mv_idx, tmp_ref_frames, x->mbmi_ext); in discount_newmv_test()
8117 const int ref_mv_idx = mbmi->ref_mv_idx; in handle_newmv() local
8124 cur_mv[0].as_int = args->single_newmv[ref_mv_idx][refs[0]].as_int; in handle_newmv()
8125 cur_mv[1].as_int = args->single_newmv[ref_mv_idx][refs[1]].as_int; in handle_newmv()
8140 cur_mv[1].as_int = args->single_newmv[ref_mv_idx][refs[1]].as_int; in handle_newmv()
8152 cur_mv[0].as_int = args->single_newmv[ref_mv_idx][refs[0]].as_int; in handle_newmv()
8167 args->single_newmv[ref_mv_idx][refs[0]] = x->best_mv; in handle_newmv()
[all …]
Drd.h421 void av1_set_mvcost(MACROBLOCK *x, int ref, int ref_mv_idx);
Dblock.h202 int ref_mv_idx; member
Dbitstream.c102 assert(mbmi->ref_mv_idx < 3); in write_drl_idx()
112 aom_write_symbol(w, mbmi->ref_mv_idx != idx, ec_ctx->drl_cdf[drl_ctx], in write_drl_idx()
114 if (mbmi->ref_mv_idx == idx) return; in write_drl_idx()
127 aom_write_symbol(w, mbmi->ref_mv_idx != (idx - 1), in write_drl_idx()
129 if (mbmi->ref_mv_idx == (idx - 1)) return; in write_drl_idx()
1093 assert(mbmi->ref_mv_idx == 0); in pack_inter_mode_mvs()
Dencodeframe.c1354 ++counts->drl_mode[drl_ctx][mbmi->ref_mv_idx != idx]; in update_stats()
1357 if (mbmi->ref_mv_idx == idx) break; in update_stats()
1371 ++counts->drl_mode[drl_ctx][mbmi->ref_mv_idx != idx - 1]; in update_stats()
1374 if (mbmi->ref_mv_idx == idx - 1) break; in update_stats()
/external/libaom/libaom/av1/decoder/
Ddecodemv.c182 mbmi->ref_mv_idx = 0; in read_drl_idx()
188 mbmi->ref_mv_idx = idx + drl_idx; in read_drl_idx()
201 mbmi->ref_mv_idx = idx + drl_idx - 1; in read_drl_idx()
1278 mbmi->ref_mv_idx = 0; in read_inter_block_mode_info()
1310 int ref_mv_idx = mbmi->ref_mv_idx + 1; in read_inter_block_mode_info() local
1313 nearmv[0] = xd->ref_mv_stack[ref_frame][ref_mv_idx].this_mv; in read_inter_block_mode_info()
1314 nearmv[1] = xd->ref_mv_stack[ref_frame][ref_mv_idx].comp_mv; in read_inter_block_mode_info()
1323 } else if (mbmi->ref_mv_idx > 0 && mbmi->mode == NEARMV) { in read_inter_block_mode_info()
1325 xd->ref_mv_stack[mbmi->ref_frame[0]][1 + mbmi->ref_mv_idx].this_mv; in read_inter_block_mode_info()
1334 int ref_mv_idx = mbmi->ref_mv_idx; in read_inter_block_mode_info() local
[all …]
/external/libaom/libaom/av1/common/
Dblockd.h271 uint8_t ref_mv_idx; member