Home
last modified time | relevance | path

Searched refs:mode_index (Results 1 – 7 of 7) sorted by relevance

/external/libvpx/libvpx/vp8/encoder/
Dpickinter.c576 int mode_index; in vp8_pick_inter_mode() local
766 for (mode_index = 0; mode_index < MAX_MODES; ++mode_index) { in vp8_pick_inter_mode()
769 int this_ref_frame = ref_frame_map[vp8_ref_frame_order[mode_index]]; in vp8_pick_inter_mode()
771 if (best_rd <= x->rd_threshes[mode_index]) continue; in vp8_pick_inter_mode()
791 if (vp8_mode_order[mode_index] == NEARESTMV && in vp8_pick_inter_mode()
794 if (vp8_mode_order[mode_index] == NEARMV && mode_mv[NEARMV].as_int == 0) in vp8_pick_inter_mode()
797 if (vp8_mode_order[mode_index] == NEWMV && parent_mode == ZEROMV && in vp8_pick_inter_mode()
800 else if (vp8_mode_order[mode_index] == NEWMV && dissim == 0 && in vp8_pick_inter_mode()
810 if (x->mode_test_hit_counts[mode_index] && in vp8_pick_inter_mode()
811 (cpi->mode_check_freq[mode_index] > 1)) { in vp8_pick_inter_mode()
[all …]
Drdopt.c1755 int mode_index; in vp8_rd_pick_inter_mode() local
1818 for (mode_index = 0; mode_index < MAX_MODES; ++mode_index) { in vp8_rd_pick_inter_mode()
1822 int this_ref_frame = ref_frame_map[vp8_ref_frame_order[mode_index]]; in vp8_rd_pick_inter_mode()
1825 if (best_mode.rd <= x->rd_threshes[mode_index]) continue; in vp8_rd_pick_inter_mode()
1835 this_mode = vp8_mode_order[mode_index]; in vp8_rd_pick_inter_mode()
1868 if (x->mode_test_hit_counts[mode_index] && in vp8_rd_pick_inter_mode()
1869 (cpi->mode_check_freq[mode_index] > 1)) { in vp8_rd_pick_inter_mode()
1870 if (x->mbs_tested_so_far <= cpi->mode_check_freq[mode_index] * in vp8_rd_pick_inter_mode()
1871 x->mode_test_hit_counts[mode_index]) { in vp8_rd_pick_inter_mode()
1875 x->rd_thresh_mult[mode_index] += 4; in vp8_rd_pick_inter_mode()
[all …]
/external/libvpx/libvpx/vp8/common/
Dvp8_loopfilter.c182 const int mode_index = lfi_n->mode_lf_lut[mode_info_context->mbmi.mode]; in vp8_loop_filter_row_normal() local
186 filter_level = lfi_n->lvl[seg][ref_frame][mode_index]; in vp8_loop_filter_row_normal()
235 const int mode_index = lfi_n->mode_lf_lut[mode_info_context->mbmi.mode]; in vp8_loop_filter_row_simple() local
239 filter_level = lfi_n->lvl[seg][ref_frame][mode_index]; in vp8_loop_filter_row_simple()
302 const int mode_index = lfi_n->mode_lf_lut[mode_info_context->mbmi.mode]; in vp8_loop_filter_frame() local
306 filter_level = lfi_n->lvl[seg][ref_frame][mode_index]; in vp8_loop_filter_frame()
352 const int mode_index = lfi_n->mode_lf_lut[mode_info_context->mbmi.mode]; in vp8_loop_filter_frame() local
356 filter_level = lfi_n->lvl[seg][ref_frame][mode_index]; in vp8_loop_filter_frame()
423 const int mode_index = lfi_n->mode_lf_lut[mode_info_context->mbmi.mode]; in vp8_loop_filter_frame_yonly() local
427 filter_level = lfi_n->lvl[seg][ref_frame][mode_index]; in vp8_loop_filter_frame_yonly()
[all …]
/external/libvpx/libvpx/vp9/encoder/
Dvp9_pickmode.c1945 int mode_index; in vp9_pick_inter_mode() local
2117 mode_index = mode_idx[ref_frame][INTER_OFFSET(this_mode)]; in vp9_pick_inter_mode()
2119 ? rd_threshes[mode_index] << 1 in vp9_pick_inter_mode()
2120 : rd_threshes[mode_index]; in vp9_pick_inter_mode()
2130 &rd_thresh_freq_fact[mode_index])) || in vp9_pick_inter_mode()
2133 &rd_thresh_freq_fact[mode_index]))) in vp9_pick_inter_mode()
2439 THR_MODES mode_index = mode_idx[INTRA_FRAME][mode_offset(this_mode)]; in vp9_pick_inter_mode() local
2440 int mode_rd_thresh = rd_threshes[mode_index]; in vp9_pick_inter_mode()
2451 &rd_thresh_freq_fact[mode_index])) || in vp9_pick_inter_mode()
2454 &rd_thresh_freq_fact[mode_index]))) in vp9_pick_inter_mode()
Dvp9_rdopt.c2261 MACROBLOCK *x, PICK_MODE_CONTEXT *ctx, int mode_index, in store_coding_context() argument
2270 ctx->best_mode_index = mode_index; in store_coding_context()
3337 int mode_index = mode_map[midx]; in vp9_rd_pick_inter_mode_sb() local
3349 this_mode = vp9_mode_order[mode_index].mode; in vp9_rd_pick_inter_mode_sb()
3350 ref_frame = vp9_mode_order[mode_index].ref_frame[0]; in vp9_rd_pick_inter_mode_sb()
3351 second_ref_frame = vp9_mode_order[mode_index].ref_frame[1]; in vp9_rd_pick_inter_mode_sb()
3385 mode_threshold[mode_index] <<= 1; in vp9_rd_pick_inter_mode_sb()
3387 if (best_rd < mode_threshold[mode_index]) continue; in vp9_rd_pick_inter_mode_sb()
3620 best_mode_index = mode_index; in vp9_rd_pick_inter_mode_sb()
3649 (mode_index > MIN_EARLY_TERM_INDEX)) { in vp9_rd_pick_inter_mode_sb()
/external/libaom/libaom/av1/encoder/
Drdopt.c6990 int mode_index, in store_coding_context() argument
6999 ctx->best_mode_index = mode_index; in store_coding_context()
9395 for (int mode_index = (int)SIMPLE_TRANSLATION; in motion_mode_rd() local
9396 mode_index <= (int)last_motion_mode_allowed + interintra_allowed; in motion_mode_rd()
9397 mode_index++) { in motion_mode_rd()
9398 if (args->skip_motion_mode && mode_index) continue; in motion_mode_rd()
9400 args->single_ref_first_pass && mode_index) in motion_mode_rd()
9403 const int is_interintra_mode = mode_index > (int)last_motion_mode_allowed; in motion_mode_rd()
9410 mbmi->motion_mode = (MOTION_MODE)mode_index; in motion_mode_rd()
9636 if (rd_stats_y->rate == INT_MAX && mode_index == 0) { in motion_mode_rd()
[all …]
/external/libvpx/libvpx/vp8/decoder/
Dthreading.c451 const int mode_index = in mt_decode_mb_rows() local
456 filter_level = lfi_n->lvl[seg][ref_frame][mode_index]; in mt_decode_mb_rows()