Lines Matching refs:i4_reflist
215 WORD32 i4_reflist) in ih264e_get_search_candidates() argument
227 mb_part_ctxt *ps_mb_part = &ps_me_ctxt->as_mb_part[i4_reflist]; in ih264e_get_search_candidates()
236 WORD32 i4_cmpl_predmode = (i4_reflist == 0) ? PRED_L1 : PRED_L0; in ih264e_get_search_candidates()
247 ps_left_mv = &ps_proc->s_left_mb_pu_ME.s_me_info[i4_reflist].s_mv; in ih264e_get_search_candidates()
248 ps_top_mv = &(ps_proc->ps_top_row_pu_ME + i4_mb_x)->s_me_info[i4_reflist].s_mv; in ih264e_get_search_candidates()
249 ps_top_left_mv = &ps_proc->s_top_left_mb_pu_ME.s_me_info[i4_reflist].s_mv; in ih264e_get_search_candidates()
250 ps_top_right_mv = &(ps_proc->ps_top_row_pu_ME + i4_mb_x + 1)->s_me_info[i4_reflist].s_mv; in ih264e_get_search_candidates()
258 ps_me_ctxt->as_mv_init_search[i4_reflist][u4_num_candidates].i2_mvx = 0; in ih264e_get_search_candidates()
259 ps_me_ctxt->as_mv_init_search[i4_reflist][u4_num_candidates].i2_mvy = 0; 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()
273 ps_me_ctxt->as_mv_init_search[i4_reflist][u4_num_candidates].i2_mvy = mvy; 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()
288 ps_me_ctxt->as_mv_init_search[i4_reflist][u4_num_candidates].i2_mvy = mvy; 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()
302 ps_me_ctxt->as_mv_init_search[i4_reflist][u4_num_candidates].i2_mvy = mvy; 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()
316 ps_me_ctxt->as_mv_init_search[i4_reflist][u4_num_candidates].i2_mvy = mvy; in ih264e_get_search_candidates()
326 ih264e_mv_pred_me(ps_proc, i4_reflist); 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()
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()
334 [ps_proc->i4_slice_type](ps_proc, i4_reflist); in ih264e_get_search_candidates()
337 mvx = (ps_proc->ps_skip_mv[i4_reflist].s_mv.i2_mvx + 2) >> 2; in ih264e_get_search_candidates()
338 mvy = (ps_proc->ps_skip_mv[i4_reflist].s_mv.i2_mvy + 2) >> 2; in ih264e_get_search_candidates()
343 ps_me_ctxt->as_mv_init_search[i4_reflist][u4_num_candidates].i2_mvx = mvx; in ih264e_get_search_candidates()
344 ps_me_ctxt->as_mv_init_search[i4_reflist][u4_num_candidates].i2_mvy = mvy; in ih264e_get_search_candidates()
350 mvx = (ps_proc->ps_skip_mv[i4_reflist + 2].s_mv.i2_mvx + 2) >> 2; in ih264e_get_search_candidates()
351 mvy = (ps_proc->ps_skip_mv[i4_reflist + 2].s_mv.i2_mvy + 2) >> 2; in ih264e_get_search_candidates()
356 ps_me_ctxt->as_mv_init_search[i4_reflist][u4_num_candidates].i2_mvx = mvx; in ih264e_get_search_candidates()
357 ps_me_ctxt->as_mv_init_search[i4_reflist][u4_num_candidates].i2_mvy = mvy; in ih264e_get_search_candidates()
364 ps_me_ctxt->u4_num_candidates[i4_reflist] = u4_num_candidates; in ih264e_get_search_candidates()
392 WORD32 ih264e_find_pskip_params(process_ctxt_t *ps_proc, WORD32 i4_reflist) in ih264e_find_pskip_params() argument
403 UNUSED(i4_reflist); in ih264e_find_pskip_params()
466 WORD32 ih264e_find_pskip_params_me(process_ctxt_t *ps_proc, WORD32 i4_reflist) in ih264e_find_pskip_params_me() argument
477 UNUSED(i4_reflist); in ih264e_find_pskip_params_me()
645 WORD32 i4_reflist, max_reflist, i4_cmpl_predmode; in ih264e_mv_pred() local
656 for (i4_reflist = 0; i4_reflist < max_reflist; i4_reflist++) in ih264e_mv_pred()
658 i4_cmpl_predmode = (i4_reflist == 0) ? PRED_L1 : PRED_L0; in ih264e_mv_pred()
666 ps_left_mb_pu->s_me_info[i4_reflist].i1_ref_idx = 0; in ih264e_mv_pred()
667 ps_left_mb_pu->s_me_info[i4_reflist].s_mv = zero_mv; in ih264e_mv_pred()
673 ps_top_row_pu[0].s_me_info[i4_reflist].i1_ref_idx = 0; in ih264e_mv_pred()
674 ps_top_row_pu[0].s_me_info[i4_reflist].s_mv = zero_mv; in ih264e_mv_pred()
686 ps_top_row_pu[1].s_me_info[i4_reflist].i1_ref_idx = 0; in ih264e_mv_pred()
687 ps_top_row_pu[1].s_me_info[i4_reflist].s_mv = zero_mv; in ih264e_mv_pred()
691 …ps_top_row_pu[1].s_me_info[i4_reflist].i1_ref_idx = ps_top_left_mb_pu->s_me_info[i4_reflist].i1_re… in ih264e_mv_pred()
692 … ps_top_row_pu[1].s_me_info[i4_reflist].s_mv = ps_top_left_mb_pu->s_me_info[i4_reflist].s_mv; in ih264e_mv_pred()
698 ps_top_row_pu[1].s_me_info[i4_reflist].i1_ref_idx = 0; in ih264e_mv_pred()
699 ps_top_row_pu[1].s_me_info[i4_reflist].s_mv = zero_mv; in ih264e_mv_pred()
702 ih264e_get_mv_predictor(ps_left_mb_pu, ps_top_row_pu, &ps_pred_mv[i4_reflist], i4_reflist); in ih264e_mv_pred()
1275 WORD32 ih264e_find_bskip_params_me(process_ctxt_t *ps_proc, WORD32 i4_reflist) in ih264e_find_bskip_params_me() argument
1305 UNUSED(i4_reflist); in ih264e_find_bskip_params_me()
1474 WORD32 ih264e_find_bskip_params(process_ctxt_t *ps_proc, WORD32 i4_reflist) in ih264e_find_bskip_params() argument
1496 UNUSED(i4_reflist); in ih264e_find_bskip_params()
1792 WORD32 i4_reflist, i4_max_reflist; in ih264e_compute_me_multi_reflist() local
1851 for (i4_reflist = PRED_L0; i4_reflist <= i4_max_reflist; i4_reflist++) in ih264e_compute_me_multi_reflist()
1855 ih264e_get_search_candidates(ps_proc, ps_me_ctxt, i4_reflist); in ih264e_compute_me_multi_reflist()
1860 as_skip_mbpart[i4_reflist].s_mv_curr.i2_mvx = 0; in ih264e_compute_me_multi_reflist()
1861 as_skip_mbpart[i4_reflist].s_mv_curr.i2_mvy = 0; in ih264e_compute_me_multi_reflist()
1862 as_skip_mbpart[i4_reflist].i4_mb_cost = INT_MAX; in ih264e_compute_me_multi_reflist()
1863 as_skip_mbpart[i4_reflist].i4_mb_distortion = INT_MAX; in ih264e_compute_me_multi_reflist()
1865 if (ps_me_ctxt->i4_skip_type == i4_reflist) in ih264e_compute_me_multi_reflist()
1868 (ime_mv_t *)(&ps_proc->ps_skip_mv[i4_reflist].s_mv), in ih264e_compute_me_multi_reflist()
1869 &as_skip_mbpart[i4_reflist], in ih264e_compute_me_multi_reflist()
1871 i4_reflist, in ih264e_compute_me_multi_reflist()
1875 as_skip_mbpart[i4_reflist].s_mv_curr.i2_mvx <<= 2; in ih264e_compute_me_multi_reflist()
1876 as_skip_mbpart[i4_reflist].s_mv_curr.i2_mvy <<= 2; in ih264e_compute_me_multi_reflist()
1881 ps_me_ctxt->as_mb_part[i4_reflist].s_mv_curr.i2_mvx = 0; in ih264e_compute_me_multi_reflist()
1882 ps_me_ctxt->as_mb_part[i4_reflist].s_mv_curr.i2_mvy = 0; in ih264e_compute_me_multi_reflist()
1883 ps_me_ctxt->as_mb_part[i4_reflist].i4_mb_cost = INT_MAX; in ih264e_compute_me_multi_reflist()
1884 ps_me_ctxt->as_mb_part[i4_reflist].i4_mb_distortion = INT_MAX; in ih264e_compute_me_multi_reflist()
1887 ps_me_ctxt->as_mb_part[i4_reflist].pu1_best_hpel_buf = NULL; in ih264e_compute_me_multi_reflist()
1892 i4_max_reflist = i4_reflist; in ih264e_compute_me_multi_reflist()
1898 ime_evaluate_init_srchposn_16x16(ps_me_ctxt, i4_reflist); in ih264e_compute_me_multi_reflist()
1903 ime_full_pel_motion_estimation_16x16(ps_me_ctxt, i4_reflist); in ih264e_compute_me_multi_reflist()
1911 ps_me_ctxt->as_mb_part[i4_reflist].s_mv_curr.i2_mvx <<= 2; in ih264e_compute_me_multi_reflist()
1912 ps_me_ctxt->as_mb_part[i4_reflist].s_mv_curr.i2_mvy <<= 2; in ih264e_compute_me_multi_reflist()
1917 pu1_hpel_src = ps_me_ctxt->apu1_ref_buf_luma[i4_reflist] in ih264e_compute_me_multi_reflist()
1918 + (ps_me_ctxt->as_mb_part[i4_reflist].s_mv_curr.i2_mvx >> 2) in ih264e_compute_me_multi_reflist()
1919 … + ((ps_me_ctxt->as_mb_part[i4_reflist].s_mv_curr.i2_mvy >> 2)* i4_rec_strd); in ih264e_compute_me_multi_reflist()
1926 ps_me_ctxt->as_mb_part[i4_reflist].i4_srch_pos_idx = 3; in ih264e_compute_me_multi_reflist()
1962 ime_sub_pel_motion_estimation_16x16(ps_me_ctxt, i4_reflist); in ih264e_compute_me_multi_reflist()
1974 for (i4_reflist = 0; i4_reflist <= i4_max_reflist; i4_reflist++) in ih264e_compute_me_multi_reflist()
1976 … if (as_skip_mbpart[i4_reflist].i4_mb_cost < ps_me_ctxt->as_mb_part[i4_reflist].i4_mb_cost) in ih264e_compute_me_multi_reflist()
1978 … ps_me_ctxt->as_mb_part[i4_reflist].i4_mb_cost = as_skip_mbpart[i4_reflist].i4_mb_cost; in ih264e_compute_me_multi_reflist()
1979 … ps_me_ctxt->as_mb_part[i4_reflist].i4_mb_distortion = as_skip_mbpart[i4_reflist].i4_mb_distortion; in ih264e_compute_me_multi_reflist()
1980 ps_me_ctxt->as_mb_part[i4_reflist].s_mv_curr = as_skip_mbpart[i4_reflist].s_mv_curr; in ih264e_compute_me_multi_reflist()
2050 for (i4_reflist = 0; i4_reflist <= i4_max_reflist; i4_reflist++) in ih264e_compute_me_multi_reflist()
2052 if (ps_me_ctxt->as_mb_part[i4_reflist].i4_mb_cost < ps_proc->ps_cur_mb->i4_mb_cost) in ih264e_compute_me_multi_reflist()
2054 ps_proc->ps_cur_mb->i4_mb_cost = ps_me_ctxt->as_mb_part[i4_reflist].i4_mb_cost; in ih264e_compute_me_multi_reflist()
2055 … ps_proc->ps_cur_mb->i4_mb_distortion = ps_me_ctxt->as_mb_part[i4_reflist].i4_mb_distortion; in ih264e_compute_me_multi_reflist()
2057 ps_proc->ps_pu->b2_pred_mode = i4_reflist ; in ih264e_compute_me_multi_reflist()