Lines Matching refs:ps_curr_cfg
170 cfg_params_t *ps_curr_cfg = &ps_codec->s_cfg; in api_check_input_dimensions() local
219 if (u4_wd != ps_curr_cfg->u4_disp_wd) in api_check_input_dimensions()
226 if (u4_ht != ps_curr_cfg->u4_disp_ht) in api_check_input_dimensions()
2353 cfg_params_t *ps_curr_cfg = &ps_codec->s_cfg; in ih264e_codec_update_config() local
2369 if (ps_curr_cfg->u4_wd != wd_aln || ps_curr_cfg->u4_ht != ht_aln in ih264e_codec_update_config()
2370 || ps_curr_cfg->u4_disp_wd != ps_cfg->u4_disp_wd in ih264e_codec_update_config()
2371 || ps_curr_cfg->u4_disp_ht != ps_cfg->u4_disp_ht) in ih264e_codec_update_config()
2373 ps_curr_cfg->u4_wd = wd_aln; in ih264e_codec_update_config()
2374 ps_curr_cfg->u4_ht = ht_aln; in ih264e_codec_update_config()
2376 ps_curr_cfg->u4_disp_wd = ps_cfg->u4_disp_wd; in ih264e_codec_update_config()
2377 ps_curr_cfg->u4_disp_ht = ps_cfg->u4_disp_ht; in ih264e_codec_update_config()
2379 ps_curr_cfg->i4_wd_mbs = ps_curr_cfg->u4_wd >> 4; in ih264e_codec_update_config()
2380 ps_curr_cfg->i4_ht_mbs = ps_curr_cfg->u4_ht >> 4; in ih264e_codec_update_config()
2469 if (ps_curr_cfg->u4_target_bitrate != ps_cfg->u4_target_bitrate) in ih264e_codec_update_config()
2471 if (IVE_RC_NONE != ps_curr_cfg->e_rc_mode) in ih264e_codec_update_config()
2476 ps_curr_cfg->u4_target_bitrate = ps_cfg->u4_target_bitrate; in ih264e_codec_update_config()
2498 if (ps_curr_cfg->u4_enc_speed_preset == IVE_CONFIG) in ih264e_codec_update_config()
2505 else if (ps_curr_cfg->u4_enc_speed_preset == IVE_FASTEST) in ih264e_codec_update_config()
2520 ps_curr_cfg->u4_enc_speed_preset = ps_cfg->u4_enc_speed_preset; in ih264e_codec_update_config()
2521 ps_curr_cfg->u4_constrained_intra_pred = ps_cfg->u4_constrained_intra_pred; in ih264e_codec_update_config()
2522 if (ps_curr_cfg->u4_enc_speed_preset == IVE_SLOWEST) in ih264e_codec_update_config()
2525 ps_curr_cfg->u4_me_speed_preset = DMND_SRCH; in ih264e_codec_update_config()
2526 ps_curr_cfg->u4_enable_fast_sad = 0; in ih264e_codec_update_config()
2529 ps_curr_cfg->u4_enable_intra_4x4 = 1; in ih264e_codec_update_config()
2534 ps_curr_cfg->u4_enable_hpel = 1; in ih264e_codec_update_config()
2537 ps_curr_cfg->u4_disable_deblock_level = DISABLE_DEBLK_LEVEL_0; in ih264e_codec_update_config()
2542 else if (ps_curr_cfg->u4_enc_speed_preset == IVE_NORMAL) in ih264e_codec_update_config()
2545 ps_curr_cfg->u4_me_speed_preset = DMND_SRCH; in ih264e_codec_update_config()
2546 ps_curr_cfg->u4_enable_fast_sad = 0; in ih264e_codec_update_config()
2549 ps_curr_cfg->u4_enable_intra_4x4 = 1; in ih264e_codec_update_config()
2552 ps_curr_cfg->u4_enable_hpel = 1; in ih264e_codec_update_config()
2555 ps_curr_cfg->u4_disable_deblock_level = DISABLE_DEBLK_LEVEL_0; in ih264e_codec_update_config()
2560 else if (ps_curr_cfg->u4_enc_speed_preset == IVE_FAST) in ih264e_codec_update_config()
2563 ps_curr_cfg->u4_me_speed_preset = DMND_SRCH; in ih264e_codec_update_config()
2564 ps_curr_cfg->u4_enable_fast_sad = 0; in ih264e_codec_update_config()
2567 ps_curr_cfg->u4_enable_intra_4x4 = 0; in ih264e_codec_update_config()
2570 ps_curr_cfg->u4_enable_hpel = 1; in ih264e_codec_update_config()
2573 ps_curr_cfg->u4_disable_deblock_level = DISABLE_DEBLK_LEVEL_0; in ih264e_codec_update_config()
2578 else if (ps_curr_cfg->u4_enc_speed_preset == IVE_HIGH_SPEED) in ih264e_codec_update_config()
2581 ps_curr_cfg->u4_me_speed_preset = DMND_SRCH; in ih264e_codec_update_config()
2582 ps_curr_cfg->u4_enable_fast_sad = 0; in ih264e_codec_update_config()
2585 ps_curr_cfg->u4_enable_intra_4x4 = 0; in ih264e_codec_update_config()
2588 ps_curr_cfg->u4_enable_hpel = 0; in ih264e_codec_update_config()
2591 ps_curr_cfg->u4_disable_deblock_level = DISABLE_DEBLK_LEVEL_4; in ih264e_codec_update_config()
2596 else if (ps_curr_cfg->u4_enc_speed_preset == IVE_FASTEST) in ih264e_codec_update_config()
2599 ps_curr_cfg->u4_me_speed_preset = DMND_SRCH; in ih264e_codec_update_config()
2603 ps_curr_cfg->u4_enable_intra_4x4 = 0; in ih264e_codec_update_config()
2606 ps_curr_cfg->u4_enable_hpel = 0; in ih264e_codec_update_config()
2609 ps_curr_cfg->u4_disable_deblock_level = DISABLE_DEBLK_LEVEL_4; in ih264e_codec_update_config()
2614 else if (ps_curr_cfg->u4_enc_speed_preset == IVE_CONFIG) in ih264e_codec_update_config()
2616 ps_curr_cfg->u4_enable_intra_4x4 = ps_cfg->u4_enable_intra_4x4; in ih264e_codec_update_config()
2621 if (ps_curr_cfg->u4_i_frm_interval != ps_cfg->u4_i_frm_interval) in ih264e_codec_update_config()
2623 ps_curr_cfg->u4_i_frm_interval = ps_cfg->u4_i_frm_interval; in ih264e_codec_update_config()
2635 ps_curr_cfg->u4_i_frm_interval); in ih264e_codec_update_config()
2638 ps_curr_cfg->u4_idr_frm_interval = ps_cfg->u4_idr_frm_interval; in ih264e_codec_update_config()
2643 if (ps_curr_cfg->u4_enc_speed_preset == IVE_CONFIG) in ih264e_codec_update_config()
2645 ps_curr_cfg->u4_disable_deblock_level = in ih264e_codec_update_config()
2720 if (ps_curr_cfg->e_air_mode != ps_cfg->e_air_mode in ih264e_codec_update_config()
2721 || ps_curr_cfg->u4_air_refresh_period in ih264e_codec_update_config()
2724 ps_curr_cfg->e_air_mode = ps_cfg->e_air_mode; in ih264e_codec_update_config()
2725 ps_curr_cfg->u4_air_refresh_period = ps_cfg->u4_air_refresh_period; in ih264e_codec_update_config()