/external/libavc/encoder/ |
D | ime.c | 122 WORD16 i2_mvx, i2_mvy; in ime_diamond_search_16x16() local 147 i2_mvx = ps_mb_part->s_mv_curr.i2_mvx; in ime_diamond_search_16x16() 150 i2_mv_u_x = i2_mvx; in ime_diamond_search_16x16() 156 if ( (i2_mvx - 1 < i4_srch_range_w) || in ime_diamond_search_16x16() 157 (i2_mvx + 1 > i4_srch_range_e) || in ime_diamond_search_16x16() 164 pu1_ref = pu1_ref_mb + i2_mvx + (i2_mvy * i4_ref_strd); in ime_diamond_search_16x16() 178 …] = i4_sad[0] + u4_lambda_motion * ( pu1_mv_bits[ ((i2_mvx - 1) << 2) - ps_mb_part->s_mv_pred.i2_m… in ime_diamond_search_16x16() 180 …] = i4_sad[1] + u4_lambda_motion * ( pu1_mv_bits[ ((i2_mvx + 1) << 2) - ps_mb_part->s_mv_pred.i2_m… in ime_diamond_search_16x16() 182 …st[2] = i4_sad[2] + u4_lambda_motion * ( pu1_mv_bits[ (i2_mvx << 2) - ps_mb_part->s_mv_pred.i2_mvx] in ime_diamond_search_16x16() 184 …st[3] = i4_sad[3] + u4_lambda_motion * ( pu1_mv_bits[ (i2_mvx << 2) - ps_mb_part->s_mv_pred.i2_mvx] in ime_diamond_search_16x16() [all …]
|
D | ih264e_me.c | 258 ps_me_ctxt->as_mv_init_search[i4_reflist][u4_num_candidates].i2_mvx = 0; in ih264e_get_search_candidates() 266 mvx = (ps_left_mv->i2_mvx + 2) >> 2; in ih264e_get_search_candidates() 272 ps_me_ctxt->as_mv_init_search[i4_reflist][u4_num_candidates].i2_mvx = mvx; in ih264e_get_search_candidates() 281 mvx = (ps_top_mv->i2_mvx + 2) >> 2; in ih264e_get_search_candidates() 287 ps_me_ctxt->as_mv_init_search[i4_reflist][u4_num_candidates].i2_mvx = mvx; in ih264e_get_search_candidates() 295 mvx = (ps_top_right_mv->i2_mvx + 2) >> 2; in ih264e_get_search_candidates() 301 ps_me_ctxt->as_mv_init_search[i4_reflist][u4_num_candidates].i2_mvx = mvx; in ih264e_get_search_candidates() 309 mvx = (ps_top_left_mv->i2_mvx + 2) >> 2; in ih264e_get_search_candidates() 315 ps_me_ctxt->as_mv_init_search[i4_reflist][u4_num_candidates].i2_mvx = mvx; in ih264e_get_search_candidates() 328 ps_mb_part->s_mv_pred.i2_mvx = ps_proc->ps_pred_mv[i4_reflist].s_mv.i2_mvx; in ih264e_get_search_candidates() [all …]
|
D | ih264e_mc.c | 208 u4_mv_x_full = ps_curr_mv->i2_mvx >> 2; in ih264e_motion_comp_luma() 212 u4_mv_x_hpel = (ps_curr_mv->i2_mvx & 0x2) >> 1; in ih264e_motion_comp_luma() 216 u4_mv_x_qpel = (ps_curr_mv->i2_mvx & 0x1); in ih264e_motion_comp_luma() 343 u4_mv_x = ps_curr_mv->i2_mvx >> 3; in ih264e_motion_comp_chroma() 347 u4_mv_x_full = (ps_curr_mv->i2_mvx & 0x4) >> 2; in ih264e_motion_comp_chroma() 351 u4_mv_x_hpel = (ps_curr_mv->i2_mvx & 0x2) >> 1; in ih264e_motion_comp_chroma() 355 u4_mv_x_qpel = (ps_curr_mv->i2_mvx & 0x1); in ih264e_motion_comp_chroma() 402 u4_mv_x = ps_curr_mv->i2_mvx >> 3; in ih264e_motion_comp_chroma() 409 u4_mv_x_full = (ps_curr_mv->i2_mvx & 0x4) >> 2; in ih264e_motion_comp_chroma() 413 u4_mv_x_hpel = (ps_curr_mv->i2_mvx & 0x2) >> 1; in ih264e_motion_comp_chroma() [all …]
|
D | ih264e_deblk.c | 254 i16_pMvl0_x = ps_top_pu->s_me_info[ps_top_pu->b2_pred_mode].s_mv.i2_mvx; in ih264e_fill_bs_1mv_1ref_non_mbaff() 257 i16_qMvl0_x = ps_curr_pu->s_me_info[ps_curr_pu->b2_pred_mode].s_mv.i2_mvx; in ih264e_fill_bs_1mv_1ref_non_mbaff() 267 i16_pMvl0_x = ps_top_pu->s_me_info[PRED_L0].s_mv.i2_mvx; in ih264e_fill_bs_1mv_1ref_non_mbaff() 269 i16_pMvl1_x = ps_top_pu->s_me_info[PRED_L1].s_mv.i2_mvx; in ih264e_fill_bs_1mv_1ref_non_mbaff() 272 i16_qMvl0_x = ps_curr_pu->s_me_info[PRED_L0].s_mv.i2_mvx; in ih264e_fill_bs_1mv_1ref_non_mbaff() 274 i16_qMvl1_x = ps_curr_pu->s_me_info[PRED_L1].s_mv.i2_mvx; in ih264e_fill_bs_1mv_1ref_non_mbaff() 301 i16_pMvl0_x = ps_left_pu->s_me_info[ps_left_pu->b2_pred_mode].s_mv.i2_mvx; in ih264e_fill_bs_1mv_1ref_non_mbaff() 304 i16_qMvl0_x = ps_curr_pu->s_me_info[ps_curr_pu->b2_pred_mode].s_mv.i2_mvx; in ih264e_fill_bs_1mv_1ref_non_mbaff() 314 i16_pMvl0_x = ps_left_pu->s_me_info[PRED_L0].s_mv.i2_mvx; in ih264e_fill_bs_1mv_1ref_non_mbaff() 316 i16_pMvl1_x = ps_left_pu->s_me_info[PRED_L1].s_mv.i2_mvx; in ih264e_fill_bs_1mv_1ref_non_mbaff() [all …]
|
D | ime_structs.h | 51 WORD16 i2_mvx; member
|
D | ih264e_process.c | 754 … *i2_mv_ptr++ = ps_proc->ps_pu->s_me_info[0].s_mv.i2_mvx - ps_proc->ps_pred_mv[0].s_mv.i2_mvx; in ih264e_pack_header_data() 796 *i2_mv_ptr++ = ps_proc->ps_pu->s_me_info[0].s_mv.i2_mvx in ih264e_pack_header_data() 797 - ps_proc->ps_pred_mv[0].s_mv.i2_mvx; in ih264e_pack_header_data() 804 *i2_mv_ptr++ = ps_proc->ps_pu->s_me_info[1].s_mv.i2_mvx in ih264e_pack_header_data() 805 - ps_proc->ps_pred_mv[1].s_mv.i2_mvx; in ih264e_pack_header_data()
|
/external/libhevc/decoder/ |
D | ihevcd_mv_pred.c | 122 mvx = ps_mv->i2_mvx; in ihevcd_scale_mv() 130 ps_mv->i2_mvx = CLIP_S16(mvx); in ihevcd_scale_mv() 182 mvx = ps_mv->i2_mvx; in ihevcd_scale_collocated_mv() 190 ps_mv->i2_mvx = CLIP_S16(mvx); in ihevcd_scale_collocated_mv() 588 || (as_mv_a[0].i2_mvx != as_mv_b[0].i2_mvx) in ihevcd_mv_pred() 602 || (as_mv_a[1].i2_mvx != as_mv_b[1].i2_mvx) in ihevcd_mv_pred() 641 || (as_mv_a[0].i2_mvx != as_mv_b[0].i2_mvx) in ihevcd_mv_pred() 655 || (as_mv_a[1].i2_mvx != as_mv_b[1].i2_mvx) in ihevcd_mv_pred() 741 ps_pred_mv->s_l0_mv.i2_mvx = 0; in ihevcd_mv_pred() 746 ps_pred_mv->s_l1_mv.i2_mvx = 0; in ihevcd_mv_pred()
|
D | ihevcd_get_mv.c | 369 mvp_x = s_pred_mv.s_l0_mv.i2_mvx; in ihevcd_get_mv_ctb() 371 mvd_x = ps_pu->mv.s_l0_mv.i2_mvx; in ihevcd_get_mv_ctb() 377 ps_pu->mv.s_l0_mv.i2_mvx = tmp_x; in ihevcd_get_mv_ctb() 386 mvp_x = s_pred_mv.s_l1_mv.i2_mvx; in ihevcd_get_mv_ctb() 388 mvd_x = ps_pu->mv.s_l1_mv.i2_mvx; in ihevcd_get_mv_ctb() 394 ps_pu->mv.s_l1_mv.i2_mvx = tmp_x; in ihevcd_get_mv_ctb()
|
D | ihevcd_mv_merge.c | 219 ps_mv_col[0].i2_mvx = 0; in ihevcd_collocated_mvp() 221 ps_mv_col[1].i2_mvx = 0; in ihevcd_collocated_mvp() 351 ps_mv_col[0].i2_mvx = 0; in ihevcd_collocated_mvp() 397 ps_mv_col[1].i2_mvx = 0; in ihevcd_collocated_mvp() 866 || (s_l0_mv.i2_mvx != s_l1_mv.i2_mvx) in ihevcd_mv_merge() 924 ps_pu[0].mv.s_l0_mv.i2_mvx = 0; in ihevcd_mv_merge() 926 ps_pu[0].mv.s_l1_mv.i2_mvx = 0; in ihevcd_mv_merge()
|
D | ihevcd_inter_pred.c | 274 …mv = CLIP3(ps_pu->mv.s_l0_mv.i2_mvx, (-((MAX_CTB_SIZE + pu_x + 7) << 2)), ((ps_sps->i2_pic_width_i… in ihevcd_inter_pred_ctb() 293 …mv = CLIP3(ps_pu->mv.s_l1_mv.i2_mvx, (-((MAX_CTB_SIZE + pu_x + 7) << 2)), ((ps_sps->i2_pic_width_i… in ihevcd_inter_pred_ctb() 321 …mv = CLIP3(ps_pu->mv.s_l0_mv.i2_mvx, (-((MAX_CTB_SIZE + pu_x + 7) << 2)), ((ps_sps->i2_pic_width_i… in ihevcd_inter_pred_ctb() 339 …mv = CLIP3(ps_pu->mv.s_l1_mv.i2_mvx, (-((MAX_CTB_SIZE + pu_x + 7) << 2)), ((ps_sps->i2_pic_width_i… in ihevcd_inter_pred_ctb()
|
D | ihevcd_boundary_strength.c | 106 i2_mv_x0 = ps_pu->mv.s_l0_mv.i2_mvx; in ihevcd_pu_boundary_strength() 108 i2_mv_x1 = ps_pu->mv.s_l1_mv.i2_mvx; in ihevcd_pu_boundary_strength() 111 i2_ngbr_mv_x0 = ps_ngbr_pu->mv.s_l0_mv.i2_mvx; in ihevcd_pu_boundary_strength() 113 i2_ngbr_mv_x1 = ps_ngbr_pu->mv.s_l1_mv.i2_mvx; in ihevcd_pu_boundary_strength()
|
D | ihevcd_parse_slice.c | 491 ps_mv->i2_mvx = abs_mvd; in ihevcd_parse_mvd() 774 ps_pu->mv.s_l1_mv.i2_mvx = 0; in ihevcd_parse_pu_mvp()
|
/external/libavc/decoder/ |
D | ih264d_parse_pslice.c | 261 WORD16 i2_mvx, i2_mvy; in ih264d_parse_pmb_cavlc() local 292 i2_mvx = (-(WORD32)u4_abs_val); in ih264d_parse_pmb_cavlc() 294 i2_mvx = (u4_abs_val); in ih264d_parse_pmb_cavlc() 297 COPYTHECONTEXT("MVD", i2_mvx); in ih264d_parse_pmb_cavlc() 309 ps_mv->i2_mv[0] = i2_mvx; in ih264d_parse_pmb_cavlc()
|
D | ih264d_parse_bslice.c | 305 WORD16 i2_mvx, i2_mvy; in ih264d_parse_bmb_non_direct_cavlc() local 332 i2_mvx = (-(WORD32)u4_abs_val); in ih264d_parse_bmb_non_direct_cavlc() 334 i2_mvx = (u4_abs_val); in ih264d_parse_bmb_non_direct_cavlc() 370 ps_mv->i2_mv[u1_b2] = i2_mvx; in ih264d_parse_bmb_non_direct_cavlc()
|
/external/libavc/common/ |
D | ih264_structs.h | 138 WORD16 i2_mvx; member
|
/external/libhevc/common/ |
D | ihevc_structs.h | 1167 WORD16 i2_mvx; member
|