Lines Matching refs:s_cfg
170 cfg_params_t *ps_curr_cfg = &ps_codec->s_cfg; in api_check_input_dimensions()
1020 if (ps_ip->s_ive_ip.u4_max_wd > ps_codec->s_cfg.u4_max_wd) in api_check_struct_sanity()
1038 if (ps_ip->s_ive_ip.u4_max_ht > ps_codec->s_cfg.u4_max_ht) in api_check_struct_sanity()
1228 if (ps_ip->s_ive_ip.u4_wd > ps_codec->s_cfg.u4_max_wd) in api_check_struct_sanity()
1246 if (ps_ip->s_ive_ip.u4_ht > ps_codec->s_cfg.u4_max_ht) in api_check_struct_sanity()
1489 > ps_codec->s_cfg.u4_max_srch_rng_x) in api_check_struct_sanity()
1499 > ps_codec->s_cfg.u4_max_srch_rng_y) in api_check_struct_sanity()
2353 cfg_params_t *ps_curr_cfg = &ps_codec->s_cfg; in ih264e_codec_update_config()
2386 if (ps_codec->s_cfg.e_air_mode != IVE_AIR_MODE_NONE) in ih264e_codec_update_config()
2428 if (ps_codec->s_cfg.u4_src_frame_rate in ih264e_codec_update_config()
2431 ps_codec->s_cfg.u4_src_frame_rate = ps_cfg->u4_src_frame_rate in ih264e_codec_update_config()
2436 ps_codec->s_cfg.u4_src_frame_rate); in ih264e_codec_update_config()
2440 ps_codec->s_cfg.u4_src_frame_rate); in ih264e_codec_update_config()
2443 ps_codec->s_cfg.u4_src_frame_rate, in ih264e_codec_update_config()
2447 if (ps_codec->s_cfg.u4_tgt_frame_rate in ih264e_codec_update_config()
2450 ps_codec->s_cfg.u4_tgt_frame_rate = ps_cfg->u4_tgt_frame_rate in ih264e_codec_update_config()
2455 ps_codec->s_cfg.u4_tgt_frame_rate); in ih264e_codec_update_config()
2458 ps_codec->s_cfg.u4_src_frame_rate, in ih264e_codec_update_config()
2463 ps_codec->s_cfg.u4_tgt_frame_rate); in ih264e_codec_update_config()
2500 ps_codec->s_cfg.u4_enable_hpel = ps_cfg->u4_enable_hpel; in ih264e_codec_update_config()
2501 ps_codec->s_cfg.u4_enable_fast_sad = ps_cfg->u4_enable_fast_sad; in ih264e_codec_update_config()
2502 ps_codec->s_cfg.u4_me_speed_preset = ps_cfg->u4_me_speed_preset; in ih264e_codec_update_config()
2503 ps_codec->s_cfg.u4_enable_qpel = ps_cfg->u4_enable_qpel; in ih264e_codec_update_config()
2507 ps_codec->s_cfg.u4_enable_fast_sad = ps_cfg->u4_enable_fast_sad; in ih264e_codec_update_config()
2509 ps_codec->s_cfg.u4_srch_rng_x = ps_cfg->u4_srch_rng_x; in ih264e_codec_update_config()
2510 ps_codec->s_cfg.u4_srch_rng_y = ps_cfg->u4_srch_rng_y; in ih264e_codec_update_config()
2512 if (ps_codec->s_cfg.u4_enable_alt_ref != ps_cfg->u4_enable_alt_ref) in ih264e_codec_update_config()
2514 ps_codec->s_cfg.u4_enable_alt_ref = ps_cfg->u4_enable_alt_ref; in ih264e_codec_update_config()
2654 ps_codec->s_cfg.u4_i_qp_max = ps_cfg->u4_i_qp_max; in ih264e_codec_update_config()
2655 ps_codec->s_cfg.u4_i_qp_min = ps_cfg->u4_i_qp_min; in ih264e_codec_update_config()
2656 ps_codec->s_cfg.u4_i_qp = ps_cfg->u4_i_qp; in ih264e_codec_update_config()
2658 ps_codec->s_cfg.u4_p_qp_max = ps_cfg->u4_p_qp_max; in ih264e_codec_update_config()
2659 ps_codec->s_cfg.u4_p_qp_min = ps_cfg->u4_p_qp_min; in ih264e_codec_update_config()
2660 ps_codec->s_cfg.u4_p_qp = ps_cfg->u4_p_qp; in ih264e_codec_update_config()
2662 ps_codec->s_cfg.u4_b_qp_max = ps_cfg->u4_b_qp_max; in ih264e_codec_update_config()
2663 ps_codec->s_cfg.u4_b_qp_min = ps_cfg->u4_b_qp_min; in ih264e_codec_update_config()
2664 ps_codec->s_cfg.u4_b_qp = ps_cfg->u4_b_qp; in ih264e_codec_update_config()
2667 au1_init_qp[0] = gau1_h264_to_mpeg2_qmap[ps_codec->s_cfg.u4_i_qp]; in ih264e_codec_update_config()
2668 au1_init_qp[1] = gau1_h264_to_mpeg2_qmap[ps_codec->s_cfg.u4_p_qp]; in ih264e_codec_update_config()
2669 au1_init_qp[2] = gau1_h264_to_mpeg2_qmap[ps_codec->s_cfg.u4_b_qp]; in ih264e_codec_update_config()
2675 gau1_h264_to_mpeg2_qmap[ps_codec->s_cfg.u4_i_qp_min]; in ih264e_codec_update_config()
2677 gau1_h264_to_mpeg2_qmap[ps_codec->s_cfg.u4_i_qp_max]; in ih264e_codec_update_config()
2680 gau1_h264_to_mpeg2_qmap[ps_codec->s_cfg.u4_p_qp_min]; in ih264e_codec_update_config()
2682 gau1_h264_to_mpeg2_qmap[ps_codec->s_cfg.u4_p_qp_max]; in ih264e_codec_update_config()
2685 gau1_h264_to_mpeg2_qmap[ps_codec->s_cfg.u4_b_qp_min]; in ih264e_codec_update_config()
2687 gau1_h264_to_mpeg2_qmap[ps_codec->s_cfg.u4_b_qp_max]; in ih264e_codec_update_config()
2694 ps_codec->s_cfg.e_enc_mode = ps_cfg->e_enc_mode; in ih264e_codec_update_config()
2696 if (ps_codec->s_cfg.e_enc_mode == IVE_ENC_MODE_HEADER) in ih264e_codec_update_config()
2699 ps_codec->s_cfg.e_enc_mode = IVE_ENC_MODE_PICTURE; in ih264e_codec_update_config()
2707 && IVE_RC_NONE != ps_codec->s_cfg.e_rc_mode) in ih264e_codec_update_config()
2709 ps_codec->s_cfg.u4_vbv_buf_size = ps_cfg->u4_vbv_buf_size; in ih264e_codec_update_config()
2710 ps_codec->s_cfg.u4_vbv_buffer_delay = ps_cfg->u4_vbv_buffer_delay; in ih264e_codec_update_config()
2735 ps_codec->s_cfg.e_profile = ps_cfg->e_profile; in ih264e_codec_update_config()
2736 ps_codec->s_cfg.u4_entropy_coding_mode = ps_cfg->u4_entropy_coding_mode; in ih264e_codec_update_config()
2740 ps_codec->s_cfg.u4_num_cores = ps_cfg->u4_num_cores; in ih264e_codec_update_config()
2744 ps_codec->s_cfg.s_vui = ps_cfg->s_vui; in ih264e_codec_update_config()
2749 ps_codec->s_cfg.s_sei.u1_sei_mdcv_params_present_flag = in ih264e_codec_update_config()
2751 ps_codec->s_cfg.s_sei.s_sei_mdcv_params = ps_cfg->s_sei.s_sei_mdcv_params; in ih264e_codec_update_config()
2755 ps_codec->s_cfg.s_sei.u1_sei_cll_params_present_flag = in ih264e_codec_update_config()
2757 ps_codec->s_cfg.s_sei.s_sei_cll_params = ps_cfg->s_sei.s_sei_cll_params; in ih264e_codec_update_config()
2761 ps_codec->s_cfg.s_sei.u1_sei_ave_params_present_flag = in ih264e_codec_update_config()
2763 ps_codec->s_cfg.s_sei.s_sei_ave_params = ps_cfg->s_sei.s_sei_ave_params; in ih264e_codec_update_config()
2767 ps_codec->s_cfg.s_sei.u1_sei_ccv_params_present_flag = in ih264e_codec_update_config()
2769 ps_codec->s_cfg.s_sei.s_sei_ccv_params = ps_cfg->s_sei.s_sei_ccv_params; in ih264e_codec_update_config()
2782 au1_init_qp[0] = gau1_h264_to_mpeg2_qmap[ps_codec->s_cfg.u4_i_qp]; in ih264e_codec_update_config()
2783 au1_init_qp[1] = gau1_h264_to_mpeg2_qmap[ps_codec->s_cfg.u4_p_qp]; in ih264e_codec_update_config()
2784 au1_init_qp[2] = gau1_h264_to_mpeg2_qmap[ps_codec->s_cfg.u4_b_qp]; in ih264e_codec_update_config()
2788 gau1_h264_to_mpeg2_qmap[ps_codec->s_cfg.u4_i_qp_min]; in ih264e_codec_update_config()
2790 gau1_h264_to_mpeg2_qmap[ps_codec->s_cfg.u4_i_qp_max]; in ih264e_codec_update_config()
2793 gau1_h264_to_mpeg2_qmap[ps_codec->s_cfg.u4_p_qp_min]; in ih264e_codec_update_config()
2795 gau1_h264_to_mpeg2_qmap[ps_codec->s_cfg.u4_p_qp_max]; in ih264e_codec_update_config()
2798 gau1_h264_to_mpeg2_qmap[ps_codec->s_cfg.u4_b_qp_min]; in ih264e_codec_update_config()
2800 gau1_h264_to_mpeg2_qmap[ps_codec->s_cfg.u4_b_qp_max]; in ih264e_codec_update_config()
2803 switch (ps_codec->s_cfg.e_rc_mode) in ih264e_codec_update_config()
2830 ps_codec->s_cfg.u4_max_framerate, in ih264e_codec_update_config()
2831 ps_codec->s_cfg.u4_src_frame_rate, in ih264e_codec_update_config()
2832 ps_codec->s_cfg.u4_tgt_frame_rate, in ih264e_codec_update_config()
2834 ps_codec->s_cfg.u4_target_bitrate, in ih264e_codec_update_config()
2835 ps_codec->s_cfg.u4_max_bitrate, in ih264e_codec_update_config()
2836 ps_codec->s_cfg.u4_vbv_buffer_delay, in ih264e_codec_update_config()
2837 ps_codec->s_cfg.u4_i_frm_interval, in ih264e_codec_update_config()
2838 ps_codec->s_cfg.u4_num_bframes + 1, au1_init_qp, in ih264e_codec_update_config()
2839 ps_codec->s_cfg.u4_num_bframes + 2, au1_min_max_qp, in ih264e_codec_update_config()
2840 ps_codec->s_cfg.u4_max_level); in ih264e_codec_update_config()
2969 cfg_params_t *ps_cfg = &(ps_codec->s_cfg); in ih264e_init()
4161 ps_cfg = &ps_codec->s_cfg; in ih264e_init_mem_rec()