/external/libavc/encoder/ |
D | ime.c | 122 WORD16 i2_mvx, i2_mvy; in ime_diamond_search_16x16() local 148 i2_mvy = ps_mb_part->s_mv_curr.i2_mvy; in ime_diamond_search_16x16() 151 i2_mv_u_y = i2_mvy; in ime_diamond_search_16x16() 158 (i2_mvy - 1 < i4_srch_range_n) || in ime_diamond_search_16x16() 159 (i2_mvy + 1 > i4_srch_range_s) ) in ime_diamond_search_16x16() 164 pu1_ref = pu1_ref_mb + i2_mvx + (i2_mvy * i4_ref_strd); in ime_diamond_search_16x16() 179 … + pu1_mv_bits[(i2_mvy << 2) - ps_mb_part->s_mv_pred.i2_mvy] ); in ime_diamond_search_16x16() 181 … + pu1_mv_bits[(i2_mvy << 2) - ps_mb_part->s_mv_pred.i2_mvy] ); in ime_diamond_search_16x16() 183 … + pu1_mv_bits[((i2_mvy - 1) << 2) - ps_mb_part->s_mv_pred.i2_mvy] ); in ime_diamond_search_16x16() 185 … + pu1_mv_bits[((i2_mvy + 1) << 2) - ps_mb_part->s_mv_pred.i2_mvy] ); in ime_diamond_search_16x16() [all …]
|
D | ih264e_me.c | 259 ps_me_ctxt->as_mv_init_search[i4_reflist][u4_num_candidates].i2_mvy = 0; in ih264e_get_search_candidates() 267 mvy = (ps_left_mv->i2_mvy + 2) >> 2; in ih264e_get_search_candidates() 273 ps_me_ctxt->as_mv_init_search[i4_reflist][u4_num_candidates].i2_mvy = mvy; in ih264e_get_search_candidates() 282 mvy = (ps_top_mv->i2_mvy + 2) >> 2; in ih264e_get_search_candidates() 288 ps_me_ctxt->as_mv_init_search[i4_reflist][u4_num_candidates].i2_mvy = mvy; in ih264e_get_search_candidates() 296 mvy = (ps_top_right_mv->i2_mvy + 2)>> 2; in ih264e_get_search_candidates() 302 ps_me_ctxt->as_mv_init_search[i4_reflist][u4_num_candidates].i2_mvy = mvy; in ih264e_get_search_candidates() 310 mvy = (ps_top_left_mv->i2_mvy + 2) >> 2; in ih264e_get_search_candidates() 316 ps_me_ctxt->as_mv_init_search[i4_reflist][u4_num_candidates].i2_mvy = mvy; in ih264e_get_search_candidates() 329 ps_mb_part->s_mv_pred.i2_mvy = ps_proc->ps_pred_mv[i4_reflist].s_mv.i2_mvy; in ih264e_get_search_candidates() [all …]
|
D | ih264e_mc.c | 209 u4_mv_y_full = ps_curr_mv->i2_mvy >> 2; in ih264e_motion_comp_luma() 213 u4_mv_y_hpel = (ps_curr_mv->i2_mvy & 0x2) >> 1; in ih264e_motion_comp_luma() 217 u4_mv_y_qpel = (ps_curr_mv->i2_mvy & 0x1); in ih264e_motion_comp_luma() 344 u4_mv_y = ps_curr_mv->i2_mvy >> 3; in ih264e_motion_comp_chroma() 348 u4_mv_y_full = (ps_curr_mv->i2_mvy & 0x4) >> 2; in ih264e_motion_comp_chroma() 352 u4_mv_y_hpel = (ps_curr_mv->i2_mvy & 0x2) >> 1; in ih264e_motion_comp_chroma() 356 u4_mv_y_qpel = (ps_curr_mv->i2_mvy & 0x1); in ih264e_motion_comp_chroma() 403 u4_mv_y = ps_curr_mv->i2_mvy >> 3; in ih264e_motion_comp_chroma() 410 u4_mv_y_full = (ps_curr_mv->i2_mvy & 0x4) >> 2; in ih264e_motion_comp_chroma() 414 u4_mv_y_hpel = (ps_curr_mv->i2_mvy & 0x2) >> 1; in ih264e_motion_comp_chroma() [all …]
|
D | ih264e_deblk.c | 255 i16_pMvl0_y = ps_top_pu->s_me_info[ps_top_pu->b2_pred_mode].s_mv.i2_mvy; in ih264e_fill_bs_1mv_1ref_non_mbaff() 258 i16_qMvl0_y = ps_curr_pu->s_me_info[ps_curr_pu->b2_pred_mode].s_mv.i2_mvy; in ih264e_fill_bs_1mv_1ref_non_mbaff() 268 i16_pMvl0_y = ps_top_pu->s_me_info[PRED_L0].s_mv.i2_mvy; in ih264e_fill_bs_1mv_1ref_non_mbaff() 270 i16_pMvl1_y = ps_top_pu->s_me_info[PRED_L1].s_mv.i2_mvy; in ih264e_fill_bs_1mv_1ref_non_mbaff() 273 i16_qMvl0_y = ps_curr_pu->s_me_info[PRED_L0].s_mv.i2_mvy; in ih264e_fill_bs_1mv_1ref_non_mbaff() 275 i16_qMvl1_y = ps_curr_pu->s_me_info[PRED_L1].s_mv.i2_mvy; in ih264e_fill_bs_1mv_1ref_non_mbaff() 302 i16_pMvl0_y = ps_left_pu->s_me_info[ps_left_pu->b2_pred_mode].s_mv.i2_mvy; in ih264e_fill_bs_1mv_1ref_non_mbaff() 305 i16_qMvl0_y = ps_curr_pu->s_me_info[ps_curr_pu->b2_pred_mode].s_mv.i2_mvy; in ih264e_fill_bs_1mv_1ref_non_mbaff() 315 i16_pMvl0_y = ps_left_pu->s_me_info[PRED_L0].s_mv.i2_mvy; in ih264e_fill_bs_1mv_1ref_non_mbaff() 317 i16_pMvl1_y = ps_left_pu->s_me_info[PRED_L1].s_mv.i2_mvy; in ih264e_fill_bs_1mv_1ref_non_mbaff() [all …]
|
D | ime_structs.h | 56 WORD16 i2_mvy; member
|
D | ih264e_process.c | 755 … *i2_mv_ptr++ = ps_proc->ps_pu->s_me_info[0].s_mv.i2_mvy - ps_proc->ps_pred_mv[0].s_mv.i2_mvy; in ih264e_pack_header_data() 798 *i2_mv_ptr++ = ps_proc->ps_pu->s_me_info[0].s_mv.i2_mvy in ih264e_pack_header_data() 799 - ps_proc->ps_pred_mv[0].s_mv.i2_mvy; in ih264e_pack_header_data() 806 *i2_mv_ptr++ = ps_proc->ps_pu->s_me_info[1].s_mv.i2_mvy in ih264e_pack_header_data() 807 - ps_proc->ps_pred_mv[1].s_mv.i2_mvy; in ih264e_pack_header_data()
|
/external/libhevc/decoder/ |
D | ihevcd_mv_pred.c | 123 mvy = ps_mv->i2_mvy; in ihevcd_scale_mv() 131 ps_mv->i2_mvy = CLIP_S16(mvy); in ihevcd_scale_mv() 183 mvy = ps_mv->i2_mvy; in ihevcd_scale_collocated_mv() 191 ps_mv->i2_mvy = CLIP_S16(mvy); in ihevcd_scale_collocated_mv() 589 || (as_mv_a[0].i2_mvy != as_mv_b[0].i2_mvy))) in ihevcd_mv_pred() 603 || (as_mv_a[1].i2_mvy != as_mv_b[1].i2_mvy))) in ihevcd_mv_pred() 642 || (as_mv_a[0].i2_mvy != as_mv_b[0].i2_mvy))) in ihevcd_mv_pred() 656 || (as_mv_a[1].i2_mvy != as_mv_b[1].i2_mvy))) in ihevcd_mv_pred() 742 ps_pred_mv->s_l0_mv.i2_mvy = 0; in ihevcd_mv_pred() 747 ps_pred_mv->s_l1_mv.i2_mvy = 0; in ihevcd_mv_pred()
|
D | ihevcd_get_mv.c | 370 mvp_y = s_pred_mv.s_l0_mv.i2_mvy; in ihevcd_get_mv_ctb() 372 mvd_y = ps_pu->mv.s_l0_mv.i2_mvy; in ihevcd_get_mv_ctb() 381 ps_pu->mv.s_l0_mv.i2_mvy = tmp_y; in ihevcd_get_mv_ctb() 387 mvp_y = s_pred_mv.s_l1_mv.i2_mvy; in ihevcd_get_mv_ctb() 389 mvd_y = ps_pu->mv.s_l1_mv.i2_mvy; in ihevcd_get_mv_ctb() 398 ps_pu->mv.s_l1_mv.i2_mvy = tmp_y; in ihevcd_get_mv_ctb()
|
D | ihevcd_mv_merge.c | 220 ps_mv_col[0].i2_mvy = 0; in ihevcd_collocated_mvp() 222 ps_mv_col[1].i2_mvy = 0; in ihevcd_collocated_mvp() 352 ps_mv_col[0].i2_mvy = 0; in ihevcd_collocated_mvp() 398 ps_mv_col[1].i2_mvy = 0; in ihevcd_collocated_mvp() 867 || (s_l0_mv.i2_mvy != s_l1_mv.i2_mvy)) in ihevcd_mv_merge() 925 ps_pu[0].mv.s_l0_mv.i2_mvy = 0; in ihevcd_mv_merge() 927 ps_pu[0].mv.s_l1_mv.i2_mvy = 0; in ihevcd_mv_merge()
|
D | ihevcd_inter_pred.c | 278 …mv = CLIP3(ps_pu->mv.s_l0_mv.i2_mvy, (-((MAX_CTB_SIZE + pu_y + 7) << 2)), ((ps_sps->i2_pic_height_… in ihevcd_inter_pred_ctb() 297 …mv = CLIP3(ps_pu->mv.s_l1_mv.i2_mvy, (-((MAX_CTB_SIZE + pu_y + 7) << 2)), ((ps_sps->i2_pic_height_… in ihevcd_inter_pred_ctb() 325 …mv = CLIP3(ps_pu->mv.s_l0_mv.i2_mvy, (-((MAX_CTB_SIZE + pu_y + 7) << 2)), ((ps_sps->i2_pic_height_… in ihevcd_inter_pred_ctb() 343 …mv = CLIP3(ps_pu->mv.s_l1_mv.i2_mvy, (-((MAX_CTB_SIZE + pu_y + 7) << 2)), ((ps_sps->i2_pic_height_… in ihevcd_inter_pred_ctb()
|
D | ihevcd_boundary_strength.c | 107 i2_mv_y0 = ps_pu->mv.s_l0_mv.i2_mvy; in ihevcd_pu_boundary_strength() 109 i2_mv_y1 = ps_pu->mv.s_l1_mv.i2_mvy; in ihevcd_pu_boundary_strength() 112 i2_ngbr_mv_y0 = ps_ngbr_pu->mv.s_l0_mv.i2_mvy; in ihevcd_pu_boundary_strength() 114 i2_ngbr_mv_y1 = ps_ngbr_pu->mv.s_l1_mv.i2_mvy; in ihevcd_pu_boundary_strength()
|
D | ihevcd_parse_slice.c | 498 ps_mv->i2_mvy = abs_mvd; in ihevcd_parse_mvd() 762 ps_pu->mv.s_l1_mv.i2_mvy = 0; in ihevcd_parse_pu_mvp()
|
/external/libavc/decoder/ |
D | ih264d_parse_bslice.c | 305 WORD16 i2_mvx, i2_mvy; in ih264d_parse_bmb_non_direct_cavlc() local 363 i2_mvy = (-(WORD32)u4_abs_val); in ih264d_parse_bmb_non_direct_cavlc() 365 i2_mvy = (u4_abs_val); in ih264d_parse_bmb_non_direct_cavlc() 371 ps_mv->i2_mv[u1_b2 + 1] = i2_mvy; in ih264d_parse_bmb_non_direct_cavlc()
|
D | ih264d_parse_pslice.c | 261 WORD16 i2_mvx, i2_mvy; in ih264d_parse_pmb_cavlc() local 298 i2_mvy = ih264d_sev(pu4_bitstrm_ofst, in ih264d_parse_pmb_cavlc() 300 COPYTHECONTEXT("MVD", i2_mvy); in ih264d_parse_pmb_cavlc() 310 ps_mv->i2_mv[1] = i2_mvy; in ih264d_parse_pmb_cavlc()
|
/external/libavc/common/ |
D | ih264_structs.h | 143 WORD16 i2_mvy; member
|
/external/libhevc/common/ |
D | ihevc_structs.h | 298 WORD16 i2_mvy; member
|