Home
last modified time | relevance | path

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

/external/libvpx/libvpx/vp9/common/
Dvp9_pred_common.c45 const MODE_INFO *const above_mi = xd->above_mi; in vp9_get_reference_mode_context() local
47 const int has_above = !!above_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()
56 ctx = (above_mi->ref_frame[0] == cm->comp_fixed_ref) ^ in vp9_get_reference_mode_context()
58 else if (!has_second_ref(above_mi)) in vp9_get_reference_mode_context()
60 ctx = 2 + (above_mi->ref_frame[0] == cm->comp_fixed_ref || in vp9_get_reference_mode_context()
61 !is_inter_block(above_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()
88 const MODE_INFO *const above_mi = xd->above_mi; in vp9_get_pred_context_comp_ref_p() local
90 const int above_in_image = !!above_mi; in vp9_get_pred_context_comp_ref_p()
[all …]
Dvp9_pred_common.h42 const MODE_INFO *const above_mi = xd->above_mi; in vp9_get_pred_context_seg_id() local
44 const int above_sip = (above_mi != NULL) ? above_mi->seg_id_predicted : 0; in vp9_get_pred_context_seg_id()
56 const MODE_INFO *const above_mi = xd->above_mi; in vp9_get_skip_context() local
58 const int above_skip = (above_mi != NULL) ? above_mi->skip : 0; in vp9_get_skip_context()
76 const MODE_INFO *const above_mi = xd->above_mi; in get_pred_context_switchable_interp() local
78 above_mi ? above_mi->interp_filter : SWITCHABLE_FILTERS; in get_pred_context_switchable_interp()
98 const MODE_INFO *const above_mi = xd->above_mi; in get_intra_inter_context() local
100 const int has_above = !!above_mi; in get_intra_inter_context()
104 const int above_intra = !is_inter_block(above_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.c26 const MODE_INFO *above_mi, int b) { in vp9_above_block_mode() argument
28 if (!above_mi || is_inter_block(above_mi)) return DC_PRED; in vp9_above_block_mode()
30 return get_y_mode(above_mi, b + 2); in vp9_above_block_mode()
Dvp9_blockd.h108 const MODE_INFO *above_mi, int b);
163 MODE_INFO *above_mi; member
263 const MODE_INFO *above_mi, in get_y_mode_probs() argument
266 const PREDICTION_MODE above = vp9_above_block_mode(mi, above_mi, block); in get_y_mode_probs()
Dvp9_onyxc_int.h381 xd->above_mi = (mi_row != 0) ? xd->mi[-xd->mi_stride] : NULL; in set_mi_row_col()
Dvp9_reconintra.c411 const int have_top = loff || (xd->above_mi != NULL); in vp9_predict_intra_block()
/external/libaom/libaom/av1/common/
Dpred_common.h86 const MB_MODE_INFO *const above_mi = xd->above_mbmi; in av1_get_pred_context_seg_id() local
88 const int above_sip = (above_mi != NULL) ? above_mi->seg_id_predicted : 0; in av1_get_pred_context_seg_id()
110 const MB_MODE_INFO *const above_mi = xd->above_mbmi; in get_comp_index_context() local
116 if (above_mi != NULL) { in get_comp_index_context()
117 if (has_second_ref(above_mi)) in get_comp_index_context()
118 above_ctx = above_mi->compound_idx; in get_comp_index_context()
119 else if (above_mi->ref_frame[0] == ALTREF_FRAME) in get_comp_index_context()
134 const MB_MODE_INFO *const above_mi = xd->above_mbmi; in get_comp_group_idx_context() local
138 if (above_mi) { in get_comp_group_idx_context()
139 if (has_second_ref(above_mi)) in get_comp_group_idx_context()
[all …]
Dobmc.h37 MB_MODE_INFO **above_mi = prev_row_mi + above_mi_col; in foreach_overlappable_nb_above() local
39 AOMMIN(mi_size_wide[above_mi[0]->sb_type], mi_size_wide[BLOCK_64X64]); in foreach_overlappable_nb_above()
47 above_mi = prev_row_mi + above_mi_col + 1; in foreach_overlappable_nb_above()
50 if (is_neighbor_overlappable(*above_mi)) { in foreach_overlappable_nb_above()
52 fun(xd, above_mi_col - mi_col, AOMMIN(xd->n4_w, mi_step), *above_mi, in foreach_overlappable_nb_above()
Dblockd.c25 PREDICTION_MODE av1_above_block_mode(const MB_MODE_INFO *above_mi) { in av1_above_block_mode() argument
26 if (!above_mi) return DC_PRED; in av1_above_block_mode()
27 assert(!is_inter_block(above_mi) || is_intrabc_block(above_mi)); in av1_above_block_mode()
28 return above_mi->mode; in av1_above_block_mode()
Dpred_common.c77 const MB_MODE_INFO *const above_mi = in av1_get_palette_cache() local
81 if (above_mi) above_n = above_mi->palette_mode_info.palette_size[plane != 0]; in av1_get_palette_cache()
88 above_mi ? above_mi->palette_mode_info.palette_colors : NULL; in av1_get_palette_cache()
Donyxc_int.h896 const MB_MODE_INFO *above_mi, in get_y_mode_cdf() argument
898 const PREDICTION_MODE above = av1_above_block_mode(above_mi); in get_y_mode_cdf()
Dreconinter.c810 MB_MODE_INFO *above_mi, in build_obmc_inter_pred_above() argument
813 (void)above_mi; in build_obmc_inter_pred_above()
Dblockd.h348 PREDICTION_MODE av1_above_block_mode(const MB_MODE_INFO *above_mi);
/external/libvpx/libvpx/vp9/decoder/
Dvp9_decodemv.c197 const MODE_INFO *above_mi = xd->above_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.c233 xd->above_mi = NULL; in update_mbgraph_frame_stats()
276 xd->above_mi = &mi_above; in update_mbgraph_frame_stats()
Dvp9_pickmode.c1123 const MODE_INFO *above_mi = xd->above_mi; in vp9_pick_intra_mode() local
1125 const PREDICTION_MODE A = vp9_above_block_mode(mic, above_mi, 0); in vp9_pick_intra_mode()
1271 if (xd->above_mi) { in vp9_NEWMV_diff_bias()
1272 above_mv_valid = xd->above_mi->mv[0].as_int != INVALID_MV; in vp9_NEWMV_diff_bias()
1273 above_row = xd->above_mi->mv[0].as_mv.row; in vp9_NEWMV_diff_bias()
1274 above_col = xd->above_mi->mv[0].as_mv.col; in vp9_NEWMV_diff_bias()
1788 if (xd->above_mi && is_inter_block(xd->above_mi)) in vp9_pick_inter_mode()
1789 filter_ref = xd->above_mi->interp_filter; in vp9_pick_inter_mode()
Dvp9_bitstream.c341 const MODE_INFO *const above_mi = xd->above_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.c1179 const MODE_INFO *above_mi = xd->above_mi; in rd_pick_intra_sub_8x8_y_mode() local
1199 const PREDICTION_MODE A = vp9_above_block_mode(mic, above_mi, i); in rd_pick_intra_sub_8x8_y_mode()
1248 const MODE_INFO *above_mi = xd->above_mi; in rd_pick_intra_sby_mode() local
1250 const PREDICTION_MODE A = vp9_above_block_mode(mic, above_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()
2645 if (xd->above_mi && is_inter_block(xd->above_mi)) in handle_inter_mode()
2646 af = xd->above_mi->interp_filter; in handle_inter_mode()
Dvp9_encodeframe.c2895 const int above_in_image = !!xd->above_mi; in rd_auto_partition_range()
2998 if (xd->above_mi) { in set_partition_range()
3128 const int above_in_image = !!xd->above_mi; in ml_pruning_partition()
3162 context_size = xd->above_mi->sb_type; in ml_pruning_partition()
6103 (xd->above_mi == NULL || xd->left_mi == NULL) && in encode_superblock()
Dvp9_firstpass.c915 xd->above_mi = (mb_row != 0) ? &mi_above : NULL; in vp9_first_pass_encode_tile_mb_row()
Dvp9_encoder.c5902 xd->above_mi = (mi_row > 0) ? &mi_above : NULL;
/external/libaom/libaom/av1/decoder/
Ddecodemv.c750 const MB_MODE_INFO *above_mi = xd->above_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.c71 const MB_MODE_INFO *above_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()
998 const MB_MODE_INFO *const above_mi = xd->above_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.c789 const MB_MODE_INFO *above_mi, in sum_intra_stats() argument
801 const PREDICTION_MODE above = av1_above_block_mode(above_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.c4815 const MB_MODE_INFO *above_mi = xd->above_mbmi; in rd_pick_intra_sby_mode() local
4817 const PREDICTION_MODE A = av1_above_block_mode(above_mi); in rd_pick_intra_sby_mode()