Home
last modified time | relevance | path

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

/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.h105 const MODE_INFO *left_mi, int b);
162 MODE_INFO *left_mi; member
264 const MODE_INFO *left_mi, in get_y_mode_probs() argument
267 const PREDICTION_MODE left = vp9_left_block_mode(mi, left_mi, block); in get_y_mode_probs()
Dvp9_onyxc_int.h382 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.h87 const MB_MODE_INFO *const left_mi = xd->left_mbmi; in av1_get_pred_context_seg_id() local
89 const int left_sip = (left_mi != NULL) ? left_mi->seg_id_predicted : 0; in av1_get_pred_context_seg_id()
111 const MB_MODE_INFO *const left_mi = xd->left_mbmi; in get_comp_index_context() local
123 if (left_mi != NULL) { in get_comp_index_context()
124 if (has_second_ref(left_mi)) in get_comp_index_context()
125 left_ctx = left_mi->compound_idx; in get_comp_index_context()
126 else if (left_mi->ref_frame[0] == ALTREF_FRAME) in get_comp_index_context()
135 const MB_MODE_INFO *const left_mi = xd->left_mbmi; in get_comp_group_idx_context() local
144 if (left_mi) { in get_comp_group_idx_context()
145 if (has_second_ref(left_mi)) in get_comp_group_idx_context()
[all …]
Dobmc.h75 MB_MODE_INFO **left_mi = prev_col_mi + left_mi_row * xd->mi_stride; in foreach_overlappable_nb_left() local
77 AOMMIN(mi_size_high[left_mi[0]->sb_type], mi_size_high[BLOCK_64X64]); in foreach_overlappable_nb_left()
80 left_mi = prev_col_mi + (left_mi_row + 1) * xd->mi_stride; in foreach_overlappable_nb_left()
83 if (is_neighbor_overlappable(*left_mi)) { in foreach_overlappable_nb_left()
85 fun(xd, left_mi_row - mi_row, AOMMIN(xd->n4_h, mi_step), *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()
Donyxc_int.h897 const MB_MODE_INFO *left_mi) { in get_y_mode_cdf() argument
899 const PREDICTION_MODE left = av1_left_block_mode(left_mi); in get_y_mode_cdf()
Dreconinter.c845 MB_MODE_INFO *left_mi, in build_obmc_inter_pred_left() argument
848 (void)left_mi; in build_obmc_inter_pred_left()
Dblockd.h346 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()
835 (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.c1124 const MODE_INFO *left_mi = xd->left_mi; in vp9_pick_intra_mode() local
1126 const PREDICTION_MODE L = vp9_left_block_mode(mic, left_mi, 0); in vp9_pick_intra_mode()
1276 if (xd->left_mi) { in vp9_NEWMV_diff_bias()
1277 left_mv_valid = xd->left_mi->mv[0].as_int != INVALID_MV; in vp9_NEWMV_diff_bias()
1278 left_row = xd->left_mi->mv[0].as_mv.row; in vp9_NEWMV_diff_bias()
1279 left_col = xd->left_mi->mv[0].as_mv.col; in vp9_NEWMV_diff_bias()
1790 else if (xd->left_mi && is_inter_block(xd->left_mi)) in vp9_pick_inter_mode()
1791 filter_ref = xd->left_mi->interp_filter; in vp9_pick_inter_mode()
Dvp9_bitstream.c342 const MODE_INFO *const left_mi = xd->left_mi; in write_mb_modes_kf() local
353 write_intra_mode(w, mi->mode, get_y_mode_probs(mi, above_mi, left_mi, 0)); in write_mb_modes_kf()
363 get_y_mode_probs(mi, above_mi, left_mi, block)); in write_mb_modes_kf()
Dvp9_rdopt.c1180 const MODE_INFO *left_mi = xd->left_mi; in rd_pick_intra_sub_8x8_y_mode() local
1200 const PREDICTION_MODE L = vp9_left_block_mode(mic, left_mi, i); in rd_pick_intra_sub_8x8_y_mode()
1249 const MODE_INFO *left_mi = xd->left_mi; in rd_pick_intra_sby_mode() local
1251 const PREDICTION_MODE L = vp9_left_block_mode(mic, left_mi, 0); in rd_pick_intra_sby_mode()
1358 (xd->above_mi == NULL || xd->left_mi == NULL) && need_top_left[mode]) in rd_pick_intra_sbuv_mode()
2647 if (xd->left_mi && is_inter_block(xd->left_mi)) in handle_inter_mode()
2648 lf = xd->left_mi->interp_filter; in handle_inter_mode()
Dvp9_firstpass.c916 xd->left_mi = ((mb_col << 1) > tile.mi_col_start) ? &mi_left : NULL; in vp9_first_pass_encode_tile_mb_row()
923 xd->left_mi = &mi_left; in vp9_first_pass_encode_tile_mb_row()
Dvp9_encodeframe.c2894 const int left_in_image = !!xd->left_mi; in rd_auto_partition_range()
2989 if (xd->left_mi) { in set_partition_range()
3127 const int left_in_image = !!xd->left_mi; in ml_pruning_partition()
3170 context_size = xd->left_mi->sb_type; in ml_pruning_partition()
6103 (xd->above_mi == NULL || xd->left_mi == NULL) && in encode_superblock()
Dvp9_encoder.c5903 xd->left_mi = (mi_col > 0) ? &mi_left : NULL;
/external/libaom/libaom/av1/decoder/
Ddecodemv.c751 const MB_MODE_INFO *left_mi = xd->left_mbmi; in read_intra_frame_mode_info() local
788 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.c72 const MB_MODE_INFO *left_mi, in write_intra_y_mode_kf() argument
76 aom_write_symbol(w, mode, get_y_mode_cdf(frame_ctx, above_mi, left_mi), in write_intra_y_mode_kf()
999 const MB_MODE_INFO *const left_mi = xd->left_mbmi; in write_intra_prediction_modes() local
1000 write_intra_y_mode_kf(ec_ctx, mbmi, above_mi, left_mi, mode, w); in write_intra_prediction_modes()
Dencodeframe.c790 const MB_MODE_INFO *left_mi, const int intraonly, in sum_intra_stats() argument
802 const PREDICTION_MODE left = av1_left_block_mode(left_mi); in sum_intra_stats()
808 update_cdf(get_y_mode_cdf(fc, above_mi, left_mi), y_mode, INTRA_MODES); in sum_intra_stats()
Drdopt.c4816 const MB_MODE_INFO *left_mi = xd->left_mbmi; in rd_pick_intra_sby_mode() local
4818 const PREDICTION_MODE L = av1_left_block_mode(left_mi); in rd_pick_intra_sby_mode()