Lines Matching refs:s_prms
579 ihevce_inter_cand_sifter_prms_t s_prms; in ihevce_cu_mode_decide() local
634 s_prms.i4_ctb_nbr_map_stride = ps_ctxt->i4_nbr_map_strd; in ihevce_cu_mode_decide()
635 s_prms.i4_max_num_inter_rdopt_cands = ps_ctxt->i4_max_num_inter_rdopt_cands; in ihevce_cu_mode_decide()
636 s_prms.i4_nbr_4x4_left_strd = nbr_4x4_left_strd; in ihevce_cu_mode_decide()
637 s_prms.i4_src_strd = ps_cu_prms->i4_luma_src_stride; in ihevce_cu_mode_decide()
638 s_prms.ps_cu_inter_merge_skip = &ps_ctxt->s_cu_inter_merge_skip; in ihevce_cu_mode_decide()
639 s_prms.aps_cu_nbr_buf[0] = &ps_ctxt->as_cu_nbr[ps_ctxt->i4_satd_buf_idx][0]; in ihevce_cu_mode_decide()
640 s_prms.aps_cu_nbr_buf[1] = &ps_ctxt->as_cu_nbr[!ps_ctxt->i4_satd_buf_idx][0]; in ihevce_cu_mode_decide()
641 s_prms.ps_left_nbr_4x4 = ps_left_nbr_4x4; in ihevce_cu_mode_decide()
642 s_prms.ps_mc_ctxt = &ps_ctxt->s_mc_ctxt; in ihevce_cu_mode_decide()
643 s_prms.ps_me_cands = ps_cu_analyse->as_cu_inter_cand; in ihevce_cu_mode_decide()
644 s_prms.ps_mixed_modes_datastore = &ps_ctxt->s_mixed_mode_inter_cu; in ihevce_cu_mode_decide()
645 s_prms.ps_mv_pred_ctxt = &ps_ctxt->s_mv_pred_ctxt; in ihevce_cu_mode_decide()
646 s_prms.ps_pred_buf_data = &ps_ctxt->s_pred_buf_data; in ihevce_cu_mode_decide()
647 s_prms.ps_topleft_nbr_4x4 = ps_topleft_nbr_4x4; in ihevce_cu_mode_decide()
648 s_prms.ps_top_nbr_4x4 = ps_top_nbr_4x4; in ihevce_cu_mode_decide()
649 s_prms.pu1_ctb_nbr_map = ps_ctxt->pu1_ctb_nbr_map; in ihevce_cu_mode_decide()
650 s_prms.pv_src = pv_curr_src; in ihevce_cu_mode_decide()
651 s_prms.u1_cu_pos_x = ps_cu_analyse->b3_cu_pos_x << 3; in ihevce_cu_mode_decide()
652 s_prms.u1_cu_pos_y = ps_cu_analyse->b3_cu_pos_y << 3; in ihevce_cu_mode_decide()
653 s_prms.u1_cu_size = ps_cu_analyse->u1_cu_size; in ihevce_cu_mode_decide()
654 s_prms.u1_max_merge_candidates = ps_ctxt->i4_max_merge_candidates; in ihevce_cu_mode_decide()
655 s_prms.u1_num_me_cands = ps_cu_analyse->u1_num_inter_cands; in ihevce_cu_mode_decide()
656 s_prms.u1_use_satd_for_merge_eval = ps_ctxt->i4_use_satd_for_merge_eval; in ihevce_cu_mode_decide()
657 s_prms.u1_quality_preset = ps_ctxt->i4_quality_preset; in ihevce_cu_mode_decide()
658 s_prms.i1_slice_type = ps_ctxt->i1_slice_type; in ihevce_cu_mode_decide()
659 s_prms.ps_cu_me_intra_pred_prms = &ps_ctxt->s_cu_me_intra_pred_prms; in ihevce_cu_mode_decide()
660 s_prms.u1_is_hbd = (ps_ctxt->u1_bit_depth > 8); in ihevce_cu_mode_decide()
661 s_prms.ps_inter_cu_mode_info = &s_inter_cu_mode_info; in ihevce_cu_mode_decide()
662 s_prms.pai4_mv_cost = ps_cu_analyse->ai4_mv_cost; in ihevce_cu_mode_decide()
663 s_prms.i4_lambda_qf = ps_ctxt->i4_sad_lamda; in ihevce_cu_mode_decide()
664 s_prms.u1_use_merge_cand_from_top_row = in ihevce_cu_mode_decide()
665 (u1_enable_top_row_sync || (s_prms.u1_cu_pos_y > 0)); in ihevce_cu_mode_decide()
666 s_prms.u1_merge_idx_cabac_model = in ihevce_cu_mode_decide()
669 s_prms.pai4_me_err_metric = ps_cu_analyse->ai4_err_metric; in ihevce_cu_mode_decide()
670 s_prms.u1_reuse_me_sad = 1; in ihevce_cu_mode_decide()
672 s_prms.u1_reuse_me_sad = 0; in ihevce_cu_mode_decide()
679 s_prms.i4_alpha_stim_multiplier = ALPHA_FOR_NOISE_TERM_IN_ME_BREF; in ihevce_cu_mode_decide()
683 s_prms.i4_alpha_stim_multiplier = ALPHA_FOR_NOISE_TERM_IN_ME; in ihevce_cu_mode_decide()
688 s_prms.i4_alpha_stim_multiplier = ALPHA_FOR_NOISE_TERM_IN_ME_P; in ihevce_cu_mode_decide()
690 s_prms.u1_is_cu_noisy = ps_cu_prms->u1_is_cu_noisy; in ihevce_cu_mode_decide()
692 if(s_prms.u1_is_cu_noisy) in ihevce_cu_mode_decide()
694 s_prms.i4_lambda_qf = in ihevce_cu_mode_decide()
695 ((float)s_prms.i4_lambda_qf) * (100.0f - ME_LAMBDA_DISCOUNT_WHEN_NOISY) / 100.0f; in ihevce_cu_mode_decide()
697 s_prms.pf_luma_inter_pred_pu = ihevce_luma_inter_pred_pu; in ihevce_cu_mode_decide()
699 s_prms.ps_cmn_utils_optimised_function_list = &ps_ctxt->s_cmn_opt_func; in ihevce_cu_mode_decide()
701 s_prms.pf_evalsad_pt_npu_mxn_8bit = (FT_SAD_EVALUATOR *)ps_ctxt->pv_evalsad_pt_npu_mxn_8bit; in ihevce_cu_mode_decide()
702 ihevce_inter_cand_sifter(&s_prms); in ihevce_cu_mode_decide()
1388 final_mode_process_prms_t s_prms; in ihevce_cu_mode_decide() local
1423 s_prms.ps_cu_nbr_prms = &s_cu_nbr_prms; in ihevce_cu_mode_decide()
1424 s_prms.ps_best_inter_cand = ps_best_inter_cand; in ihevce_cu_mode_decide()
1425 s_prms.ps_chrm_cu_buf_prms = &s_chrm_cu_buf_prms; in ihevce_cu_mode_decide()
1426 s_prms.packed_pred_mode = packed_pred_mode; in ihevce_cu_mode_decide()
1427 s_prms.rd_opt_best_idx = rd_opt_best_idx; in ihevce_cu_mode_decide()
1428 s_prms.pv_src = pu1_curr_src; in ihevce_cu_mode_decide()
1429 s_prms.src_strd = ps_cu_prms->i4_luma_src_stride; in ihevce_cu_mode_decide()
1430 s_prms.pv_pred = pv_final_pred; in ihevce_cu_mode_decide()
1431 s_prms.pred_strd = final_pred_strd; in ihevce_cu_mode_decide()
1432 s_prms.pv_pred_chrm = pv_final_pred_chrm; in ihevce_cu_mode_decide()
1433 s_prms.pred_chrm_strd = final_pred_strd_chrm; in ihevce_cu_mode_decide()
1434 s_prms.pu1_final_ecd_data = pu1_ecd_data; in ihevce_cu_mode_decide()
1435 s_prms.pu1_csbf_buf = &ps_ctxt->au1_cu_csbf[0]; in ihevce_cu_mode_decide()
1436 s_prms.csbf_strd = ps_ctxt->i4_cu_csbf_strd; in ihevce_cu_mode_decide()
1437 s_prms.pv_luma_recon = pv_cu_luma_recon; in ihevce_cu_mode_decide()
1438 s_prms.recon_luma_strd = luma_stride; in ihevce_cu_mode_decide()
1439 s_prms.pv_chrm_recon = pv_cu_chroma_recon; in ihevce_cu_mode_decide()
1440 s_prms.recon_chrma_strd = chroma_stride; in ihevce_cu_mode_decide()
1441 s_prms.u1_cu_pos_x = ps_cu_analyse->b3_cu_pos_x; in ihevce_cu_mode_decide()
1442 s_prms.u1_cu_pos_y = ps_cu_analyse->b3_cu_pos_y; in ihevce_cu_mode_decide()
1443 s_prms.u1_cu_size = ps_cu_analyse->u1_cu_size; in ihevce_cu_mode_decide()
1444 s_prms.i1_cu_qp = ps_cu_analyse->i1_cu_qp; in ihevce_cu_mode_decide()
1445 s_prms.u1_will_cabac_state_change = 1; in ihevce_cu_mode_decide()
1446 s_prms.u1_recompute_sbh_and_rdoq = 0; in ihevce_cu_mode_decide()
1447 s_prms.u1_is_first_pass = 1; in ihevce_cu_mode_decide()
1451 s_prms.u1_is_cu_noisy = !ps_enc_loop_bestprms->u1_intra_flag in ihevce_cu_mode_decide()
1456 ((pf_final_rdopt_mode_prcs)ps_ctxt->pv_final_rdopt_mode_prcs)(ps_ctxt, &s_prms); in ihevce_cu_mode_decide()