Home
last modified time | relevance | path

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

123

/hardware/ti/omap4-aah/
Dmapinfo.c26 mapinfo *mi; in parse_maps_line() local
35 mi = __real_malloc(sizeof(mapinfo) + (len - 47)); in parse_maps_line()
36 if(mi == 0) return 0; in parse_maps_line()
38 mi->start = strtoul(line, 0, 16); in parse_maps_line()
39 mi->end = strtoul(line + 9, 0, 16); in parse_maps_line()
43 mi->next = 0; in parse_maps_line()
44 strcpy(mi->name, line + 49); in parse_maps_line()
46 return mi; in parse_maps_line()
57 mapinfo *mi = parse_maps_line(data); in init_mapinfo() local
58 if(mi) { in init_mapinfo()
[all …]
Dmapinfo.h12 void deinit_mapinfo(mapinfo *mi);
13 const char *map_to_name(mapinfo *mi, unsigned pc, const char* def);
14 const mapinfo *pc_to_mapinfo(mapinfo *mi, unsigned pc, unsigned *rel_pc);
Dheaptracker.c101 mapinfo *mi; in print_backtrace() local
112 mi = pc_to_mapinfo(milist, bt[cnt], &rel_pc); in print_backtrace()
114 mi ? rel_pc : bt[cnt], in print_backtrace()
115 mi ? mi->name : "(unknown)"); in print_backtrace()
/hardware/ti/omap4xxx/
Dmapinfo.c26 mapinfo *mi; in parse_maps_line() local
35 mi = __real_malloc(sizeof(mapinfo) + (len - 47)); in parse_maps_line()
36 if(mi == 0) return 0; in parse_maps_line()
38 mi->start = strtoul(line, 0, 16); in parse_maps_line()
39 mi->end = strtoul(line + 9, 0, 16); in parse_maps_line()
43 mi->next = 0; in parse_maps_line()
44 strcpy(mi->name, line + 49); in parse_maps_line()
46 return mi; in parse_maps_line()
57 mapinfo *mi = parse_maps_line(data); in init_mapinfo() local
58 if(mi) { in init_mapinfo()
[all …]
Dmapinfo.h12 void deinit_mapinfo(mapinfo *mi);
13 const char *map_to_name(mapinfo *mi, unsigned pc, const char* def);
14 const mapinfo *pc_to_mapinfo(mapinfo *mi, unsigned pc, unsigned *rel_pc);
Dheaptracker.c101 mapinfo *mi; in print_backtrace() local
112 mi = pc_to_mapinfo(milist, bt[cnt], &rel_pc); in print_backtrace()
114 mi ? rel_pc : bt[cnt], in print_backtrace()
115 mi ? mi->name : "(unknown)"); in print_backtrace()
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp8/decoder/
Ddecodemv.c49 static void read_kf_modes(VP8D_COMP *pbi, MODE_INFO *mi) in read_kf_modes() argument
54 mi->mbmi.ref_frame = INTRA_FRAME; in read_kf_modes()
55 mi->mbmi.mode = read_kf_ymode(bc, vp8_kf_ymode_prob); in read_kf_modes()
57 if (mi->mbmi.mode == B_PRED) in read_kf_modes()
60 mi->mbmi.is_4x4 = 1; in read_kf_modes()
64 const B_PREDICTION_MODE A = above_block_mode(mi, i, mis); in read_kf_modes()
65 const B_PREDICTION_MODE L = left_block_mode(mi, i); in read_kf_modes()
67 mi->bmi[i].as_mode = in read_kf_modes()
73 mi->mbmi.uv_mode = read_uv_mode(bc, vp8_kf_uv_mode_prob); in read_kf_modes()
230 static void decode_split_mv(vp8_reader *const bc, MODE_INFO *mi, in decode_split_mv() argument
[all …]
Derror_concealment.c282 MODE_INFO *mi, in estimate_mb_mvs() argument
290 MV * const filtered_mv = &(mi->mbmi.mv.as_mv); in estimate_mb_mvs()
291 union b_mode_info * const bmi = mi->bmi; in estimate_mb_mvs()
294 mi->mbmi.need_to_clamp_mvs = 0; in estimate_mb_mvs()
307 mi->mbmi.need_to_clamp_mvs |= vp8_check_mv_bounds( in estimate_mb_mvs()
350 MODE_INFO *mi, MODE_INFO *prev_mi, in estimate_missing_mvs() argument
377 mi += mb_row*(mb_cols + 1) + mb_col; in estimate_missing_mvs()
391 mi->mbmi.ref_frame = LAST_FRAME; in estimate_missing_mvs()
392 mi->mbmi.mode = SPLITMV; in estimate_missing_mvs()
393 mi->mbmi.uv_mode = DC_PRED; in estimate_missing_mvs()
[all …]
Donyxd_if.c379 cm->show_frame_mi = cm->mi; in vp8dx_receive_compressed_data()
388 pbi->common.prev_mi = pbi->common.mi; in vp8dx_receive_compressed_data()
389 pbi->common.mi = tmp; in vp8dx_receive_compressed_data()
397 pbi->common.mi[i].mbmi.segment_id = in vp8dx_receive_compressed_data()
464 const MODE_INFO *mi = oci->mi; in vp8dx_references_buffer() local
469 for (mb_col = 0; mb_col < oci->mb_cols; mb_col++,mi++) in vp8dx_references_buffer()
471 if( mi->mbmi.ref_frame == ref_frame) in vp8dx_references_buffer()
474 mi++; in vp8dx_references_buffer()
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/decoder/
Dvp9_decodemv.c107 const BLOCK_SIZE bsize = xd->mi[0]->mbmi.sb_type; in read_intra_segment_id()
124 MB_MODE_INFO *const mbmi = &xd->mi[0]->mbmi; in read_inter_segment_id()
164 MODE_INFO *const mi = xd->mi[0]; in read_intra_frame_mode_info() local
165 MB_MODE_INFO *const mbmi = &mi->mbmi; in read_intra_frame_mode_info()
166 const MODE_INFO *above_mi = xd->mi[-cm->mi_stride]; in read_intra_frame_mode_info()
167 const MODE_INFO *left_mi = xd->left_available ? xd->mi[-1] : NULL; in read_intra_frame_mode_info()
180 mi->bmi[i].as_mode = in read_intra_frame_mode_info()
181 read_intra_mode(r, get_y_mode_probs(mi, above_mi, left_mi, i)); in read_intra_frame_mode_info()
182 mbmi->mode = mi->bmi[3].as_mode; in read_intra_frame_mode_info()
185 mi->bmi[0].as_mode = mi->bmi[2].as_mode = in read_intra_frame_mode_info()
[all …]
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp8/common/
Ddebugmodes.c16 void vp8_print_modes_and_motion_vectors(MODE_INFO *mi, int rows, int cols, int frame) in vp8_print_modes_and_motion_vectors() argument
33 fprintf(mvs, "%2d ", mi[mb_index].mbmi.mode); in vp8_print_modes_and_motion_vectors()
52 fprintf(mvs, "%2d ", mi[mb_index].mbmi.ref_frame); in vp8_print_modes_and_motion_vectors()
72 fprintf(mvs, "%2d ", mi[mb_index].mbmi.uv_mode); in vp8_print_modes_and_motion_vectors()
99 if (mi[mb_index].mbmi.mode == B_PRED) in vp8_print_modes_and_motion_vectors()
100 fprintf(mvs, "%2d ", mi[mb_index].bmi[bindex].as_mode); in vp8_print_modes_and_motion_vectors()
119 … fprintf(mvs, "%5d:%-5d", mi[mb_index].mbmi.mv.as_mv.row / 2, mi[mb_index].mbmi.mv.as_mv.col / 2); in vp8_print_modes_and_motion_vectors()
146 …fprintf(mvs, "%3d:%-3d ", mi[mb_index].bmi[bindex].mv.as_mv.row, mi[mb_index].bmi[bindex].mv.as_mv… in vp8_print_modes_and_motion_vectors()
Dpostproc.c856 MODE_INFO *mi = oci->mi; in vp8_post_proc_frame() local
867 sprintf(zz, "%c", mi[mb_index].mbmi.mode + 'a'); in vp8_post_proc_frame()
888 MODE_INFO *mi = oci->mi; in vp8_post_proc_frame() local
898 int dc_diff = !(mi[mb_index].mbmi.mode != B_PRED && in vp8_post_proc_frame()
899 mi[mb_index].mbmi.mode != SPLITMV && in vp8_post_proc_frame()
900 mi[mb_index].mbmi.mb_skip_coeff); in vp8_post_proc_frame()
933 MODE_INFO *mi = oci->mi; in vp8_post_proc_frame() local
942 if (!(ppflags->display_mv_flag & (1<<mi->mbmi.mode))) in vp8_post_proc_frame()
944 mi++; in vp8_post_proc_frame()
948 if (mi->mbmi.mode == SPLITMV) in vp8_post_proc_frame()
[all …]
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/common/
Dvp9_reconinter.c104 static MV mi_mv_pred_q4(const MODE_INFO *mi, int idx) { in mi_mv_pred_q4() argument
105 MV res = { round_mv_comp_q4(mi->bmi[0].as_mv[idx].as_mv.row + in mi_mv_pred_q4()
106 mi->bmi[1].as_mv[idx].as_mv.row + in mi_mv_pred_q4()
107 mi->bmi[2].as_mv[idx].as_mv.row + in mi_mv_pred_q4()
108 mi->bmi[3].as_mv[idx].as_mv.row), in mi_mv_pred_q4()
109 round_mv_comp_q4(mi->bmi[0].as_mv[idx].as_mv.col + in mi_mv_pred_q4()
110 mi->bmi[1].as_mv[idx].as_mv.col + in mi_mv_pred_q4()
111 mi->bmi[2].as_mv[idx].as_mv.col + in mi_mv_pred_q4()
112 mi->bmi[3].as_mv[idx].as_mv.col) }; in mi_mv_pred_q4()
147 const MODE_INFO *mi = xd->mi[0]; in build_inter_predictors() local
[all …]
Dvp9_postproc.c666 MODE_INFO *mi = cm->mi; in vp9_post_proc_frame()
675 snprintf(zz, sizeof(zz) - 1, "%c", mi[mb_index].mbmi.mode + 'a'); in vp9_post_proc_frame()
693 MODE_INFO *mi = cm->mi; in vp9_post_proc_frame()
701 int dc_diff = !(mi[mb_index].mbmi.mode != I4X4_PRED && in vp9_post_proc_frame()
702 mi[mb_index].mbmi.mode != SPLITMV && in vp9_post_proc_frame()
703 mi[mb_index].mbmi.skip); in vp9_post_proc_frame()
734 MODE_INFO *mi = cm->mi; in vp9_post_proc_frame()
741 if (!(ppflags->display_mv_flag & (1 << mi->mbmi.mode))) { in vp9_post_proc_frame()
742 mi++; in vp9_post_proc_frame()
746 if (mi->mbmi.mode == SPLITMV) { in vp9_post_proc_frame()
[all …]
Dvp9_mvref_common.c193 MODE_INFO *mi, MV_REFERENCE_FRAME ref_frame, in find_mv_refs_idx() argument
204 const POSITION *const mv_ref_search = mv_ref_blocks[mi->mbmi.sb_type]; in find_mv_refs_idx()
218 const MODE_INFO *const candidate_mi = xd->mi[mv_ref->col + mv_ref->row * in find_mv_refs_idx()
238 const MB_MODE_INFO *const candidate = &xd->mi[mv_ref->col + mv_ref->row * in find_mv_refs_idx()
264 const MB_MODE_INFO *const candidate = &xd->mi[mv_ref->col + mv_ref->row in find_mv_refs_idx()
279 mi->mbmi.mode_context[ref_frame] = counter_to_context[context_counter]; in find_mv_refs_idx()
288 MODE_INFO *mi, MV_REFERENCE_FRAME ref_frame, in vp9_find_mv_refs() argument
291 find_mv_refs_idx(cm, xd, tile, mi, ref_frame, mv_ref_list, -1, in vp9_find_mv_refs()
323 MODE_INFO *const mi = xd->mi[0]; in vp9_append_sub8x8_mvs_for_idx() local
324 b_mode_info *bmi = mi->bmi; in vp9_append_sub8x8_mvs_for_idx()
[all …]
Dvp9_blockd.h147 static INLINE MB_PREDICTION_MODE get_y_mode(const MODE_INFO *mi, int block) { in get_y_mode() argument
148 return mi->mbmi.sb_type < BLOCK_8X8 ? mi->bmi[block].as_mode in get_y_mode()
149 : mi->mbmi.mode; in get_y_mode()
210 MODE_INFO **mi; member
256 const MB_MODE_INFO *const mbmi = &xd->mi[0]->mbmi; in get_tx_type()
265 const MODE_INFO *const mi = xd->mi[0]; in get_tx_type_4x4() local
267 if (plane_type != PLANE_TYPE_Y || xd->lossless || is_inter_block(&mi->mbmi)) in get_tx_type_4x4()
270 return intra_mode_to_tx_type_lookup[get_y_mode(mi, ib)]; in get_tx_type_4x4()
Dvp9_entropy.h178 const MODE_INFO *const mi = xd->mi[0]; in get_scan() local
180 if (is_inter_block(&mi->mbmi) || type != PLANE_TYPE_Y || xd->lossless) { in get_scan()
183 const MB_PREDICTION_MODE mode = get_y_mode(mi, block_idx); in get_scan()
Dvp9_alloccommon.c20 static void clear_mi_border(const VP9_COMMON *cm, MODE_INFO *mi) { in clear_mi_border() argument
24 vpx_memset(mi, 0, sizeof(*mi) * cm->mi_stride); in clear_mi_border()
28 vpx_memset(&mi[i * cm->mi_stride], 0, sizeof(*mi)); in clear_mi_border()
42 cm->mi = cm->mip + cm->mi_stride + 1; in setup_mi()
249 cm->mi = cm->mip + cm->mi_stride + 1; in vp9_swap_mi_and_prev_mi()
Dvp9_entropymode.h100 static INLINE const vp9_prob *get_y_mode_probs(const MODE_INFO *mi, in get_y_mode_probs() argument
104 const MB_PREDICTION_MODE above = vp9_above_block_mode(mi, above_mi, block); in get_y_mode_probs()
105 const MB_PREDICTION_MODE left = vp9_left_block_mode(mi, left_mi, block); in get_y_mode_probs()
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/encoder/
Dvp9_segmentation.c136 xd->mi = mi_8x8; in count_segs()
137 segment_id = xd->mi[0]->mbmi.segment_id; in count_segs()
155 xd->mi[0]->mbmi.seg_id_predicted = pred_flag; in count_segs()
233 MODE_INFO **mi_ptr, **mi; in vp9_choose_segmap_coding_method() local
249 mi = mi_ptr; in vp9_choose_segmap_coding_method()
251 mi_col += 8, mi += 8) in vp9_choose_segmap_coding_method()
252 count_segs_sb(cpi, &tile, mi, no_pred_segcounts, in vp9_choose_segmap_coding_method()
Dvp9_encodeframe.c167 xd->mi = cm->mi_grid_visible + idx_str; in set_modeinfo_offsets()
168 xd->mi[0] = cm->mi + idx_str; in set_modeinfo_offsets()
228 mbmi = &xd->mi[0]->mbmi; in set_offsets()
295 xd->mi[j * xd->mi_stride + i] = xd->mi[0]; in duplicate_mode_info_in_sb()
306 xd->mi[0]->mbmi.sb_type = bsize; in set_block_size()
503 xd->mi[0]->mbmi.ref_frame[0] = LAST_FRAME; in choose_partitioning()
504 xd->mi[0]->mbmi.sb_type = BLOCK_64X64; in choose_partitioning()
506 xd->mi[0]->mbmi.ref_mvs[LAST_FRAME], in choose_partitioning()
509 xd->mi[0]->mbmi.mv[0] = nearest_mv; in choose_partitioning()
845 MODE_INFO *mi = &ctx->mic; in update_state() local
[all …]
Dvp9_rdopt.c435 const int ref = xd->mi[0]->mbmi.ref_frame[0]; in model_rd_for_sb()
559 MB_MODE_INFO *mbmi = &xd->mi[0]->mbmi; in cost_coeffs()
641 if (x->skip_encode && !is_inter_block(&xd->mi[0]->mbmi)) { in dist_block()
666 MB_MODE_INFO *const mbmi = &xd->mi[0]->mbmi; in block_rd_txfm()
752 xd->mi[0]->mbmi.tx_size = tx_size; in txfm_rd_in_plane()
782 MB_MODE_INFO *const mbmi = &xd->mi[0]->mbmi; in choose_largest_txfm_size()
801 MB_MODE_INFO *const mbmi = &xd->mi[0]->mbmi; in choose_txfm_size_from_rd()
884 MB_MODE_INFO *const mbmi = &xd->mi[0]->mbmi; in choose_txfm_size_from_modelrd()
954 MB_MODE_INFO *const mbmi = &xd->mi[0]->mbmi; in inter_super_block_yrd()
997 MB_MODE_INFO *const mbmi = &xd->mi[0]->mbmi; in intra_super_block_yrd()
[all …]
Dvp9_bitstream.c97 static int write_skip(const VP9_COMP *cpi, int segment_id, const MODE_INFO *mi, in write_skip() argument
103 const int skip = mi->mbmi.skip; in write_skip()
195 const MB_MODE_INFO *const mbmi = &xd->mi[0]->mbmi; in write_ref_frames()
228 static void pack_inter_mode_mvs(VP9_COMP *cpi, const MODE_INFO *mi, in pack_inter_mode_mvs() argument
235 const MB_MODE_INFO *const mbmi = &mi->mbmi; in pack_inter_mode_mvs()
256 skip = write_skip(cpi, segment_id, mi, w); in pack_inter_mode_mvs()
276 const MB_PREDICTION_MODE b_mode = mi->bmi[idy * 2 + idx].as_mode; in pack_inter_mode_mvs()
311 const MB_PREDICTION_MODE b_mode = mi->bmi[j].as_mode; in pack_inter_mode_mvs()
316 vp9_encode_mv(cpi, w, &mi->bmi[j].as_mv[ref].as_mv, in pack_inter_mode_mvs()
338 const MODE_INFO *const mi = mi_8x8[0]; in write_mb_modes_kf() local
[all …]
Dvp9_encodemv.c245 const MODE_INFO *mi = xd->mi[0]; in vp9_update_mv_count() local
246 const MB_MODE_INFO *const mbmi = &mi->mbmi; in vp9_update_mv_count()
256 if (mi->bmi[i].as_mode == NEWMV) in vp9_update_mv_count()
257 inc_mvs(mbmi, mi->bmi[i].as_mv, &cm->counts.mv); in vp9_update_mv_count()
Dvp9_temporal_filter.c46 vp9_get_interp_kernel(xd->mi[0]->mbmi.interp_filter); in temporal_filter_predictors_mb_c()
139 MV *ref_mv = &x->e_mbd.mi[0]->bmi[0].as_mv[0].as_mv; in temporal_filter_find_matching_mb_c()
256 mbd->mi[0]->bmi[0].as_mv[0].as_mv.row = 0; in temporal_filter_iterate_c()
257 mbd->mi[0]->bmi[0].as_mv[0].as_mv.col = 0; in temporal_filter_iterate_c()
290 mbd->mi[0]->bmi[0].as_mv[0].as_mv.row, in temporal_filter_iterate_c()
291 mbd->mi[0]->bmi[0].as_mv[0].as_mv.col, in temporal_filter_iterate_c()

123