Lines Matching full:ps_curr_cfg
1848 cfg_params_t *ps_curr_cfg = &ps_codec->s_cfg;
1864 if (ps_curr_cfg->u4_wd != wd_aln || ps_curr_cfg->u4_ht != ht_aln
1865 || ps_curr_cfg->u4_disp_wd != ps_cfg->u4_disp_wd
1866 || ps_curr_cfg->u4_disp_ht != ps_cfg->u4_disp_ht)
1868 ps_curr_cfg->u4_wd = wd_aln;
1869 ps_curr_cfg->u4_ht = ht_aln;
1871 ps_curr_cfg->u4_disp_wd = ps_cfg->u4_disp_wd;
1872 ps_curr_cfg->u4_disp_ht = ps_cfg->u4_disp_ht;
1874 ps_curr_cfg->i4_wd_mbs = ps_curr_cfg->u4_wd >> 4;
1875 ps_curr_cfg->i4_ht_mbs = ps_curr_cfg->u4_ht >> 4;
1964 if (ps_curr_cfg->u4_target_bitrate != ps_cfg->u4_target_bitrate)
1966 if (IVE_RC_NONE != ps_curr_cfg->e_rc_mode)
1971 ps_curr_cfg->u4_target_bitrate = ps_cfg->u4_target_bitrate;
1993 if (ps_curr_cfg->u4_enc_speed_preset == IVE_CONFIG)
2000 else if (ps_curr_cfg->u4_enc_speed_preset == IVE_FASTEST)
2015 ps_curr_cfg->u4_enc_speed_preset = ps_cfg->u4_enc_speed_preset;
2016 ps_curr_cfg->u4_constrained_intra_pred = ps_cfg->u4_constrained_intra_pred;
2017 if (ps_curr_cfg->u4_enc_speed_preset == IVE_SLOWEST)
2020 ps_curr_cfg->u4_me_speed_preset = DMND_SRCH;
2021 ps_curr_cfg->u4_enable_fast_sad = 0;
2024 ps_curr_cfg->u4_enable_intra_4x4 = 1;
2029 ps_curr_cfg->u4_enable_hpel = 1;
2032 ps_curr_cfg->u4_disable_deblock_level = DISABLE_DEBLK_LEVEL_0;
2037 else if (ps_curr_cfg->u4_enc_speed_preset == IVE_NORMAL)
2040 ps_curr_cfg->u4_me_speed_preset = DMND_SRCH;
2041 ps_curr_cfg->u4_enable_fast_sad = 0;
2044 ps_curr_cfg->u4_enable_intra_4x4 = 1;
2047 ps_curr_cfg->u4_enable_hpel = 1;
2050 ps_curr_cfg->u4_disable_deblock_level = DISABLE_DEBLK_LEVEL_0;
2055 else if (ps_curr_cfg->u4_enc_speed_preset == IVE_FAST)
2058 ps_curr_cfg->u4_me_speed_preset = DMND_SRCH;
2059 ps_curr_cfg->u4_enable_fast_sad = 0;
2062 ps_curr_cfg->u4_enable_intra_4x4 = 0;
2065 ps_curr_cfg->u4_enable_hpel = 1;
2068 ps_curr_cfg->u4_disable_deblock_level = DISABLE_DEBLK_LEVEL_0;
2073 else if (ps_curr_cfg->u4_enc_speed_preset == IVE_HIGH_SPEED)
2076 ps_curr_cfg->u4_me_speed_preset = DMND_SRCH;
2077 ps_curr_cfg->u4_enable_fast_sad = 0;
2080 ps_curr_cfg->u4_enable_intra_4x4 = 0;
2083 ps_curr_cfg->u4_enable_hpel = 0;
2086 ps_curr_cfg->u4_disable_deblock_level = DISABLE_DEBLK_LEVEL_4;
2091 else if (ps_curr_cfg->u4_enc_speed_preset == IVE_FASTEST)
2094 ps_curr_cfg->u4_me_speed_preset = DMND_SRCH;
2098 ps_curr_cfg->u4_enable_intra_4x4 = 0;
2101 ps_curr_cfg->u4_enable_hpel = 0;
2104 ps_curr_cfg->u4_disable_deblock_level = DISABLE_DEBLK_LEVEL_4;
2109 else if (ps_curr_cfg->u4_enc_speed_preset == IVE_CONFIG)
2111 ps_curr_cfg->u4_enable_intra_4x4 = ps_cfg->u4_enable_intra_4x4;
2116 if (ps_curr_cfg->u4_i_frm_interval != ps_cfg->u4_i_frm_interval)
2118 ps_curr_cfg->u4_i_frm_interval = ps_cfg->u4_i_frm_interval;
2130 ps_curr_cfg->u4_i_frm_interval);
2133 ps_curr_cfg->u4_idr_frm_interval = ps_cfg->u4_idr_frm_interval;
2138 if (ps_curr_cfg->u4_enc_speed_preset == IVE_CONFIG)
2140 ps_curr_cfg->u4_disable_deblock_level =
2215 if (ps_curr_cfg->e_air_mode != ps_cfg->e_air_mode
2216 || ps_curr_cfg->u4_air_refresh_period
2219 ps_curr_cfg->e_air_mode = ps_cfg->e_air_mode;
2220 ps_curr_cfg->u4_air_refresh_period = ps_cfg->u4_air_refresh_period;