Home
last modified time | relevance | path

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

12

/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp8/common/
Dreconinter.c131 … ptr = base_pre + d->offset + (d->bmi.mv.as_mv.row >> 3) * pre_stride + (d->bmi.mv.as_mv.col >> 3); in vp8_build_inter_predictors_b()
133 if (d->bmi.mv.as_mv.row & 7 || d->bmi.mv.as_mv.col & 7) in vp8_build_inter_predictors_b()
135 sppf(ptr, pre_stride, d->bmi.mv.as_mv.col & 7, d->bmi.mv.as_mv.row & 7, pred_ptr, pitch); in vp8_build_inter_predictors_b()
154 … ptr = base_pre + d->offset + (d->bmi.mv.as_mv.row >> 3) * pre_stride + (d->bmi.mv.as_mv.col >> 3); in build_inter_predictors4b()
156 if (d->bmi.mv.as_mv.row & 7 || d->bmi.mv.as_mv.col & 7) in build_inter_predictors4b()
158 …x->subpixel_predict8x8(ptr, pre_stride, d->bmi.mv.as_mv.col & 7, d->bmi.mv.as_mv.row & 7, dst, dst… in build_inter_predictors4b()
169 … ptr = base_pre + d->offset + (d->bmi.mv.as_mv.row >> 3) * pre_stride + (d->bmi.mv.as_mv.col >> 3); in build_inter_predictors2b()
171 if (d->bmi.mv.as_mv.row & 7 || d->bmi.mv.as_mv.col & 7) in build_inter_predictors2b()
173 …x->subpixel_predict8x4(ptr, pre_stride, d->bmi.mv.as_mv.col & 7, d->bmi.mv.as_mv.row & 7, dst, dst… in build_inter_predictors2b()
185 … ptr = base_pre + d->offset + (d->bmi.mv.as_mv.row >> 3) * pre_stride + (d->bmi.mv.as_mv.col >> 3); in build_inter_predictors_b()
[all …]
Dfindnearmv.h116 return (cur_mb->bmi + b - 1)->mv.as_int; in left_block_mv()
131 return (cur_mb->bmi + (b - 4))->mv.as_int; in above_block_mv()
142 return (cur_mb->bmi + b + 3)->as_mode; in left_block_mode()
156 return (cur_mb->bmi + b - 1)->as_mode; in left_block_mode()
169 return (cur_mb->bmi + b + 12)->as_mode; in above_block_mode()
183 return (cur_mb->bmi + b - 4)->as_mode; in above_block_mode()
Dpostproc.c954 union b_mode_info *bmi = &mi->bmi[0]; in vp8_post_proc_frame() local
955 MV *mv = &bmi->mv.as_mv; in vp8_post_proc_frame()
963 bmi = &mi->bmi[8]; in vp8_post_proc_frame()
975 union b_mode_info *bmi = &mi->bmi[0]; in vp8_post_proc_frame() local
976 MV *mv = &bmi->mv.as_mv; in vp8_post_proc_frame()
984 bmi = &mi->bmi[2]; in vp8_post_proc_frame()
996 union b_mode_info *bmi = &mi->bmi[0]; in vp8_post_proc_frame() local
997 MV *mv = &bmi->mv.as_mv; in vp8_post_proc_frame()
1005 bmi = &mi->bmi[2]; in vp8_post_proc_frame()
1013 bmi = &mi->bmi[8]; in vp8_post_proc_frame()
[all …]
Ddebugmodes.c100 fprintf(mvs, "%2d ", mi[mb_index].bmi[bindex].as_mode); 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()
Dblockd.h171 union b_mode_info bmi[16]; member
206 union b_mode_info bmi; member
Dmfqe.c259 map[i] &= (mode_info_context->bmi[ndx[i][j]].mv.as_mv.row <= 2 && in qualify_inter_mb()
260 mode_info_context->bmi[ndx[i][j]].mv.as_mv.col <= 2); in qualify_inter_mb()
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp8/decoder/
Derror_concealment.c72 union b_mode_info *bmi, in assign_overlap() argument
82 if (overlaps[i].bmi == NULL) in assign_overlap()
84 overlaps[i].bmi = bmi; in assign_overlap()
114 static void calculate_overlaps_mb(B_OVERLAP *b_overlaps, union b_mode_info *bmi, in calculate_overlaps_mb() argument
167 assign_overlap(b_ol_ul[row * 4 + col].overlaps, bmi, overlap); in calculate_overlaps_mb()
174 union b_mode_info *bmi, in vp8_calculate_overlaps() argument
189 new_row = row - bmi->mv.as_mv.row; in vp8_calculate_overlaps()
190 new_col = col - bmi->mv.as_mv.col; in vp8_calculate_overlaps()
235 calculate_overlaps_mb(mb_overlap->overlaps, bmi, in vp8_calculate_overlaps()
249 static void estimate_mv(const OVERLAP_NODE *overlaps, union b_mode_info *bmi) in estimate_mv() argument
[all …]
Ddecodemv.c67 mi->bmi[i].as_mode = in read_kf_modes()
270 leftmv.as_int = (left_mb->bmi + k + 4 - 1)->mv.as_int; in decode_split_mv()
273 leftmv.as_int = (mi->bmi + k - 1)->mv.as_int; in decode_split_mv()
281 abovemv.as_int = (above_mb->bmi + k + 16 - 4)->mv.as_int; in decode_split_mv()
284 abovemv.as_int = (mi->bmi + k - 4)->mv.as_int; in decode_split_mv()
328 mi->bmi[ *fill_offset].mv.as_int = blockmv.as_int; in decode_split_mv()
488 mbmi->mv.as_int = mi->bmi[15].mv.as_int; in read_mb_modes_mv()
535 mi->bmi[ 0].mv.as_int = in read_mb_modes_mv()
536 mi->bmi[ 1].mv.as_int = in read_mb_modes_mv()
537 mi->bmi[ 2].mv.as_int = in read_mb_modes_mv()
[all …]
Dec_types.h27 union b_mode_info *bmi; member
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/decoder/
Dvp9_decodemv.c180 mi->bmi[i].as_mode = 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()
187 mi->bmi[1].as_mode = mi->bmi[3].as_mode = mbmi->mode = in read_intra_frame_mode_info()
191 mi->bmi[0].as_mode = mi->bmi[1].as_mode = in read_intra_frame_mode_info()
193 mi->bmi[2].as_mode = mi->bmi[3].as_mode = mbmi->mode = in read_intra_frame_mode_info()
340 mi->bmi[i].as_mode = read_intra_mode_y(cm, r, 0); in read_intra_block_mode_info()
341 mbmi->mode = mi->bmi[3].as_mode; in read_intra_block_mode_info()
344 mi->bmi[0].as_mode = mi->bmi[2].as_mode = read_intra_mode_y(cm, r, 0); in read_intra_block_mode_info()
345 mi->bmi[1].as_mode = mi->bmi[3].as_mode = mbmi->mode = in read_intra_block_mode_info()
[all …]
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/common/
Dvp9_postproc.c749 union b_mode_info *bmi = &mi->bmi[0]; in vp9_post_proc_frame()
750 MV *mv = &bmi->mv.as_mv; in vp9_post_proc_frame()
758 bmi = &mi->bmi[8]; in vp9_post_proc_frame()
769 union b_mode_info *bmi = &mi->bmi[0]; in vp9_post_proc_frame()
770 MV *mv = &bmi->mv.as_mv; in vp9_post_proc_frame()
778 bmi = &mi->bmi[2]; in vp9_post_proc_frame()
789 union b_mode_info *bmi = &mi->bmi[0]; in vp9_post_proc_frame()
790 MV *mv = &bmi->mv.as_mv; in vp9_post_proc_frame()
798 bmi = &mi->bmi[2]; in vp9_post_proc_frame()
806 bmi = &mi->bmi[8]; in vp9_post_proc_frame()
[all …]
Dvp9_mvref_common.c130 ? candidate->bmi[idx_n_column_to_subblock[block_idx][search_col == 0]] in get_sub_block_mv()
324 b_mode_info *bmi = mi->bmi; in vp9_append_sub8x8_mvs_for_idx() local
340 nearest->as_int = bmi[0].as_mv[ref].as_int; in vp9_append_sub8x8_mvs_for_idx()
349 candidates[0] = bmi[1].as_mv[ref]; in vp9_append_sub8x8_mvs_for_idx()
350 candidates[1] = bmi[0].as_mv[ref]; in vp9_append_sub8x8_mvs_for_idx()
354 nearest->as_int = bmi[2].as_mv[ref].as_int; in vp9_append_sub8x8_mvs_for_idx()
Dvp9_reconinter.c105 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()
163 ? (plane == 0 ? mi->bmi[block].as_mv[ref].as_mv in build_inter_predictors()
267 ? (plane == 0 ? mi->bmi[block].as_mv[ref].as_mv in dec_build_inter_predictors()
Dvp9_blockd.c22 return cur_mi->bmi[b - 1].as_mode; in vp9_left_block_mode()
35 return cur_mi->bmi[b - 2].as_mode; in vp9_above_block_mode()
Dvp9_blockd.h144 b_mode_info bmi[4]; member
148 return mi->mbmi.sb_type < BLOCK_8X8 ? mi->bmi[block].as_mode in get_y_mode()
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp8/encoder/
Dtemporal_filter.c190 bestsme = vp8_hex_search(x, b, d, &best_ref_mv1_full, &d->bmi.mv, in vp8_temporal_filter_find_matching_mb_c()
202 &d->bmi.mv, in vp8_temporal_filter_find_matching_mb_c()
288 mbd->block[0].bmi.mv.as_mv.row = 0; in vp8_temporal_filter_iterate_c()
289 mbd->block[0].bmi.mv.as_mv.col = 0; in vp8_temporal_filter_iterate_c()
326 mbd->block[0].bmi.mv.as_mv.row, in vp8_temporal_filter_iterate_c()
327 mbd->block[0].bmi.mv.as_mv.col, in vp8_temporal_filter_iterate_c()
Drdopt.c698 b->bmi.as_mode = *best_mode; in rd_pick_intra4x4block()
753 mic->bmi[i].as_mode = best_mode; in rd_pick_intra4x4mby_modes()
995 this_mv->as_int = col ? d[-1].bmi.mv.as_int : (uint32_t)left_block_mv(mic, i); in labels2mode()
998 this_mv->as_int = row ? d[-4].bmi.mv.as_int : (uint32_t)above_block_mv(mic, i, mis); in labels2mode()
1011 left_mv.as_int = col ? d[-1].bmi.mv.as_int : in labels2mode()
1021 d->bmi.mv.as_int = this_mv->as_int; in labels2mode()
1023 x->partition_info->bmi[i].mode = m; in labels2mode()
1024 x->partition_info->bmi[i].mv.as_int = this_mv->as_int; in labels2mode()
1216 bsi->mvp.as_int = x->e_mbd.block[i-1].bmi.mv.as_int; in rd_check_segment()
1218 bsi->mvp.as_int = x->e_mbd.block[i-4].bmi.mv.as_int; in rd_check_segment()
[all …]
Dpickinter.c175 b->bmi.as_mode = *best_mode; in pick_intra4x4block()
221 mic->bmi[i].as_mode = best_mode; in pick_intra4x4mby_modes()
939 d->bmi.mv.as_int = mvp_full.as_int; in vp8_pick_inter_mode()
942 cpi->find_fractional_mv_step(x, b, d, &d->bmi.mv, &best_ref_mv, in vp8_pick_inter_mode()
978 bestsme = vp8_hex_search(x, b, d, &mvp_full, &d->bmi.mv, in vp8_pick_inter_mode()
982 mode_mv[NEWMV].as_int = d->bmi.mv.as_int; in vp8_pick_inter_mode()
987 &d->bmi.mv, step_param, sadpb, &num00, in vp8_pick_inter_mode()
990 mode_mv[NEWMV].as_int = d->bmi.mv.as_int; in vp8_pick_inter_mode()
1006 &d->bmi.mv, in vp8_pick_inter_mode()
1014 mode_mv[NEWMV].as_int = d->bmi.mv.as_int; in vp8_pick_inter_mode()
[all …]
Dfirstpass.c648 d->bmi.mv.as_mv.row = 0; in vp8_first_pass()
649 d->bmi.mv.as_mv.col = 0; in vp8_first_pass()
658 &d->bmi.mv.as_mv, lst_yv12, in vp8_first_pass()
673 d->bmi.mv.as_mv.row = tmp_mv.row; in vp8_first_pass()
674 d->bmi.mv.as_mv.col = tmp_mv.col; in vp8_first_pass()
714 d->bmi.mv.as_mv.row *= 8; in vp8_first_pass()
715 d->bmi.mv.as_mv.col *= 8; in vp8_first_pass()
717 vp8_set_mbmode_and_mvs(x, NEWMV, &d->bmi.mv); in vp8_first_pass()
719 sum_mvr += d->bmi.mv.as_mv.row; in vp8_first_pass()
720 sum_mvr_abs += abs(d->bmi.mv.as_mv.row); in vp8_first_pass()
[all …]
Dencodeintra.c42 x->e_mbd.block[i].bmi.as_mode = B_DC_PRED; in vp8_encode_intra()
62 vp8_intra4x4_predict(Above, yleft, dst_stride, b->bmi.as_mode, in vp8_encode_intra4x4block()
Dblock.h64 } bmi[16]; member
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/encoder/
Dvp9_temporal_filter.c139 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()
Dvp9_encodemv.c256 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_rdopt.c1102 xd->mi[0]->bmi[block].as_mode = mode; in rd_pick_intra4x4block()
1217 mic->bmi[i].as_mode = best_mode; in rd_pick_intra_sub_8x8_y_mode()
1219 mic->bmi[i + j * 2].as_mode = best_mode; in rd_pick_intra_sub_8x8_y_mode()
1221 mic->bmi[i + j].as_mode = best_mode; in rd_pick_intra_sub_8x8_y_mode()
1231 mic->mbmi.mode = mic->bmi[3].as_mode; in rd_pick_intra_sub_8x8_y_mode()
1520 mic->bmi[i].as_mv[0].as_int = this_mv[0].as_int; in labels2mode()
1522 mic->bmi[i].as_mv[1].as_int = this_mv[1].as_int; in labels2mode()
1524 mic->bmi[i].as_mode = mode; in labels2mode()
1528 vpx_memcpy(&mic->bmi[i + idy * 2 + idx], in labels2mode()
1529 &mic->bmi[i], sizeof(mic->bmi[i])); in labels2mode()
[all …]
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp8/encoder/arm/armv5te/
Dboolhuff_armv5te.asm87 bmi token_count_lt_zero ; if(count >= 0)
163 bmi token_count_lt_zero_se ; if(count >= 0)
257 bmi token_count_lt_zero_ev ; if(count >= 0)

12