Home
last modified time | relevance | path

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

12

/external/libvpx/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.h106 const MODE_INFO *left_mi, int b);
163 MODE_INFO *left_mi; member
265 const MODE_INFO *left_mi, in get_y_mode_probs() argument
268 const PREDICTION_MODE left = vp9_left_block_mode(mi, left_mi, block); in get_y_mode_probs()
Dvp9_onyxc_int.h402 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/libaom/av1/common/
Dpred_common.h92 const MB_MODE_INFO *const left_mi = xd->left_mbmi; in av1_get_pred_context_seg_id() local
94 const int left_sip = (left_mi != NULL) ? left_mi->seg_id_predicted : 0; in av1_get_pred_context_seg_id()
116 const MB_MODE_INFO *const left_mi = xd->left_mbmi; in get_comp_index_context() local
128 if (left_mi != NULL) { in get_comp_index_context()
129 if (has_second_ref(left_mi)) in get_comp_index_context()
130 left_ctx = left_mi->compound_idx; in get_comp_index_context()
131 else if (left_mi->ref_frame[0] == ALTREF_FRAME) in get_comp_index_context()
140 const MB_MODE_INFO *const left_mi = xd->left_mbmi; in get_comp_group_idx_context() local
149 if (left_mi) { in get_comp_group_idx_context()
150 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]->sb_type], 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.c19 PREDICTION_MODE av1_left_block_mode(const MB_MODE_INFO *left_mi) { in av1_left_block_mode() argument
20 if (!left_mi) return DC_PRED; in av1_left_block_mode()
21 assert(!is_inter_block(left_mi) || is_intrabc_block(left_mi)); in av1_left_block_mode()
22 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.h1089 const MB_MODE_INFO *left_mi) { in get_y_mode_cdf() argument
1091 const PREDICTION_MODE left = av1_left_block_mode(left_mi); in get_y_mode_cdf()
Dreconinter.c1135 int dir, MB_MODE_INFO *left_mi, void *fun_ctxt, const int num_planes) { in build_obmc_inter_pred_left() argument
1136 (void)left_mi; in build_obmc_inter_pred_left()
Dblockd.h345 PREDICTION_MODE av1_left_block_mode(const MB_MODE_INFO *left_mi);
/external/libvpx/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()
836 (xd->above_mi == NULL || xd->left_mi == NULL) && in vp9_read_mode_info()
/external/libvpx/libvpx/vp9/encoder/
Dvp9_mbgraph.c254 xd->left_mi = NULL; in update_mbgraph_frame_stats()
266 xd->left_mi = &mi_left; in update_mbgraph_frame_stats()
Dvp9_pickmode.c1159 const MODE_INFO *left_mi = xd->left_mi; in vp9_pick_intra_mode() local
1161 const PREDICTION_MODE L = vp9_left_block_mode(mic, left_mi, 0); in vp9_pick_intra_mode()
1311 if (xd->left_mi) { in vp9_NEWMV_diff_bias()
1312 left_mv_valid = xd->left_mi->mv[0].as_int != INVALID_MV; in vp9_NEWMV_diff_bias()
1313 left_row = xd->left_mi->mv[0].as_mv.row; in vp9_NEWMV_diff_bias()
1314 left_col = xd->left_mi->mv[0].as_mv.col; in vp9_NEWMV_diff_bias()
1860 else if (xd->left_mi && is_inter_block(xd->left_mi)) in vp9_pick_inter_mode()
1861 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.c1319 const MODE_INFO *left_mi = xd->left_mi; in rd_pick_intra_sub_8x8_y_mode() local
1339 const PREDICTION_MODE L = vp9_left_block_mode(mic, left_mi, i); in rd_pick_intra_sub_8x8_y_mode()
1388 const MODE_INFO *left_mi = xd->left_mi; in rd_pick_intra_sby_mode() local
1390 const PREDICTION_MODE L = vp9_left_block_mode(mic, left_mi, 0); in rd_pick_intra_sby_mode()
1498 (xd->above_mi == NULL || xd->left_mi == NULL) && need_top_left[mode]) in rd_pick_intra_sbuv_mode()
2785 if (xd->left_mi && is_inter_block(xd->left_mi)) in handle_inter_mode()
2786 lf = xd->left_mi->interp_filter; in handle_inter_mode()
Dvp9_encodeframe.c2980 const int left_in_image = !!xd->left_mi; in rd_auto_partition_range()
3075 if (xd->left_mi) { in set_partition_range()
3215 const int left_in_image = !!xd->left_mi; in ml_pruning_partition()
3258 context_size = xd->left_mi->sb_type; in ml_pruning_partition()
3617 const int has_left = !!xd->left_mi; in ml_predict_var_rd_paritioning()
3619 const BLOCK_SIZE left_bsize = has_left ? xd->left_mi->sb_type : bsize; in ml_predict_var_rd_paritioning()
6396 (xd->above_mi == NULL || xd->left_mi == NULL) && in encode_superblock()
Dvp9_firstpass.c918 xd->left_mi = ((mb_col << 1) > tile.mi_col_start) ? &mi_left : NULL; in vp9_first_pass_encode_tile_mb_row()
925 xd->left_mi = &mi_left; in vp9_first_pass_encode_tile_mb_row()
/external/libaom/libaom/av1/decoder/
Ddecodemv.c770 const MB_MODE_INFO *left_mi = xd->left_mbmi; in read_intra_frame_mode_info() local
807 mbmi->mode = read_intra_mode(r, get_y_mode_cdf(ec_ctx, above_mi, left_mi)); in read_intra_frame_mode_info()
/external/libaom/libaom/av1/encoder/
Dbitstream.c70 const MB_MODE_INFO *left_mi, in write_intra_y_mode_kf() argument
75 aom_write_symbol(w, mode, get_y_mode_cdf(frame_ctx, above_mi, left_mi), in write_intra_y_mode_kf()
1000 const MB_MODE_INFO *const left_mi = xd->left_mbmi; in write_intra_prediction_modes() local
1001 write_intra_y_mode_kf(ec_ctx, mbmi, above_mi, left_mi, mode, w); in write_intra_prediction_modes()
Dnonrd_pickmode.c1430 const MB_MODE_INFO *left_mi = xd->left_mbmi; local
1432 const PREDICTION_MODE L = av1_left_block_mode(left_mi);
Dintra_mode_search.c1965 const MB_MODE_INFO *left_mi = xd->left_mbmi; in av1_rd_pick_intra_sby_mode() local
1967 const PREDICTION_MODE L = av1_left_block_mode(left_mi); in av1_rd_pick_intra_sby_mode()
Drdopt.c2102 MB_MODE_INFO **left_mi = prev_col_mi + left_mi_row * xd->mi_stride; in find_ref_match_in_left_nbs() local
2103 mi_step = mi_size_high[left_mi[0]->sb_type]; in find_ref_match_in_left_nbs()
2105 if (is_inter_block(*left_mi)) in find_ref_match_in_left_nbs()
2106 match_found = ref_match_found_in_nb_blocks(*cur_mbmi, *left_mi); in find_ref_match_in_left_nbs()

12