Home
last modified time | relevance | path

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

/external/libvpx/libvpx/vp9/common/
Dvp9_pred_common.c19 const MODE_INFO *const above_mi = xd->above_mi; in vp9_get_reference_mode_context() local
21 const int has_above = !!above_mi; in vp9_get_reference_mode_context()
28 if (!has_second_ref(above_mi) && !has_second_ref(left_mi)) in vp9_get_reference_mode_context()
30 ctx = (above_mi->ref_frame[0] == cm->comp_fixed_ref) ^ in vp9_get_reference_mode_context()
32 else if (!has_second_ref(above_mi)) in vp9_get_reference_mode_context()
34 ctx = 2 + (above_mi->ref_frame[0] == cm->comp_fixed_ref || in vp9_get_reference_mode_context()
35 !is_inter_block(above_mi)); in vp9_get_reference_mode_context()
43 const MODE_INFO *edge_mi = has_above ? above_mi : left_mi; in vp9_get_reference_mode_context()
62 const MODE_INFO *const above_mi = xd->above_mi; in vp9_get_pred_context_comp_ref_p() local
64 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.h107 const MODE_INFO *above_mi, int b);
160 MODE_INFO *above_mi; member
258 const MODE_INFO *above_mi, in get_y_mode_probs() argument
261 const PREDICTION_MODE above = vp9_above_block_mode(mi, above_mi, block); in get_y_mode_probs()
Dvp9_onyxc_int.h403 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/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()
858 (xd->above_mi == NULL || xd->left_mi == NULL) && in vp9_read_mode_info()
/external/libvpx/libvpx/vp9/encoder/
Dvp9_mbgraph.c232 xd->above_mi = NULL; in update_mbgraph_frame_stats()
275 xd->above_mi = &mi_above; in update_mbgraph_frame_stats()
Dvp9_pickmode.c1087 const MODE_INFO *above_mi = xd->above_mi; in vp9_pick_intra_mode() local
1089 const PREDICTION_MODE A = vp9_above_block_mode(mic, above_mi, 0); in vp9_pick_intra_mode()
1246 if (xd->above_mi) { in vp9_NEWMV_diff_bias()
1247 above_mv_valid = xd->above_mi->mv[0].as_int != INVALID_MV; in vp9_NEWMV_diff_bias()
1248 above_row = xd->above_mi->mv[0].as_mv.row; in vp9_NEWMV_diff_bias()
1249 above_col = xd->above_mi->mv[0].as_mv.col; in vp9_NEWMV_diff_bias()
1522 if (xd->above_mi && is_inter_block(xd->above_mi)) in vp9_pick_inter_mode()
1523 filter_ref = xd->above_mi->interp_filter; in vp9_pick_inter_mode()
Dvp9_bitstream.c340 const MODE_INFO *const above_mi = xd->above_mi; in write_mb_modes_kf() local
352 write_intra_mode(w, mi->mode, get_y_mode_probs(mi, above_mi, left_mi, 0)); in write_mb_modes_kf()
362 get_y_mode_probs(mi, above_mi, left_mi, block)); in write_mb_modes_kf()
Dvp9_rdopt.c1187 const MODE_INFO *above_mi = xd->above_mi; in rd_pick_intra_sub_8x8_y_mode() local
1207 const PREDICTION_MODE A = vp9_above_block_mode(mic, above_mi, i); in rd_pick_intra_sub_8x8_y_mode()
1256 const MODE_INFO *above_mi = xd->above_mi; in rd_pick_intra_sby_mode() local
1258 const PREDICTION_MODE A = vp9_above_block_mode(mic, above_mi, 0); in rd_pick_intra_sby_mode()
1366 (xd->above_mi == NULL || xd->left_mi == NULL) && need_top_left[mode]) in rd_pick_intra_sbuv_mode()
2523 if (xd->above_mi && is_inter_block(xd->above_mi)) in handle_inter_mode()
2524 af = xd->above_mi->interp_filter; in handle_inter_mode()
Dvp9_encodeframe.c2627 const int above_in_image = !!xd->above_mi; in rd_auto_partition_range()
2730 if (xd->above_mi) { in set_partition_range()
2815 const int above_in_image = !!xd->above_mi; in compute_score()
2828 context_size = xd->above_mi->sb_type; in compute_score()
4819 (xd->above_mi == NULL || xd->left_mi == NULL) && in encode_superblock()
Dvp9_firstpass.c942 xd->above_mi = (mb_row != 0) ? &mi_above : NULL; in vp9_first_pass_encode_tile_mb_row()