Home
last modified time | relevance | path

Searched refs:left_mi (Results 1 – 25 of 28) sorted by relevance

12

/external/libvpx/vp9/common/
Dvp9_pred_common.c46 const MODE_INFO *const left_mi = xd->left_mi; in vp9_get_reference_mode_context() local
48 const int has_left = !!left_mi; in vp9_get_reference_mode_context()
54 if (!has_second_ref(above_mi) && !has_second_ref(left_mi)) in vp9_get_reference_mode_context()
57 (left_mi->ref_frame[0] == cm->comp_fixed_ref); in vp9_get_reference_mode_context()
62 else if (!has_second_ref(left_mi)) in vp9_get_reference_mode_context()
64 ctx = 2 + (left_mi->ref_frame[0] == cm->comp_fixed_ref || in vp9_get_reference_mode_context()
65 !is_inter_block(left_mi)); in vp9_get_reference_mode_context()
69 const MODE_INFO *edge_mi = has_above ? above_mi : left_mi; in vp9_get_reference_mode_context()
89 const MODE_INFO *const left_mi = xd->left_mi; in vp9_get_pred_context_comp_ref_p() local
91 const int left_in_image = !!left_mi; in vp9_get_pred_context_comp_ref_p()
[all …]
Dvp9_pred_common.h43 const MODE_INFO *const left_mi = xd->left_mi; in vp9_get_pred_context_seg_id() local
45 const int left_sip = (left_mi != NULL) ? left_mi->seg_id_predicted : 0; in vp9_get_pred_context_seg_id()
57 const MODE_INFO *const left_mi = xd->left_mi; in vp9_get_skip_context() local
59 const int left_skip = (left_mi != NULL) ? left_mi->skip : 0; in vp9_get_skip_context()
74 const MODE_INFO *const left_mi = xd->left_mi; in get_pred_context_switchable_interp() local
75 const int left_type = left_mi ? left_mi->interp_filter : SWITCHABLE_FILTERS; in get_pred_context_switchable_interp()
99 const MODE_INFO *const left_mi = xd->left_mi; in get_intra_inter_context() local
101 const int has_left = !!left_mi; in get_intra_inter_context()
105 const int left_intra = !is_inter_block(left_mi); in get_intra_inter_context()
108 return 2 * !is_inter_block(has_above ? above_mi : left_mi); in get_intra_inter_context()
[all …]
Dvp9_blockd.c14 const MODE_INFO *left_mi, int b) { in vp9_left_block_mode() argument
16 if (!left_mi || is_inter_block(left_mi)) return DC_PRED; in vp9_left_block_mode()
18 return get_y_mode(left_mi, b + 1); in vp9_left_block_mode()
Dvp9_blockd.h112 const MODE_INFO *left_mi, int b);
169 MODE_INFO *left_mi; member
271 const MODE_INFO *left_mi, in get_y_mode_probs() argument
274 const PREDICTION_MODE left = vp9_left_block_mode(mi, left_mi, block); in get_y_mode_probs()
Dvp9_onyxc_int.h432 xd->left_mi = (mi_col > tile->mi_col_start) ? xd->mi[-1] : NULL; in set_mi_row_col()
Dvp9_reconintra.c412 const int have_left = aoff || (xd->left_mi != NULL); in vp9_predict_intra_block()
/external/libaom/av1/common/
Dpred_common.h95 const MB_MODE_INFO *const left_mi = xd->left_mbmi; in av1_get_pred_context_seg_id() local
97 const int left_sip = (left_mi != NULL) ? left_mi->seg_id_predicted : 0; in av1_get_pred_context_seg_id()
119 const MB_MODE_INFO *const left_mi = xd->left_mbmi; in get_comp_index_context() local
131 if (left_mi != NULL) { in get_comp_index_context()
132 if (has_second_ref(left_mi)) in get_comp_index_context()
133 left_ctx = left_mi->compound_idx; in get_comp_index_context()
134 else if (left_mi->ref_frame[0] == ALTREF_FRAME) in get_comp_index_context()
143 const MB_MODE_INFO *const left_mi = xd->left_mbmi; in get_comp_group_idx_context() local
152 if (left_mi) { in get_comp_group_idx_context()
153 if (has_second_ref(left_mi)) in get_comp_group_idx_context()
[all …]
Dobmc.h73 MB_MODE_INFO **left_mi = prev_col_mi + left_mi_row * xd->mi_stride; in foreach_overlappable_nb_left() local
75 AOMMIN(mi_size_high[left_mi[0]->bsize], mi_size_high[BLOCK_64X64]); in foreach_overlappable_nb_left()
78 left_mi = prev_col_mi + (left_mi_row + 1) * xd->mi_stride; in foreach_overlappable_nb_left()
81 if (is_neighbor_overlappable(*left_mi)) { in foreach_overlappable_nb_left()
83 fun(xd, left_mi_row - mi_row, 0, AOMMIN(xd->height, mi_step), 1, *left_mi, in foreach_overlappable_nb_left()
Dblockd.c17 PREDICTION_MODE av1_left_block_mode(const MB_MODE_INFO *left_mi) { in av1_left_block_mode() argument
18 if (!left_mi) return DC_PRED; in av1_left_block_mode()
19 assert(!is_inter_block(left_mi) || is_intrabc_block(left_mi)); in av1_left_block_mode()
20 return left_mi->mode; in av1_left_block_mode()
Dpred_common.c79 const MB_MODE_INFO *const left_mi = xd->left_mbmi; in av1_get_palette_cache() local
82 if (left_mi) left_n = left_mi->palette_mode_info.palette_size[plane != 0]; in av1_get_palette_cache()
90 left_mi ? left_mi->palette_mode_info.palette_colors : NULL; in av1_get_palette_cache()
Dav1_common_int.h1413 const MB_MODE_INFO *left_mi) { in get_y_mode_cdf() argument
1415 const PREDICTION_MODE left = av1_left_block_mode(left_mi); in get_y_mode_cdf()
Dreconinter.c885 int dir, MB_MODE_INFO *left_mi, void *fun_ctxt, const int num_planes) { in build_obmc_inter_pred_left() argument
886 (void)left_mi; in build_obmc_inter_pred_left()
Dblockd.h417 PREDICTION_MODE av1_left_block_mode(const MB_MODE_INFO *left_mi);
/external/libvpx/vp9/decoder/
Dvp9_decodemv.c198 const MODE_INFO *left_mi = xd->left_mi; in read_intra_frame_mode_info() local
213 read_intra_mode(r, get_y_mode_probs(mi, above_mi, left_mi, i)); in read_intra_frame_mode_info()
218 read_intra_mode(r, get_y_mode_probs(mi, above_mi, left_mi, 0)); in read_intra_frame_mode_info()
220 read_intra_mode(r, get_y_mode_probs(mi, above_mi, left_mi, 1)); in read_intra_frame_mode_info()
224 read_intra_mode(r, get_y_mode_probs(mi, above_mi, left_mi, 0)); in read_intra_frame_mode_info()
226 read_intra_mode(r, get_y_mode_probs(mi, above_mi, left_mi, 2)); in read_intra_frame_mode_info()
229 mi->mode = read_intra_mode(r, get_y_mode_probs(mi, above_mi, left_mi, 0)); in read_intra_frame_mode_info()
846 (xd->above_mi == NULL || xd->left_mi == NULL) && in vp9_read_mode_info()
/external/libvpx/vp9/encoder/
Dvp9_mbgraph.c252 xd->left_mi = NULL; in update_mbgraph_frame_stats()
264 xd->left_mi = &mi_left; in update_mbgraph_frame_stats()
Dvp9_pickmode.c1168 const MODE_INFO *left_mi = xd->left_mi; in vp9_pick_intra_mode() local
1170 const PREDICTION_MODE L = vp9_left_block_mode(mic, left_mi, 0); in vp9_pick_intra_mode()
1320 if (xd->left_mi) { in vp9_NEWMV_diff_bias()
1321 left_mv_valid = xd->left_mi->mv[0].as_int != INVALID_MV; in vp9_NEWMV_diff_bias()
1322 left_row = xd->left_mi->mv[0].as_mv.row; in vp9_NEWMV_diff_bias()
1323 left_col = xd->left_mi->mv[0].as_mv.col; in vp9_NEWMV_diff_bias()
1867 else if (xd->left_mi && is_inter_block(xd->left_mi)) in vp9_pick_inter_mode()
1868 filter_ref = xd->left_mi->interp_filter; in vp9_pick_inter_mode()
Dvp9_bitstream.c347 const MODE_INFO *const left_mi = xd->left_mi; in write_mb_modes_kf() local
358 write_intra_mode(w, mi->mode, get_y_mode_probs(mi, above_mi, left_mi, 0)); in write_mb_modes_kf()
368 get_y_mode_probs(mi, above_mi, left_mi, block)); in write_mb_modes_kf()
Dvp9_rdopt.c1332 const MODE_INFO *left_mi = xd->left_mi; in rd_pick_intra_sub_8x8_y_mode() local
1352 const PREDICTION_MODE L = vp9_left_block_mode(mic, left_mi, i); in rd_pick_intra_sub_8x8_y_mode()
1401 const MODE_INFO *left_mi = xd->left_mi; in rd_pick_intra_sby_mode() local
1403 const PREDICTION_MODE L = vp9_left_block_mode(mic, left_mi, 0); in rd_pick_intra_sby_mode()
1511 (xd->above_mi == NULL || xd->left_mi == NULL) && need_top_left[mode]) in rd_pick_intra_sbuv_mode()
2809 if (xd->left_mi && is_inter_block(xd->left_mi)) in handle_inter_mode()
2810 lf = xd->left_mi->interp_filter; in handle_inter_mode()
Dvp9_encodeframe.c2955 const int left_in_image = !!xd->left_mi; in rd_auto_partition_range()
3050 if (xd->left_mi) { in set_partition_range()
3142 const int left_in_image = !!xd->left_mi; in ml_pruning_partition()
3185 context_size = xd->left_mi->sb_type; in ml_pruning_partition()
3550 const int has_left = !!xd->left_mi; in ml_predict_var_rd_paritioning()
3552 const BLOCK_SIZE left_bsize = has_left ? xd->left_mi->sb_type : bsize; in ml_predict_var_rd_paritioning()
6454 (xd->above_mi == NULL || xd->left_mi == NULL) && in encode_superblock()
/external/libaom/av1/encoder/
Dencodeframe_utils.h381 const MB_MODE_INFO *left_mi, const int intraonly);
Dencodeframe_utils.c473 const MB_MODE_INFO *left_mi, const int intraonly) { in av1_sum_intra_stats() argument
482 const PREDICTION_MODE left = av1_left_block_mode(left_mi); in av1_sum_intra_stats()
487 update_cdf(get_y_mode_cdf(fc, above_mi, left_mi), y_mode, INTRA_MODES); in av1_sum_intra_stats()
Dintra_mode_search.c1457 const MB_MODE_INFO *left_mi = xd->left_mbmi; in av1_rd_pick_intra_sby_mode() local
1459 const PREDICTION_MODE L = av1_left_block_mode(left_mi); in av1_rd_pick_intra_sby_mode()
Dbitstream.c74 const MB_MODE_INFO *left_mi, in write_intra_y_mode_kf() argument
79 aom_write_symbol(w, mode, get_y_mode_cdf(frame_ctx, above_mi, left_mi), in write_intra_y_mode_kf()
1011 const MB_MODE_INFO *const left_mi = xd->left_mbmi; in write_intra_prediction_modes() local
1012 write_intra_y_mode_kf(ec_ctx, mbmi, above_mi, left_mi, mode, w); in write_intra_prediction_modes()
Drdopt.c2187 MB_MODE_INFO **left_mi = prev_col_mi + left_mi_row * xd->mi_stride; in find_ref_match_in_left_nbs() local
2188 mi_step = mi_size_high[left_mi[0]->bsize]; in find_ref_match_in_left_nbs()
2190 if (is_inter_block(*left_mi)) in find_ref_match_in_left_nbs()
2191 match_found = ref_match_found_in_nb_blocks(*cur_mbmi, *left_mi); in find_ref_match_in_left_nbs()
/external/libaom/av1/decoder/
Ddecodemv.c777 const MB_MODE_INFO *left_mi = xd->left_mbmi; in read_intra_frame_mode_info() local
814 mbmi->mode = read_intra_mode(r, get_y_mode_cdf(ec_ctx, above_mi, left_mi)); in read_intra_frame_mode_info()

12