Lines Matching refs:ref_ctr
5831 WORD32 ref_ctr; in hme_merge_prms_init() local
5833 for(ref_ctr = 0; ref_ctr < MAX_NUM_REF; ref_ctr++) in hme_merge_prms_init()
5835 ps_prms->aps_mv_range[ref_ctr] = &ps_range_prms_rec[ref_ctr]; in hme_merge_prms_init()
5840 WORD32 ref_ctr; in hme_merge_prms_init() local
5842 for(ref_ctr = 0; ref_ctr < MAX_NUM_REF; ref_ctr++) in hme_merge_prms_init()
5844 ps_prms->aps_mv_range[ref_ctr] = &ps_range_prms_inp[ref_ctr]; in hme_merge_prms_init()
6225 WORD32 ref_ctr; in hme_refine() local
6226 for(ref_ctr = 0; ref_ctr < MAX_NUM_REF; ref_ctr++) in hme_refine()
6228 s_subpel_prms.aps_mv_range_hpel[ref_ctr] = &as_range_prms_hpel[ref_ctr]; in hme_refine()
6229 s_subpel_prms.aps_mv_range_qpel[ref_ctr] = &as_range_prms_qpel[ref_ctr]; in hme_refine()
6472 WORD32 ref_ctr; in hme_refine() local
6477 for(ref_ctr = 0; ref_ctr < ps_ctxt->s_frm_prms.u1_num_active_ref_l0; ref_ctr++) in hme_refine()
6480 &ps_ctxt->as_l0_dyn_range_prms[i4_idx_dvsr_p].as_dyn_range_prms[ref_ctr], in hme_refine()
6481 ps_ctxt->ai4_ref_idx_to_poc_lc[ref_ctr]); in hme_refine()
6575 WORD32 ref_ctr; in hme_refine() local
6576 for(ref_ctr = 0; ref_ctr < MAX_NUM_REF; ref_ctr++) in hme_refine()
6577 s_search_prms_blk.aps_mv_range[ref_ctr] = &as_range_prms_rec[ref_ctr]; in hme_refine()
6581 WORD32 ref_ctr; in hme_refine() local
6582 for(ref_ctr = 0; ref_ctr < MAX_NUM_REF; ref_ctr++) in hme_refine()
6583 s_search_prms_blk.aps_mv_range[ref_ctr] = &as_range_prms_inp[ref_ctr]; in hme_refine()
7260 S32 ref_ctr; in hme_refine() local
7290 for(ref_ctr = 0; ref_ctr < num_act_ref_pics; ref_ctr++) in hme_refine()
7295 &as_range_prms_inp[ref_ctr], in hme_refine()
7297 &as_mv_limit[ref_ctr], in hme_refine()
7306 &as_range_prms_rec[ref_ctr], in hme_refine()
7308 &as_mv_limit[ref_ctr], in hme_refine()
7783 for(ref_ctr = 0; ref_ctr < num_act_ref_pics; ref_ctr++) in hme_refine()
7786 as_range_prms_hpel[ref_ctr], as_range_prms_rec[ref_ctr], 1); in hme_refine()
7788 as_range_prms_qpel[ref_ctr], as_range_prms_rec[ref_ctr], 2); in hme_refine()
8271 WORD32 ref_ctr; in hme_refine() local
8277 for(ref_ctr = 0; ref_ctr < num_act_ref_pics; ref_ctr++) in hme_refine()
8279 SCALE_RANGE_PRMS(as_range_prms_hpel[ref_ctr], as_range_prms_rec[ref_ctr], 1); in hme_refine()
8280 SCALE_RANGE_PRMS(as_range_prms_qpel[ref_ctr], as_range_prms_rec[ref_ctr], 2); in hme_refine()
8298 for(ref_ctr = 0; ref_ctr < num_act_ref_pics; ref_ctr++) in hme_refine()
8301 s_merge_prms_32x32_tl.aps_mv_range[ref_ctr], in hme_refine()
8303 &as_mv_limit[ref_ctr], in hme_refine()
8310 s_merge_prms_32x32_tl.aps_mv_range[ref_ctr], in hme_refine()
8311 s_merge_prms_32x32_tl.aps_mv_range[ref_ctr], in hme_refine()
8403 for(ref_ctr = 0; ref_ctr < num_act_ref_pics; ref_ctr++) in hme_refine()
8406 s_merge_prms_32x32_tr.aps_mv_range[ref_ctr], in hme_refine()
8408 &as_mv_limit[ref_ctr], in hme_refine()
8414 s_merge_prms_32x32_tr.aps_mv_range[ref_ctr], in hme_refine()
8415 s_merge_prms_32x32_tr.aps_mv_range[ref_ctr], in hme_refine()
8507 for(ref_ctr = 0; ref_ctr < num_act_ref_pics; ref_ctr++) in hme_refine()
8510 s_merge_prms_32x32_bl.aps_mv_range[ref_ctr], in hme_refine()
8512 &as_mv_limit[ref_ctr], in hme_refine()
8518 s_merge_prms_32x32_bl.aps_mv_range[ref_ctr], in hme_refine()
8519 s_merge_prms_32x32_bl.aps_mv_range[ref_ctr], in hme_refine()
8611 for(ref_ctr = 0; ref_ctr < num_act_ref_pics; ref_ctr++) in hme_refine()
8614 s_merge_prms_32x32_br.aps_mv_range[ref_ctr], in hme_refine()
8616 &as_mv_limit[ref_ctr], in hme_refine()
8623 s_merge_prms_32x32_br.aps_mv_range[ref_ctr], in hme_refine()
8624 s_merge_prms_32x32_br.aps_mv_range[ref_ctr], in hme_refine()
8723 for(ref_ctr = 0; ref_ctr < num_act_ref_pics; ref_ctr++) in hme_refine()
8726 s_merge_prms_64x64.aps_mv_range[ref_ctr], in hme_refine()
8728 &as_mv_limit[ref_ctr], in hme_refine()
8735 s_merge_prms_64x64.aps_mv_range[ref_ctr], in hme_refine()
8736 s_merge_prms_64x64.aps_mv_range[ref_ctr], in hme_refine()
9126 WORD32 ref_ctr; in hme_refine_no_encode() local
9128 for(ref_ctr = 0; ref_ctr < s_mv_update_prms.i4_num_ref; ref_ctr++) in hme_refine_no_encode()
9132 .as_dyn_range_prms[ps_refine_prms->i4_layer_id][ref_ctr], in hme_refine_no_encode()
9133 ps_ctxt->ai4_ref_idx_to_poc_lc[ref_ctr]); in hme_refine_no_encode()
9366 WORD32 ref_ctr; in hme_refine_no_encode() local
9381 for(ref_ctr = 0; ref_ctr < i4_num_ref_fpel; ref_ctr++) in hme_refine_no_encode()
9383 ref_poc = ps_ctxt->ai4_ref_idx_to_poc_lc[ref_ctr]; in hme_refine_no_encode()
9389 as_mv_limit[ref_ctr].i2_min_x = -ps_curr_layer->i2_max_mv_x; in hme_refine_no_encode()
9390 as_mv_limit[ref_ctr].i2_min_y = -i2_max_mv_y; in hme_refine_no_encode()
9391 as_mv_limit[ref_ctr].i2_max_x = ps_curr_layer->i2_max_mv_x; in hme_refine_no_encode()
9392 as_mv_limit[ref_ctr].i2_max_y = i2_max_mv_y; in hme_refine_no_encode()
9398 for(ref_ctr = 0; ref_ctr < i4_num_ref_fpel; ref_ctr++) in hme_refine_no_encode()
9400 as_mv_limit[ref_ctr].i2_min_x = -ps_curr_layer->i2_max_mv_x; in hme_refine_no_encode()
9401 as_mv_limit[ref_ctr].i2_min_y = -ps_curr_layer->i2_max_mv_y; in hme_refine_no_encode()
9402 as_mv_limit[ref_ctr].i2_max_x = ps_curr_layer->i2_max_mv_x; in hme_refine_no_encode()
9403 as_mv_limit[ref_ctr].i2_max_y = ps_curr_layer->i2_max_mv_y; in hme_refine_no_encode()