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

/external/libvpx/libvpx/vp9/common/
H A Dvp9_pred_common.c19 const MODE_INFO *const above_mi = xd->above_mi; local
21 const int has_above = !!above_mi;
28 if (!has_second_ref(above_mi) && !has_second_ref(left_mi))
30 ctx = (above_mi->ref_frame[0] == cm->comp_fixed_ref) ^
32 else if (!has_second_ref(above_mi))
34 ctx = 2 + (above_mi->ref_frame[0] == cm->comp_fixed_ref ||
35 !is_inter_block(above_mi));
43 const MODE_INFO *edge_mi = has_above ? above_mi : left_mi;
62 const MODE_INFO *const above_mi local
143 const MODE_INFO *const above_mi = xd->above_mi; local
209 const MODE_INFO *const above_mi = xd->above_mi; local
[all...]
H A Dvp9_pred_common.h42 const MODE_INFO *const above_mi = xd->above_mi; local
44 const int above_sip = (above_mi != NULL) ? above_mi->seg_id_predicted : 0;
56 const MODE_INFO *const above_mi = xd->above_mi; local
58 const int above_skip = (above_mi != NULL) ? above_mi->skip : 0;
76 const MODE_INFO *const above_mi = xd->above_mi; local
98 const MODE_INFO *const above_mi = xd->above_mi; local
154 const MODE_INFO *const above_mi = xd->above_mi; local
[all...]
H A Dvp9_blockd.c26 const MODE_INFO *above_mi, int b) {
28 if (!above_mi || is_inter_block(above_mi)) return DC_PRED;
30 return get_y_mode(above_mi, b + 2);
25 vp9_above_block_mode(const MODE_INFO *cur_mi, const MODE_INFO *above_mi, int b) argument
H A Dvp9_blockd.h107 const MODE_INFO *above_mi, int b);
160 MODE_INFO *above_mi; member in struct:macroblockd
258 const MODE_INFO *above_mi,
261 const PREDICTION_MODE above = vp9_above_block_mode(mi, above_mi, block);
257 get_y_mode_probs(const MODE_INFO *mi, const MODE_INFO *above_mi, const MODE_INFO *left_mi, int block) argument
H A Dvp9_onyxc_int.h403 xd->above_mi = (mi_row != 0) ? xd->mi[-xd->mi_stride] : NULL;
H A Dvp9_reconintra.c411 const int have_top = loff || (xd->above_mi != NULL);
/external/libvpx/libvpx/vp9/decoder/
H A Dvp9_decodemv.c197 const MODE_INFO *above_mi = xd->above_mi; local
213 read_intra_mode(r, get_y_mode_probs(mi, above_mi, left_mi, i));
218 read_intra_mode(r, get_y_mode_probs(mi, above_mi, left_mi, 0));
220 read_intra_mode(r, get_y_mode_probs(mi, above_mi, left_mi, 1));
224 read_intra_mode(r, get_y_mode_probs(mi, above_mi, left_mi, 0));
226 read_intra_mode(r, get_y_mode_probs(mi, above_mi, left_mi, 2));
229 mi->mode = read_intra_mode(r, get_y_mode_probs(mi, above_mi, left_mi, 0));
858 (xd->above_mi == NULL || xd->left_mi == NULL) &&
/external/libvpx/libvpx/vp9/encoder/
H A Dvp9_mbgraph.c232 xd->above_mi = NULL;
275 xd->above_mi = &mi_above;
H A Dvp9_pickmode.c1087 const MODE_INFO *above_mi = xd->above_mi; local
1089 const PREDICTION_MODE A = vp9_above_block_mode(mic, above_mi, 0);
1246 if (xd->above_mi) {
1247 above_mv_valid = xd->above_mi->mv[0].as_int != INVALID_MV;
1248 above_row = xd->above_mi->mv[0].as_mv.row;
1249 above_col = xd->above_mi->mv[0].as_mv.col;
1522 if (xd->above_mi && is_inter_block(xd->above_mi))
1523 filter_ref = xd->above_mi
[all...]
H A Dvp9_bitstream.c340 const MODE_INFO *const above_mi = xd->above_mi; local
352 write_intra_mode(w, mi->mode, get_y_mode_probs(mi, above_mi, left_mi, 0));
362 get_y_mode_probs(mi, above_mi, left_mi, block));
H A Dvp9_rdopt.c1187 const MODE_INFO *above_mi = xd->above_mi; local
1207 const PREDICTION_MODE A = vp9_above_block_mode(mic, above_mi, i);
1256 const MODE_INFO *above_mi = xd->above_mi; local
1258 const PREDICTION_MODE A = vp9_above_block_mode(mic, above_mi, 0);
1366 (xd->above_mi == NULL || xd->left_mi == NULL) && need_top_left[mode])
2523 if (xd->above_mi && is_inter_block(xd->above_mi))
2524 af = xd->above_mi
[all...]
H A Dvp9_encodeframe.c2627 const int above_in_image = !!xd->above_mi;
2730 if (xd->above_mi) {
2815 const int above_in_image = !!xd->above_mi;
2828 context_size = xd->above_mi->sb_type;
4819 (xd->above_mi == NULL || xd->left_mi == NULL) &&
H A Dvp9_firstpass.c940 // above_mi/left_mi must be overwritten with a nonzero value when edges
942 xd->above_mi = (mb_row != 0) ? &mi_above : NULL;

Completed in 392 milliseconds