Lines Matching refs:s_cfg
915 if (ps_ip->s_ive_ip.u4_max_wd > ps_codec->s_cfg.u4_max_wd) in api_check_struct_sanity()
933 if (ps_ip->s_ive_ip.u4_max_ht > ps_codec->s_cfg.u4_max_ht) in api_check_struct_sanity()
1123 if (ps_ip->s_ive_ip.u4_wd > ps_codec->s_cfg.u4_max_wd) in api_check_struct_sanity()
1141 if (ps_ip->s_ive_ip.u4_ht > ps_codec->s_cfg.u4_max_ht) in api_check_struct_sanity()
1366 > ps_codec->s_cfg.u4_max_srch_rng_x) in api_check_struct_sanity()
1376 > ps_codec->s_cfg.u4_max_srch_rng_y) in api_check_struct_sanity()
1824 cfg_params_t *ps_curr_cfg = &ps_codec->s_cfg; in ih264e_codec_update_config()
1857 if (ps_codec->s_cfg.e_air_mode != IVE_AIR_MODE_NONE) in ih264e_codec_update_config()
1899 if (ps_codec->s_cfg.u4_src_frame_rate in ih264e_codec_update_config()
1902 ps_codec->s_cfg.u4_src_frame_rate = ps_cfg->u4_src_frame_rate in ih264e_codec_update_config()
1907 ps_codec->s_cfg.u4_src_frame_rate); in ih264e_codec_update_config()
1911 ps_codec->s_cfg.u4_src_frame_rate); in ih264e_codec_update_config()
1914 ps_codec->s_cfg.u4_src_frame_rate, in ih264e_codec_update_config()
1918 if (ps_codec->s_cfg.u4_tgt_frame_rate in ih264e_codec_update_config()
1921 ps_codec->s_cfg.u4_tgt_frame_rate = ps_cfg->u4_tgt_frame_rate in ih264e_codec_update_config()
1926 ps_codec->s_cfg.u4_tgt_frame_rate); in ih264e_codec_update_config()
1929 ps_codec->s_cfg.u4_src_frame_rate, in ih264e_codec_update_config()
1934 ps_codec->s_cfg.u4_tgt_frame_rate); in ih264e_codec_update_config()
1971 ps_codec->s_cfg.u4_enable_hpel = ps_cfg->u4_enable_hpel; in ih264e_codec_update_config()
1972 ps_codec->s_cfg.u4_enable_fast_sad = ps_cfg->u4_enable_fast_sad; in ih264e_codec_update_config()
1973 ps_codec->s_cfg.u4_me_speed_preset = ps_cfg->u4_me_speed_preset; in ih264e_codec_update_config()
1974 ps_codec->s_cfg.u4_enable_qpel = ps_cfg->u4_enable_qpel; in ih264e_codec_update_config()
1978 ps_codec->s_cfg.u4_enable_fast_sad = ps_cfg->u4_enable_fast_sad; in ih264e_codec_update_config()
1980 ps_codec->s_cfg.u4_srch_rng_x = ps_cfg->u4_srch_rng_x; in ih264e_codec_update_config()
1981 ps_codec->s_cfg.u4_srch_rng_y = ps_cfg->u4_srch_rng_y; in ih264e_codec_update_config()
1983 if (ps_codec->s_cfg.u4_enable_alt_ref != ps_cfg->u4_enable_alt_ref) in ih264e_codec_update_config()
1985 ps_codec->s_cfg.u4_enable_alt_ref = ps_cfg->u4_enable_alt_ref; in ih264e_codec_update_config()
2125 ps_codec->s_cfg.u4_i_qp_max = ps_cfg->u4_i_qp_max; in ih264e_codec_update_config()
2126 ps_codec->s_cfg.u4_i_qp_min = ps_cfg->u4_i_qp_min; in ih264e_codec_update_config()
2127 ps_codec->s_cfg.u4_i_qp = ps_cfg->u4_i_qp; in ih264e_codec_update_config()
2129 ps_codec->s_cfg.u4_p_qp_max = ps_cfg->u4_p_qp_max; in ih264e_codec_update_config()
2130 ps_codec->s_cfg.u4_p_qp_min = ps_cfg->u4_p_qp_min; in ih264e_codec_update_config()
2131 ps_codec->s_cfg.u4_p_qp = ps_cfg->u4_p_qp; in ih264e_codec_update_config()
2133 ps_codec->s_cfg.u4_b_qp_max = ps_cfg->u4_b_qp_max; in ih264e_codec_update_config()
2134 ps_codec->s_cfg.u4_b_qp_min = ps_cfg->u4_b_qp_min; in ih264e_codec_update_config()
2135 ps_codec->s_cfg.u4_b_qp = ps_cfg->u4_b_qp; in ih264e_codec_update_config()
2138 au1_init_qp[0] = gau1_h264_to_mpeg2_qmap[ps_codec->s_cfg.u4_i_qp]; in ih264e_codec_update_config()
2139 au1_init_qp[1] = gau1_h264_to_mpeg2_qmap[ps_codec->s_cfg.u4_p_qp]; in ih264e_codec_update_config()
2140 au1_init_qp[2] = gau1_h264_to_mpeg2_qmap[ps_codec->s_cfg.u4_b_qp]; in ih264e_codec_update_config()
2146 gau1_h264_to_mpeg2_qmap[ps_codec->s_cfg.u4_i_qp_min]; in ih264e_codec_update_config()
2148 gau1_h264_to_mpeg2_qmap[ps_codec->s_cfg.u4_i_qp_max]; in ih264e_codec_update_config()
2151 gau1_h264_to_mpeg2_qmap[ps_codec->s_cfg.u4_p_qp_min]; in ih264e_codec_update_config()
2153 gau1_h264_to_mpeg2_qmap[ps_codec->s_cfg.u4_p_qp_max]; in ih264e_codec_update_config()
2156 gau1_h264_to_mpeg2_qmap[ps_codec->s_cfg.u4_b_qp_min]; in ih264e_codec_update_config()
2158 gau1_h264_to_mpeg2_qmap[ps_codec->s_cfg.u4_b_qp_max]; in ih264e_codec_update_config()
2165 ps_codec->s_cfg.e_enc_mode = ps_cfg->e_enc_mode; in ih264e_codec_update_config()
2167 if (ps_codec->s_cfg.e_enc_mode == IVE_ENC_MODE_HEADER) in ih264e_codec_update_config()
2170 ps_codec->s_cfg.e_enc_mode = IVE_ENC_MODE_PICTURE; in ih264e_codec_update_config()
2178 && IVE_RC_NONE != ps_codec->s_cfg.e_rc_mode) in ih264e_codec_update_config()
2180 ps_codec->s_cfg.u4_vbv_buf_size = ps_cfg->u4_vbv_buf_size; in ih264e_codec_update_config()
2181 ps_codec->s_cfg.u4_vbv_buffer_delay = ps_cfg->u4_vbv_buffer_delay; in ih264e_codec_update_config()
2206 ps_codec->s_cfg.e_profile = ps_cfg->e_profile; in ih264e_codec_update_config()
2207 ps_codec->s_cfg.u4_entropy_coding_mode = ps_cfg->u4_entropy_coding_mode; in ih264e_codec_update_config()
2211 ps_codec->s_cfg.u4_num_cores = ps_cfg->u4_num_cores; in ih264e_codec_update_config()
2224 au1_init_qp[0] = gau1_h264_to_mpeg2_qmap[ps_codec->s_cfg.u4_i_qp]; in ih264e_codec_update_config()
2225 au1_init_qp[1] = gau1_h264_to_mpeg2_qmap[ps_codec->s_cfg.u4_p_qp]; in ih264e_codec_update_config()
2226 au1_init_qp[2] = gau1_h264_to_mpeg2_qmap[ps_codec->s_cfg.u4_b_qp]; in ih264e_codec_update_config()
2230 gau1_h264_to_mpeg2_qmap[ps_codec->s_cfg.u4_i_qp_min]; in ih264e_codec_update_config()
2232 gau1_h264_to_mpeg2_qmap[ps_codec->s_cfg.u4_i_qp_max]; in ih264e_codec_update_config()
2235 gau1_h264_to_mpeg2_qmap[ps_codec->s_cfg.u4_p_qp_min]; in ih264e_codec_update_config()
2237 gau1_h264_to_mpeg2_qmap[ps_codec->s_cfg.u4_p_qp_max]; in ih264e_codec_update_config()
2240 gau1_h264_to_mpeg2_qmap[ps_codec->s_cfg.u4_b_qp_min]; in ih264e_codec_update_config()
2242 gau1_h264_to_mpeg2_qmap[ps_codec->s_cfg.u4_b_qp_max]; in ih264e_codec_update_config()
2245 switch (ps_codec->s_cfg.e_rc_mode) in ih264e_codec_update_config()
2272 ps_codec->s_cfg.u4_max_framerate, in ih264e_codec_update_config()
2273 ps_codec->s_cfg.u4_src_frame_rate, in ih264e_codec_update_config()
2274 ps_codec->s_cfg.u4_tgt_frame_rate, in ih264e_codec_update_config()
2276 ps_codec->s_cfg.u4_target_bitrate, in ih264e_codec_update_config()
2277 ps_codec->s_cfg.u4_max_bitrate, in ih264e_codec_update_config()
2278 ps_codec->s_cfg.u4_vbv_buffer_delay, in ih264e_codec_update_config()
2279 ps_codec->s_cfg.u4_i_frm_interval, in ih264e_codec_update_config()
2280 ps_codec->s_cfg.u4_num_bframes + 1, au1_init_qp, in ih264e_codec_update_config()
2281 ps_codec->s_cfg.u4_num_bframes + 2, au1_min_max_qp, in ih264e_codec_update_config()
2282 ps_codec->s_cfg.u4_max_level); in ih264e_codec_update_config()
2409 cfg_params_t *ps_cfg = &(ps_codec->s_cfg); in ih264e_init()
3601 ps_cfg = &ps_codec->s_cfg; in ih264e_init_mem_rec()