Home
last modified time | relevance | path

Searched refs:i2_mvy (Results 1 – 16 of 16) sorted by relevance

/external/libavc/encoder/
Dime.c122 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 …]
Dih264e_me.c259 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 …]
Dih264e_mc.c209 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 …]
Dih264e_deblk.c255 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 …]
Dime_structs.h56 WORD16 i2_mvy; member
Dih264e_process.c755 … *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/
Dihevcd_mv_pred.c123 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()
Dihevcd_get_mv.c370 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()
Dihevcd_mv_merge.c220 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()
Dihevcd_inter_pred.c278 …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()
Dihevcd_boundary_strength.c107 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()
Dihevcd_parse_slice.c498 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/
Dih264d_parse_bslice.c305 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()
Dih264d_parse_pslice.c261 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/
Dih264_structs.h143 WORD16 i2_mvy; member
/external/libhevc/common/
Dihevc_structs.h298 WORD16 i2_mvy; member