/external/libvpx/vp9/common/ |
D | vp9_pred_common.c | 45 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 …]
|
D | vp9_pred_common.h | 42 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 …]
|
D | vp9_blockd.c | 26 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()
|
D | vp9_blockd.h | 115 const MODE_INFO *above_mi, int b); 170 MODE_INFO *above_mi; member 270 const MODE_INFO *above_mi, in get_y_mode_probs() argument 273 const PREDICTION_MODE above = vp9_above_block_mode(mi, above_mi, block); in get_y_mode_probs()
|
D | vp9_onyxc_int.h | 431 xd->above_mi = (mi_row != 0) ? xd->mi[-xd->mi_stride] : NULL; in set_mi_row_col()
|
D | vp9_reconintra.c | 411 const int have_top = loff || (xd->above_mi != NULL); in vp9_predict_intra_block()
|
/external/libaom/av1/common/ |
D | pred_common.h | 94 const MB_MODE_INFO *const above_mi = xd->above_mbmi; in av1_get_pred_context_seg_id() local 96 const int above_sip = (above_mi != NULL) ? above_mi->seg_id_predicted : 0; in av1_get_pred_context_seg_id() 118 const MB_MODE_INFO *const above_mi = xd->above_mbmi; in get_comp_index_context() local 124 if (above_mi != NULL) { in get_comp_index_context() 125 if (has_second_ref(above_mi)) in get_comp_index_context() 126 above_ctx = above_mi->compound_idx; in get_comp_index_context() 127 else if (above_mi->ref_frame[0] == ALTREF_FRAME) in get_comp_index_context() 142 const MB_MODE_INFO *const above_mi = xd->above_mbmi; in get_comp_group_idx_context() local 146 if (above_mi) { in get_comp_group_idx_context() 147 if (has_second_ref(above_mi)) in get_comp_group_idx_context() [all …]
|
D | obmc.h | 36 MB_MODE_INFO **above_mi = prev_row_mi + above_mi_col; in foreach_overlappable_nb_above() local 38 AOMMIN(mi_size_wide[above_mi[0]->bsize], mi_size_wide[BLOCK_64X64]); in foreach_overlappable_nb_above() 46 above_mi = prev_row_mi + above_mi_col + 1; in foreach_overlappable_nb_above() 49 if (is_neighbor_overlappable(*above_mi)) { in foreach_overlappable_nb_above() 52 *above_mi, fun_ctxt, num_planes); in foreach_overlappable_nb_above()
|
D | blockd.c | 23 PREDICTION_MODE av1_above_block_mode(const MB_MODE_INFO *above_mi) { in av1_above_block_mode() argument 24 if (!above_mi) return DC_PRED; in av1_above_block_mode() 25 assert(!is_inter_block(above_mi) || is_intrabc_block(above_mi)); in av1_above_block_mode() 26 return above_mi->mode; in av1_above_block_mode()
|
D | pred_common.c | 77 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()
|
D | av1_common_int.h | 1412 const MB_MODE_INFO *above_mi, in get_y_mode_cdf() argument 1414 const PREDICTION_MODE above = av1_above_block_mode(above_mi); in get_y_mode_cdf()
|
D | reconinter.c | 846 int dir, MB_MODE_INFO *above_mi, void *fun_ctxt, const int num_planes) { in build_obmc_inter_pred_above() argument 847 (void)above_mi; in build_obmc_inter_pred_above()
|
D | blockd.h | 419 PREDICTION_MODE av1_above_block_mode(const MB_MODE_INFO *above_mi);
|
/external/libvpx/vp9/decoder/ |
D | vp9_decodemv.c | 197 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() 846 (xd->above_mi == NULL || xd->left_mi == NULL) && in vp9_read_mode_info()
|
/external/libvpx/vp9/encoder/ |
D | vp9_mbgraph.c | 233 xd->above_mi = NULL; in update_mbgraph_frame_stats() 272 xd->above_mi = &mi_above; in update_mbgraph_frame_stats()
|
D | vp9_pickmode.c | 1167 const MODE_INFO *above_mi = xd->above_mi; in vp9_pick_intra_mode() local 1169 const PREDICTION_MODE A = vp9_above_block_mode(mic, above_mi, 0); in vp9_pick_intra_mode() 1315 if (xd->above_mi) { in vp9_NEWMV_diff_bias() 1316 above_mv_valid = xd->above_mi->mv[0].as_int != INVALID_MV; in vp9_NEWMV_diff_bias() 1317 above_row = xd->above_mi->mv[0].as_mv.row; in vp9_NEWMV_diff_bias() 1318 above_col = xd->above_mi->mv[0].as_mv.col; in vp9_NEWMV_diff_bias() 1865 if (xd->above_mi && is_inter_block(xd->above_mi)) in vp9_pick_inter_mode() 1866 filter_ref = xd->above_mi->interp_filter; in vp9_pick_inter_mode()
|
D | vp9_bitstream.c | 346 const MODE_INFO *const above_mi = xd->above_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()
|
D | vp9_rdopt.c | 1331 const MODE_INFO *above_mi = xd->above_mi; in rd_pick_intra_sub_8x8_y_mode() local 1351 const PREDICTION_MODE A = vp9_above_block_mode(mic, above_mi, i); in rd_pick_intra_sub_8x8_y_mode() 1400 const MODE_INFO *above_mi = xd->above_mi; in rd_pick_intra_sby_mode() local 1402 const PREDICTION_MODE A = vp9_above_block_mode(mic, above_mi, 0); in rd_pick_intra_sby_mode() 1511 (xd->above_mi == NULL || xd->left_mi == NULL) && need_top_left[mode]) in rd_pick_intra_sbuv_mode() 2807 if (xd->above_mi && is_inter_block(xd->above_mi)) in handle_inter_mode() 2808 af = xd->above_mi->interp_filter; in handle_inter_mode()
|
D | vp9_encodeframe.c | 2956 const int above_in_image = !!xd->above_mi; in rd_auto_partition_range() 3059 if (xd->above_mi) { in set_partition_range() 3143 const int above_in_image = !!xd->above_mi; in ml_pruning_partition() 3177 context_size = xd->above_mi->sb_type; in ml_pruning_partition() 3549 const int has_above = !!xd->above_mi; in ml_predict_var_rd_paritioning() 3551 const BLOCK_SIZE above_bsize = has_above ? xd->above_mi->sb_type : bsize; in ml_predict_var_rd_paritioning() 6454 (xd->above_mi == NULL || xd->left_mi == NULL) && in encode_superblock()
|
/external/libaom/av1/encoder/ |
D | encodeframe_utils.h | 380 const MB_MODE_INFO *above_mi,
|
D | encodeframe_utils.c | 472 const MB_MODE_INFO *above_mi, in av1_sum_intra_stats() argument 481 const PREDICTION_MODE above = av1_above_block_mode(above_mi); in av1_sum_intra_stats() 487 update_cdf(get_y_mode_cdf(fc, above_mi, left_mi), y_mode, INTRA_MODES); in av1_sum_intra_stats()
|
D | intra_mode_search.c | 1456 const MB_MODE_INFO *above_mi = xd->above_mbmi; in av1_rd_pick_intra_sby_mode() local 1458 const PREDICTION_MODE A = av1_above_block_mode(above_mi); in av1_rd_pick_intra_sby_mode()
|
D | bitstream.c | 73 const MB_MODE_INFO *above_mi, in write_intra_y_mode_kf() argument 79 aom_write_symbol(w, mode, get_y_mode_cdf(frame_ctx, above_mi, left_mi), in write_intra_y_mode_kf() 1010 const MB_MODE_INFO *const above_mi = xd->above_mbmi; in write_intra_prediction_modes() local 1012 write_intra_y_mode_kf(ec_ctx, mbmi, above_mi, left_mi, mode, w); in write_intra_prediction_modes()
|
D | rdopt.c | 2165 MB_MODE_INFO **above_mi = prev_row_mi + above_mi_col; in find_ref_match_in_above_nbs() local 2166 mi_step = mi_size_wide[above_mi[0]->bsize]; in find_ref_match_in_above_nbs() 2168 if (is_inter_block(*above_mi)) in find_ref_match_in_above_nbs() 2169 match_found = ref_match_found_in_nb_blocks(*cur_mbmi, *above_mi); in find_ref_match_in_above_nbs()
|
/external/libaom/av1/decoder/ |
D | decodemv.c | 776 const MB_MODE_INFO *above_mi = xd->above_mbmi; in read_intra_frame_mode_info() local 814 mbmi->mode = read_intra_mode(r, get_y_mode_cdf(ec_ctx, above_mi, left_mi)); in read_intra_frame_mode_info()
|