Home
last modified time | relevance | path

Searched refs:this_mode (Results 1 – 5 of 5) sorted by relevance

/external/libvpx/libvpx/vp9/encoder/
Dvp9_pickmode.c889 MV_REFERENCE_FRAME ref_frame, PREDICTION_MODE this_mode, unsigned int var_y, in encode_breakout_test() argument
975 [INTER_OFFSET(this_mode)]; in encode_breakout_test()
1116 PREDICTION_MODE this_mode; in vp9_pick_intra_mode() local
1144 for (this_mode = DC_PRED; this_mode <= H_PRED; ++this_mode) { in vp9_pick_intra_mode()
1146 args.mode = this_mode; in vp9_pick_intra_mode()
1159 this_rdc.rate += bmode_costs[this_mode]; in vp9_pick_intra_mode()
1164 mi->mode = this_mode; in vp9_pick_intra_mode()
1255 PREDICTION_MODE this_mode, RD_COST *this_rdc, in vp9_NEWMV_diff_bias() argument
1261 if (this_mode == NEWMV) { in vp9_NEWMV_diff_bias()
1956 PREDICTION_MODE this_mode; in vp9_pick_inter_mode() local
[all …]
Dvp9_rdopt.c1665 int this_mode, in check_best_zero_mv() argument
1667 if ((this_mode == NEARMV || this_mode == NEARESTMV || this_mode == ZEROMV) && in check_best_zero_mv()
1668 frame_mv[this_mode][ref_frames[0]].as_int == 0 && in check_best_zero_mv()
1670 frame_mv[this_mode][ref_frames[1]].as_int == 0)) { in check_best_zero_mv()
1676 if (this_mode == NEARMV) { in check_best_zero_mv()
1678 } else if (this_mode == NEARESTMV) { in check_best_zero_mv()
1681 assert(this_mode == ZEROMV); in check_best_zero_mv()
1867 PREDICTION_MODE this_mode; in rd_pick_best_sub8x8_mode() local
1927 for (this_mode = NEARESTMV; this_mode <= NEWMV; ++this_mode) { in rd_pick_best_sub8x8_mode()
1931 mode_idx = INTER_OFFSET(this_mode); in rd_pick_best_sub8x8_mode()
[all …]
/external/libvpx/libvpx/vp8/encoder/
Drdopt.c811 B_PREDICTION_MODE this_mode, int_mv *this_mv, in labels2mode() argument
842 switch (m = this_mode) { in labels2mode()
950 B_PREDICTION_MODE this_mode; in rd_check_segment() local
998 for (this_mode = LEFT4X4; this_mode <= NEW4X4; ++this_mode) { in rd_check_segment()
1012 if (this_mode == NEW4X4) { in rd_check_segment()
1124 rate = labels2mode(x, labels, i, this_mode, &mode_mv[this_mode], in rd_check_segment()
1128 if (((mode_mv[this_mode].as_mv.row >> 3) < x->mv_row_min) || in rd_check_segment()
1129 ((mode_mv[this_mode].as_mv.row >> 3) > x->mv_row_max) || in rd_check_segment()
1130 ((mode_mv[this_mode].as_mv.col >> 3) < x->mv_col_min) || in rd_check_segment()
1131 ((mode_mv[this_mode].as_mv.col >> 3) > x->mv_col_max)) { in rd_check_segment()
[all …]
Dpickinter.c467 MB_PREDICTION_MODE this_mode = x->e_mbd.mode_info_context->mbmi.mode; in evaluate_inter_mode() local
480 if ((this_mode != NEWMV) || !(cpi->sf.half_pixel_search) || in evaluate_inter_mode()
497 if (!cpi->oxcf.screen_content_mode && this_mode == ZEROMV && in evaluate_inter_mode()
570 MB_PREDICTION_MODE this_mode; in vp8_pick_inter_mode() local
837 this_mode = vp8_mode_order[mode_index]; in vp8_pick_inter_mode()
839 x->e_mbd.mode_info_context->mbmi.mode = this_mode; in vp8_pick_inter_mode()
850 if (this_mode != ZEROMV || in vp8_pick_inter_mode()
856 switch (this_mode) { in vp8_pick_inter_mode()
1065 vp8_clamp_mv2(&mode_mv[this_mode], xd); in vp8_pick_inter_mode()
1074 if (mode_mv[this_mode].as_int == 0) continue; in vp8_pick_inter_mode()
[all …]
/external/libaom/libaom/av1/encoder/
Drdopt.c647 static int get_prediction_mode_idx(PREDICTION_MODE this_mode, in get_prediction_mode_idx() argument
650 if (this_mode < INTRA_MODE_END) { in get_prediction_mode_idx()
653 return intra_to_mode_idx[this_mode - INTRA_MODE_START]; in get_prediction_mode_idx()
655 if (this_mode >= SINGLE_INTER_MODE_START && in get_prediction_mode_idx()
656 this_mode < SINGLE_INTER_MODE_END) { in get_prediction_mode_idx()
658 return single_inter_to_mode_idx[this_mode - SINGLE_INTER_MODE_START] in get_prediction_mode_idx()
661 if (this_mode >= COMP_INTER_MODE_START && this_mode < COMP_INTER_MODE_END) { in get_prediction_mode_idx()
665 return comp_inter_to_mode_idx[this_mode - COMP_INTER_MODE_START][ref_frame] in get_prediction_mode_idx()
6632 static INLINE PREDICTION_MODE get_single_mode(PREDICTION_MODE this_mode, in get_single_mode() argument
6637 ref_idx ? compound_ref1_mode(this_mode) : compound_ref0_mode(this_mode); in get_single_mode()
[all …]