Home
last modified time | relevance | path

Searched refs:NEWMV (Results 1 – 25 of 33) sorted by relevance

12

/external/libvpx/libvpx/vp9/encoder/
Dvp9_speed_features.h32 INTER_ALL = (1 << NEARESTMV) | (1 << NEARMV) | (1 << ZEROMV) | (1 << NEWMV),
34 INTER_NEAREST_NEW = (1 << NEARESTMV) | (1 << NEWMV),
36 INTER_NEAREST_NEW_ZERO = (1 << NEARESTMV) | (1 << ZEROMV) | (1 << NEWMV),
37 INTER_NEAREST_NEAR_NEW = (1 << NEARESTMV) | (1 << NEARMV) | (1 << NEWMV),
Dvp9_pickmode.c226 cpi->inter_mode_cost[x->mbmi_ext->mode_context[ref]][INTER_OFFSET(NEWMV)]; in combined_motion_search()
1120 else if (cpi->sf.limit_newmv_early_exit && mode == NEWMV && in update_thresh_freq_fact_row_mt()
1137 else if (cpi->sf.limit_newmv_early_exit && mode == NEWMV && in update_thresh_freq_fact()
1232 { LAST_FRAME, NEWMV }, { GOLDEN_FRAME, NEARESTMV },
1233 { GOLDEN_FRAME, NEARMV }, { GOLDEN_FRAME, NEWMV },
1235 { ALTREF_FRAME, NEARMV }, { ALTREF_FRAME, NEWMV }
1243 { LAST_FRAME, NEWMV }, { GOLDEN_FRAME, NEWMV }
1259 frame_mv[NEWMV][ref_frame].as_int = INVALID_MV; in find_predictors()
1272 candidates, &frame_mv[NEWMV][ref_frame], mi_row, mi_col, in find_predictors()
1296 if (this_mode == NEWMV) { in vp9_NEWMV_diff_bias()
[all …]
Dvp9_encodemv.c264 if (mi->bmi[i].as_mode == NEWMV) in vp9_update_mv_count()
269 if (mi->mode == NEWMV) inc_mvs(mi, mbmi_ext, mi->mv, &td->counts->mv); in vp9_update_mv_count()
Dvp9_rdopt.c95 { NEWMV, { LAST_FRAME, NONE } },
96 { NEWMV, { ALTREF_FRAME, NONE } },
97 { NEWMV, { GOLDEN_FRAME, NONE } },
113 { NEWMV, { LAST_FRAME, ALTREF_FRAME } },
115 { NEWMV, { GOLDEN_FRAME, ALTREF_FRAME } },
1585 case NEWMV: in set_and_cost_bmi_mvs()
2070 for (this_mode = NEARESTMV; this_mode <= NEWMV; ++this_mode) { in rd_pick_best_sub8x8_mode()
2089 if (!has_second_rf && this_mode == NEWMV && in rd_pick_best_sub8x8_mode()
2091 MV *const new_mv = &mode_mv[NEWMV][0].as_mv; in rd_pick_best_sub8x8_mode()
2178 if (has_second_rf && this_mode == NEWMV && in rd_pick_best_sub8x8_mode()
[all …]
Dvp9_mbgraph.c68 xd->mi[0]->mode = NEWMV; in do_16x16_motion_iteration()
Dvp9_bitstream.c323 if (b_mode == NEWMV) { in pack_inter_mode_mvs()
332 if (mode == NEWMV) { in pack_inter_mode_mvs()
/external/libvpx/libvpx/vp9/common/
Dvp9_enums.h123 #define NEWMV 13 macro
129 #define INTER_MODES (1 + NEWMV - NEARESTMV)
Dvp9_blockd.h41 return mode >= NEARESTMV && mode <= NEWMV; in is_inter_mode()
Dvp9_entropymode.c259 -INTER_OFFSET(NEWMV)
/external/libvpx/libvpx/vp8/encoder/
Dpickinter.c382 if (xd->mode_info_context->mbmi.mode == NEWMV) { in update_mvcount()
480 if ((this_mode != NEWMV) || !(cpi->sf.half_pixel_search) || in evaluate_inter_mode()
800 if (vp8_mode_order[mode_index] == NEWMV && parent_mode == ZEROMV && in vp8_pick_inter_mode()
803 else if (vp8_mode_order[mode_index] == NEWMV && dissim == 0 && in vp8_pick_inter_mode()
905 case NEWMV: { in vp8_pick_inter_mode()
984 mode_mv[NEWMV].as_int = mvp_full.as_int; in vp8_pick_inter_mode()
1022 mode_mv[NEWMV].as_int = d->bmi.mv.as_int; in vp8_pick_inter_mode()
1027 mode_mv[NEWMV].as_int = d->bmi.mv.as_int; in vp8_pick_inter_mode()
1044 mode_mv[NEWMV].as_int = d->bmi.mv.as_int; in vp8_pick_inter_mode()
1046 d->bmi.mv.as_int = mode_mv[NEWMV].as_int; in vp8_pick_inter_mode()
[all …]
Drdopt.c82 NEWMV, NEWMV, NEWMV,
1575 } else if (x->e_mbd.mode_info_context->mbmi.mode == NEWMV) { in rd_update_mvcount()
2019 case NEWMV: { in vp8_rd_pick_inter_mode()
2071 mode_mv[NEWMV].as_int = d->bmi.mv.as_int; in vp8_rd_pick_inter_mode()
2098 mode_mv[NEWMV].as_int = d->bmi.mv.as_int; in vp8_rd_pick_inter_mode()
2100 d->bmi.mv.as_int = mode_mv[NEWMV].as_int; in vp8_rd_pick_inter_mode()
2118 mode_mv[NEWMV].as_int = d->bmi.mv.as_int; in vp8_rd_pick_inter_mode()
2120 d->bmi.mv.as_int = mode_mv[NEWMV].as_int; in vp8_rd_pick_inter_mode()
2137 mode_mv[NEWMV].as_int = d->bmi.mv.as_int; in vp8_rd_pick_inter_mode()
2141 vp8_mv_bit_cost(&mode_mv[NEWMV], &best_ref_mv, x->mvcost, 96); in vp8_rd_pick_inter_mode()
[all …]
/external/libaom/libaom/av1/encoder/
Drdopt_utils.h45 { NEWMV, { LAST_FRAME, NONE_FRAME } },
46 { NEWMV, { LAST2_FRAME, NONE_FRAME } },
47 { NEWMV, { LAST3_FRAME, NONE_FRAME } },
48 { NEWMV, { BWDREF_FRAME, NONE_FRAME } },
49 { NEWMV, { ALTREF2_FRAME, NONE_FRAME } },
50 { NEWMV, { ALTREF_FRAME, NONE_FRAME } },
51 { NEWMV, { GOLDEN_FRAME, NONE_FRAME } },
Dnonrd_pickmode.c68 { LAST_FRAME, NEWMV }, { GOLDEN_FRAME, NEARESTMV },
69 { GOLDEN_FRAME, NEARMV }, { GOLDEN_FRAME, NEWMV },
71 { ALTREF_FRAME, NEWMV }
102 INTER_NEAREST_NEW = (1 << NEARESTMV) | (1 << NEWMV),
104 INTER_NEAR_NEW = (1 << NEARMV) | (1 << NEWMV),
218 frame_mv[NEWMV][ref_frame].as_int = mi->mv[0].as_int; in search_new_mv()
225 av1_mv_bit_cost(&frame_mv[NEWMV][ref_frame].as_mv, &ref_mv, in search_new_mv()
227 frame_mv[NEWMV][ref_frame].as_mv.row >>= 3; in search_new_mv()
228 frame_mv[NEWMV][ref_frame].as_mv.col >>= 3; in search_new_mv()
237 frame_mv[NEWMV][ref_frame].as_int = best_mv.as_int; in search_new_mv()
[all …]
Dspeed_features.h86 (1 << NEWMV) | (1 << NEAREST_NEARESTMV) | (1 << NEAR_NEARMV) |
Drdopt.c716 if (mode == NEWMV) { in cost_mv_ref()
1443 } else if (this_mode == NEWMV) { in motion_mode_rd()
1669 assert(single_mode != NEWMV); in check_repeat_ref_mv()
1707 if (single_mode == NEWMV) { in get_this_mv()
1753 if (single_mode == NEWMV) { in build_cur_mv()
1772 if (mbmi->mode == NEWMV || mbmi->mode == NEW_NEWMV) { in get_drl_cost()
1802 if (single_mode == NEWMV && in is_single_newmv_valid()
1817 const int only_newmv = (mode == NEWMV || mode == NEW_NEWMV); in get_drl_refmv_count()
2372 if (!is_comp_pred && this_mode == NEWMV && ref_mv_idx > 0) { in handle_inter_mode()
3870 best_rd = AOMMIN(state[INTER_OFFSET(NEWMV)][0].rd, in analyze_single_states()
[all …]
Dmv_prec.c202 if (mode == NEWMV || mode == NEW_NEWMV) { in collect_mv_stats_b()
Dbitstream.c84 aom_write_symbol(w, mode != NEWMV, ec_ctx->newmv_cdf[newmv_ctx], 2); in write_inter_mode()
86 if (mode != NEWMV) { in write_inter_mode()
103 const int new_mv = mbmi->mode == NEWMV || mbmi->mode == NEW_NEWMV; in write_drl_idx()
1130 if (mode == NEWMV || mode == NEW_NEWMV || have_nearmv_in_inter_mode(mode)) in pack_inter_mode_mvs()
1136 if (mode == NEWMV || mode == NEW_NEWMV) { in pack_inter_mode_mvs()
1348 if (mbmi->mode != NEWMV) { in enc_dump_logs()
/external/libaom/libaom/av1/common/
Dblockd.h95 NEWMV, // NEWMV in compound_ref0_mode()
99 NEWMV, // NEW_NEARESTMV in compound_ref0_mode()
101 NEWMV, // NEW_NEARMV in compound_ref0_mode()
103 NEWMV, // NEW_NEWMV in compound_ref0_mode()
131 NEWMV, // NEAREST_NEWMV in compound_ref1_mode()
133 NEWMV, // NEAR_NEWMV in compound_ref1_mode()
136 NEWMV, // NEW_NEWMV in compound_ref1_mode()
149 return (mode == NEWMV || mode == NEW_NEWMV || mode == NEAREST_NEWMV || in have_newmv_in_inter_mode()
Denums.h400 NEWMV, enumerator
517 #define INTER_MODES (1 + NEWMV - NEARESTMV)
/external/libvpx/libvpx/vp8/common/
Dentropymode.c88 -NEARMV, 6, -NEWMV, -SPLITMV };
Dblockd.h75 NEWMV, enumerator
Dvp8_loopfilter.c45 lfi->mode_lf_lut[NEWMV] = 2; in lf_init_lut()
/external/libaom/libaom/av1/decoder/
Ddecodemv.c181 if (is_newmv) return NEWMV; in read_inter_mode()
200 if (mbmi->mode == NEWMV || mbmi->mode == NEW_NEWMV) { in read_drl_idx()
1120 case NEWMV: { in assign_mv()
1240 if (mbmi->mode != NEWMV) { in dec_dump_logs()
1306 if (mbmi->mode == NEWMV || mbmi->mode == NEW_NEWMV || in read_inter_block_mode_info()
1353 if (compound_ref0_mode(mbmi->mode) == NEWMV) in read_inter_block_mode_info()
1356 if (compound_ref1_mode(mbmi->mode) == NEWMV) in read_inter_block_mode_info()
1359 if (mbmi->mode == NEWMV) { in read_inter_block_mode_info()
/external/libvpx/libvpx/vp9/decoder/
Dvp9_decodemv.c410 case NEWMV: { in assign_mv()
741 } else if (b_mode == NEWMV && !got_mv_refs_for_new) { in read_inter_block_mode_info()
746 dec_find_mv_refs(cm, xd, NEWMV, frame, mv_ref_search, tmp_mvs, in read_inter_block_mode_info()
/external/libvpx/libvpx/vp8/decoder/
Ddecodemv.c428 mbmi->mode = NEWMV; in read_mb_modes_mv()

12