Lines Matching refs:ps_cfg
2350 cfg_params_t *ps_cfg) in ih264e_codec_update_config() argument
2364 if (ps_cfg->e_cmd == IVE_CMD_CTL_SET_DIMENSIONS) in ih264e_codec_update_config()
2366 UWORD32 wd_aln = ALIGN16(ps_cfg->u4_wd); in ih264e_codec_update_config()
2367 UWORD32 ht_aln = ALIGN16(ps_cfg->u4_ht); 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()
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()
2382 ps_codec->i4_rec_strd = ALIGN16(ps_cfg->u4_wd) + PAD_WD; in ih264e_codec_update_config()
2416 else if (ps_cfg->e_cmd == IVE_CMD_CTL_SET_FRAMERATE) in ih264e_codec_update_config()
2429 != ps_cfg->u4_src_frame_rate * 1000) 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()
2448 != ps_cfg->u4_tgt_frame_rate * 1000) 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()
2467 else if (ps_cfg->e_cmd == IVE_CMD_CTL_SET_BITRATE) in ih264e_codec_update_config()
2469 if (ps_curr_cfg->u4_target_bitrate != ps_cfg->u4_target_bitrate) in ih264e_codec_update_config()
2474 ps_cfg->u4_target_bitrate); in ih264e_codec_update_config()
2476 ps_curr_cfg->u4_target_bitrate = ps_cfg->u4_target_bitrate; in ih264e_codec_update_config()
2479 else if (ps_cfg->e_cmd == IVE_CMD_CTL_SET_FRAMETYPE) in ih264e_codec_update_config()
2481 switch (ps_cfg->e_frame_type) in ih264e_codec_update_config()
2496 else if (ps_cfg->e_cmd == IVE_CMD_CTL_SET_ME_PARAMS) 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()
2518 else if (ps_cfg->e_cmd == IVE_CMD_CTL_SET_IPE_PARAMS) 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()
2616 ps_curr_cfg->u4_enable_intra_4x4 = ps_cfg->u4_enable_intra_4x4; in ih264e_codec_update_config()
2619 else if (ps_cfg->e_cmd == IVE_CMD_CTL_SET_GOP_PARAMS) 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()
2638 ps_curr_cfg->u4_idr_frm_interval = ps_cfg->u4_idr_frm_interval; in ih264e_codec_update_config()
2641 else if (ps_cfg->e_cmd == IVE_CMD_CTL_SET_DEBLOCK_PARAMS) in ih264e_codec_update_config()
2646 ps_cfg->u4_disable_deblock_level; in ih264e_codec_update_config()
2649 else if (ps_cfg->e_cmd == IVE_CMD_CTL_SET_QP) 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()
2692 else if (ps_cfg->e_cmd == IVE_CMD_CTL_SET_ENC_MODE) in ih264e_codec_update_config()
2694 ps_codec->s_cfg.e_enc_mode = ps_cfg->e_enc_mode; in ih264e_codec_update_config()
2706 else if (ps_cfg->e_cmd == IVE_CMD_CTL_SET_VBV_PARAMS 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()
2718 else if (ps_cfg->e_cmd == IVE_CMD_CTL_SET_AIR_PARAMS) in ih264e_codec_update_config()
2720 if (ps_curr_cfg->e_air_mode != ps_cfg->e_air_mode in ih264e_codec_update_config()
2722 != ps_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()
2733 else if (ps_cfg->e_cmd == IVE_CMD_CTL_SET_PROFILE_PARAMS) 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()
2738 else if (ps_cfg->e_cmd == IVE_CMD_CTL_SET_NUM_CORES) in ih264e_codec_update_config()
2740 ps_codec->s_cfg.u4_num_cores = ps_cfg->u4_num_cores; in ih264e_codec_update_config()
2742 else if (ps_cfg->e_cmd == IVE_CMD_CTL_SET_VUI_PARAMS) in ih264e_codec_update_config()
2744 ps_codec->s_cfg.s_vui = ps_cfg->s_vui; in ih264e_codec_update_config()
2747 else if (ps_cfg->e_cmd == IVE_CMD_CTL_SET_SEI_MDCV_PARAMS) in ih264e_codec_update_config()
2750 ps_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()
2753 else if (ps_cfg->e_cmd == IVE_CMD_CTL_SET_SEI_CLL_PARAMS) in ih264e_codec_update_config()
2756 ps_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()
2759 else if (ps_cfg->e_cmd == IVE_CMD_CTL_SET_SEI_AVE_PARAMS) in ih264e_codec_update_config()
2762 ps_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()
2765 else if (ps_cfg->e_cmd == IVE_CMD_CTL_SET_SEI_CCV_PARAMS) in ih264e_codec_update_config()
2768 ps_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()
2865 static WORD32 ih264e_set_default_params(cfg_params_t *ps_cfg) in ih264e_set_default_params() argument
2869 ps_cfg->u4_max_wd = MAX_WD; in ih264e_set_default_params()
2870 ps_cfg->u4_max_ht = MAX_HT; in ih264e_set_default_params()
2871 ps_cfg->u4_max_ref_cnt = MAX_REF_CNT; in ih264e_set_default_params()
2872 ps_cfg->u4_max_reorder_cnt = MAX_REF_CNT; in ih264e_set_default_params()
2873 ps_cfg->u4_max_level = DEFAULT_MAX_LEVEL; in ih264e_set_default_params()
2874 ps_cfg->e_inp_color_fmt = IV_YUV_420SP_UV; in ih264e_set_default_params()
2875 ps_cfg->u4_enable_recon = DEFAULT_RECON_ENABLE; in ih264e_set_default_params()
2876 ps_cfg->e_recon_color_fmt = IV_YUV_420P; in ih264e_set_default_params()
2877 ps_cfg->u4_enc_speed_preset = IVE_FASTEST; in ih264e_set_default_params()
2878 ps_cfg->e_rc_mode = DEFAULT_RC; in ih264e_set_default_params()
2879 ps_cfg->u4_max_framerate = DEFAULT_MAX_FRAMERATE; in ih264e_set_default_params()
2880 ps_cfg->u4_max_bitrate = DEFAULT_MAX_BITRATE; in ih264e_set_default_params()
2881 ps_cfg->u4_num_bframes = DEFAULT_MAX_NUM_BFRAMES; in ih264e_set_default_params()
2882 ps_cfg->e_content_type = IV_PROGRESSIVE; in ih264e_set_default_params()
2883 ps_cfg->u4_max_srch_rng_x = DEFAULT_MAX_SRCH_RANGE_X; in ih264e_set_default_params()
2884 ps_cfg->u4_max_srch_rng_y = DEFAULT_MAX_SRCH_RANGE_Y; in ih264e_set_default_params()
2885 ps_cfg->e_slice_mode = IVE_SLICE_MODE_NONE; in ih264e_set_default_params()
2886 ps_cfg->u4_slice_param = DEFAULT_SLICE_PARAM; in ih264e_set_default_params()
2887 ps_cfg->e_arch = ih264e_default_arch(); in ih264e_set_default_params()
2888 ps_cfg->e_soc = SOC_GENERIC; in ih264e_set_default_params()
2889 ps_cfg->u4_disp_wd = MAX_WD; in ih264e_set_default_params()
2890 ps_cfg->u4_disp_ht = MAX_HT; in ih264e_set_default_params()
2891 ps_cfg->u4_wd = MAX_WD; in ih264e_set_default_params()
2892 ps_cfg->u4_ht = MAX_HT; in ih264e_set_default_params()
2893 ps_cfg->u4_src_frame_rate = DEFAULT_SRC_FRAME_RATE; in ih264e_set_default_params()
2894 ps_cfg->u4_tgt_frame_rate = DEFAULT_TGT_FRAME_RATE; in ih264e_set_default_params()
2895 ps_cfg->u4_target_bitrate = DEFAULT_BITRATE; in ih264e_set_default_params()
2896 ps_cfg->e_frame_type = IV_NA_FRAME; in ih264e_set_default_params()
2897 ps_cfg->e_enc_mode = IVE_ENC_MODE_DEFAULT; in ih264e_set_default_params()
2898 ps_cfg->u4_i_qp = DEFAULT_I_QP; in ih264e_set_default_params()
2899 ps_cfg->u4_p_qp = DEFAULT_P_QP; in ih264e_set_default_params()
2900 ps_cfg->u4_b_qp = DEFAULT_B_QP; in ih264e_set_default_params()
2901 ps_cfg->u4_i_qp_min = DEFAULT_QP_MIN; in ih264e_set_default_params()
2902 ps_cfg->u4_i_qp_max = DEFAULT_QP_MAX; in ih264e_set_default_params()
2903 ps_cfg->u4_p_qp_min = DEFAULT_QP_MIN; in ih264e_set_default_params()
2904 ps_cfg->u4_p_qp_max = DEFAULT_QP_MAX; in ih264e_set_default_params()
2905 ps_cfg->u4_b_qp_min = DEFAULT_QP_MIN; in ih264e_set_default_params()
2906 ps_cfg->u4_b_qp_max = DEFAULT_QP_MAX; in ih264e_set_default_params()
2907 ps_cfg->e_air_mode = DEFAULT_AIR_MODE; in ih264e_set_default_params()
2908 ps_cfg->u4_air_refresh_period = DEFAULT_AIR_REFRESH_PERIOD; in ih264e_set_default_params()
2909 ps_cfg->u4_vbv_buffer_delay = DEFAULT_VBV_DELAY; in ih264e_set_default_params()
2910 ps_cfg->u4_vbv_buf_size = DEFAULT_VBV_SIZE; in ih264e_set_default_params()
2911 ps_cfg->u4_num_cores = DEFAULT_NUM_CORES; in ih264e_set_default_params()
2912 ps_cfg->u4_me_speed_preset = DEFAULT_ME_SPEED_PRESET; in ih264e_set_default_params()
2913 ps_cfg->u4_enable_hpel = DEFAULT_HPEL; in ih264e_set_default_params()
2914 ps_cfg->u4_enable_qpel = DEFAULT_QPEL; in ih264e_set_default_params()
2915 ps_cfg->u4_enable_intra_4x4 = DEFAULT_I4; in ih264e_set_default_params()
2916 ps_cfg->u4_enable_intra_8x8 = DEFAULT_I8; in ih264e_set_default_params()
2917 ps_cfg->u4_enable_intra_16x16 = DEFAULT_I16; in ih264e_set_default_params()
2918 ps_cfg->u4_enable_fast_sad = DEFAULT_ENABLE_FAST_SAD; in ih264e_set_default_params()
2919 ps_cfg->u4_enable_satqd = DEFAULT_ENABLE_SATQD; in ih264e_set_default_params()
2920 ps_cfg->i4_min_sad = in ih264e_set_default_params()
2921 (ps_cfg->u4_enable_satqd == DEFAULT_ENABLE_SATQD) ? in ih264e_set_default_params()
2924 ps_cfg->u4_srch_rng_x = DEFAULT_SRCH_RNG_X; in ih264e_set_default_params()
2925 ps_cfg->u4_srch_rng_y = DEFAULT_SRCH_RNG_Y; in ih264e_set_default_params()
2926 ps_cfg->u4_i_frm_interval = DEFAULT_I_INTERVAL; in ih264e_set_default_params()
2927 ps_cfg->u4_idr_frm_interval = DEFAULT_IDR_INTERVAL; in ih264e_set_default_params()
2928 ps_cfg->u4_disable_deblock_level = DEFAULT_DISABLE_DEBLK_LEVEL; in ih264e_set_default_params()
2929 ps_cfg->e_profile = DEFAULT_PROFILE; in ih264e_set_default_params()
2930 ps_cfg->u4_timestamp_low = 0; in ih264e_set_default_params()
2931 ps_cfg->u4_timestamp_high = 0; in ih264e_set_default_params()
2932 ps_cfg->u4_is_valid = 1; in ih264e_set_default_params()
2933 ps_cfg->e_cmd = IVE_CMD_CT_NA; in ih264e_set_default_params()
2934 ps_cfg->i4_wd_mbs = ps_cfg->u4_max_wd >> 4; in ih264e_set_default_params()
2935 ps_cfg->i4_ht_mbs = ps_cfg->u4_max_ht >> 4; in ih264e_set_default_params()
2936 ps_cfg->u4_entropy_coding_mode = CAVLC; in ih264e_set_default_params()
2937 ps_cfg->u4_weighted_prediction = 0; in ih264e_set_default_params()
2938 ps_cfg->u4_constrained_intra_pred = 0; in ih264e_set_default_params()
2939 ps_cfg->u4_pic_info_type = 0; in ih264e_set_default_params()
2940 ps_cfg->u4_mb_info_type = 0; in ih264e_set_default_params()
2941 ps_cfg->s_vui.u1_video_signal_type_present_flag = 1; in ih264e_set_default_params()
2942 ps_cfg->s_vui.u1_colour_description_present_flag = 1; in ih264e_set_default_params()
2969 cfg_params_t *ps_cfg = &(ps_codec->s_cfg); in ih264e_init() local
2994 (ps_cfg->e_inp_color_fmt == IV_YUV_420SP_VU) ? in ih264e_init()
3079 WORD32 max_mb_rows = ps_cfg->i4_ht_mbs; in ih264e_init()
4116 cfg_params_t *ps_cfg; in ih264e_init_mem_rec() local
4161 ps_cfg = &ps_codec->s_cfg; in ih264e_init_mem_rec()
4162 ih264e_set_default_params(ps_cfg); in ih264e_init_mem_rec()
4165 ps_cfg->u4_max_wd = ALIGN16(ps_ip->s_ive_ip.u4_max_wd); in ih264e_init_mem_rec()
4166 ps_cfg->u4_max_ht = ALIGN16(ps_ip->s_ive_ip.u4_max_ht); in ih264e_init_mem_rec()
4169 ps_cfg->u4_wd = ps_cfg->u4_disp_wd = ps_cfg->u4_max_wd; in ih264e_init_mem_rec()
4170 ps_cfg->u4_ht = ps_cfg->u4_disp_ht = ps_cfg->u4_max_ht; in ih264e_init_mem_rec()
4172 ps_cfg->i4_wd_mbs = ps_cfg->u4_max_wd >> 4; in ih264e_init_mem_rec()
4173 ps_cfg->i4_ht_mbs = ps_cfg->u4_max_ht >> 4; in ih264e_init_mem_rec()
4174 ps_cfg->u4_max_ref_cnt = ps_ip->s_ive_ip.u4_max_ref_cnt; in ih264e_init_mem_rec()
4175 ps_cfg->u4_max_reorder_cnt = ps_ip->s_ive_ip.u4_max_reorder_cnt; in ih264e_init_mem_rec()
4176 ps_cfg->u4_max_level = ps_ip->s_ive_ip.u4_max_level; in ih264e_init_mem_rec()
4177 ps_cfg->e_inp_color_fmt = ps_ip->s_ive_ip.e_inp_color_fmt; in ih264e_init_mem_rec()
4178 ps_cfg->e_recon_color_fmt = ps_ip->s_ive_ip.e_recon_color_fmt; in ih264e_init_mem_rec()
4179 ps_cfg->u4_max_framerate = ps_ip->s_ive_ip.u4_max_framerate; in ih264e_init_mem_rec()
4180 ps_cfg->u4_max_bitrate = ps_ip->s_ive_ip.u4_max_bitrate; in ih264e_init_mem_rec()
4181 ps_cfg->u4_num_bframes = ps_ip->s_ive_ip.u4_num_bframes; in ih264e_init_mem_rec()
4182 ps_cfg->e_content_type = ps_ip->s_ive_ip.e_content_type; in ih264e_init_mem_rec()
4183 ps_cfg->u4_max_srch_rng_x = ps_ip->s_ive_ip.u4_max_srch_rng_x; in ih264e_init_mem_rec()
4184 ps_cfg->u4_max_srch_rng_y = ps_ip->s_ive_ip.u4_max_srch_rng_y; in ih264e_init_mem_rec()
4185 ps_cfg->e_slice_mode = ps_ip->s_ive_ip.e_slice_mode; in ih264e_init_mem_rec()
4186 ps_cfg->u4_slice_param = ps_ip->s_ive_ip.u4_slice_param; in ih264e_init_mem_rec()
4187 ps_cfg->e_arch = ps_ip->s_ive_ip.e_arch; in ih264e_init_mem_rec()
4188 ps_cfg->e_soc = ps_ip->s_ive_ip.e_soc; in ih264e_init_mem_rec()
4189 ps_cfg->u4_enable_recon = ps_ip->s_ive_ip.u4_enable_recon; in ih264e_init_mem_rec()
4190 ps_cfg->e_rc_mode = ps_ip->s_ive_ip.e_rc_mode; in ih264e_init_mem_rec()
4197 ps_cfg->u4_max_level = DEFAULT_MAX_LEVEL; in ih264e_init_mem_rec()
4203 ps_cfg->u4_max_ref_cnt = MAX_REF_CNT; in ih264e_init_mem_rec()
4209 ps_cfg->u4_max_reorder_cnt = MAX_REF_CNT; in ih264e_init_mem_rec()
5236 cfg_params_t *ps_cfg) in ih264e_set_dimensions() argument
5244 ps_cfg->u4_wd = ALIGN16(ps_ip->s_ive_ip.u4_wd); in ih264e_set_dimensions()
5245 ps_cfg->u4_ht = ALIGN16(ps_ip->s_ive_ip.u4_ht); in ih264e_set_dimensions()
5246 ps_cfg->i4_wd_mbs = ps_cfg->u4_wd >> 4; in ih264e_set_dimensions()
5247 ps_cfg->i4_ht_mbs = ps_cfg->u4_ht >> 4; in ih264e_set_dimensions()
5248 ps_cfg->u4_disp_wd = ps_ip->s_ive_ip.u4_wd; in ih264e_set_dimensions()
5249 ps_cfg->u4_disp_ht = ps_ip->s_ive_ip.u4_ht; in ih264e_set_dimensions()
5251 ps_cfg->u4_timestamp_high = ps_ip->s_ive_ip.u4_timestamp_high; in ih264e_set_dimensions()
5252 ps_cfg->u4_timestamp_low = ps_ip->s_ive_ip.u4_timestamp_low; in ih264e_set_dimensions()
5283 cfg_params_t *ps_cfg) in ih264e_set_frame_rate() argument
5291 ps_cfg->u4_src_frame_rate = ps_ip->s_ive_ip.u4_src_frame_rate; in ih264e_set_frame_rate()
5292 ps_cfg->u4_tgt_frame_rate = ps_ip->s_ive_ip.u4_tgt_frame_rate; in ih264e_set_frame_rate()
5294 ps_cfg->u4_timestamp_high = ps_ip->s_ive_ip.u4_timestamp_high; in ih264e_set_frame_rate()
5295 ps_cfg->u4_timestamp_low = ps_ip->s_ive_ip.u4_timestamp_low; in ih264e_set_frame_rate()
5326 cfg_params_t *ps_cfg) in ih264e_set_bit_rate() argument
5334 ps_cfg->u4_target_bitrate = ps_ip->s_ive_ip.u4_target_bitrate; in ih264e_set_bit_rate()
5336 ps_cfg->u4_timestamp_high = ps_ip->s_ive_ip.u4_timestamp_high; in ih264e_set_bit_rate()
5337 ps_cfg->u4_timestamp_low = ps_ip->s_ive_ip.u4_timestamp_low; in ih264e_set_bit_rate()
5368 cfg_params_t *ps_cfg) in ih264e_set_frame_type() argument
5376 ps_cfg->e_frame_type = ps_ip->s_ive_ip.e_frame_type; in ih264e_set_frame_type()
5378 ps_cfg->u4_timestamp_high = ps_ip->s_ive_ip.u4_timestamp_high; in ih264e_set_frame_type()
5379 ps_cfg->u4_timestamp_low = ps_ip->s_ive_ip.u4_timestamp_low; in ih264e_set_frame_type()
5410 cfg_params_t *ps_cfg) in ih264e_set_qp() argument
5418 ps_cfg->u4_i_qp_max = ps_set_qp_ip->s_ive_ip.u4_i_qp_max; in ih264e_set_qp()
5419 ps_cfg->u4_i_qp_min = ps_set_qp_ip->s_ive_ip.u4_i_qp_min; in ih264e_set_qp()
5420 ps_cfg->u4_i_qp = ps_set_qp_ip->s_ive_ip.u4_i_qp; in ih264e_set_qp()
5421 ps_cfg->u4_p_qp_max = ps_set_qp_ip->s_ive_ip.u4_p_qp_max; in ih264e_set_qp()
5422 ps_cfg->u4_p_qp_min = ps_set_qp_ip->s_ive_ip.u4_p_qp_min; in ih264e_set_qp()
5423 ps_cfg->u4_p_qp = ps_set_qp_ip->s_ive_ip.u4_p_qp; in ih264e_set_qp()
5424 ps_cfg->u4_b_qp_max = ps_set_qp_ip->s_ive_ip.u4_b_qp_max; in ih264e_set_qp()
5425 ps_cfg->u4_b_qp_min = ps_set_qp_ip->s_ive_ip.u4_b_qp_min; in ih264e_set_qp()
5426 ps_cfg->u4_b_qp = ps_set_qp_ip->s_ive_ip.u4_b_qp; in ih264e_set_qp()
5428 ps_cfg->u4_timestamp_high = ps_set_qp_ip->s_ive_ip.u4_timestamp_high; in ih264e_set_qp()
5429 ps_cfg->u4_timestamp_low = ps_set_qp_ip->s_ive_ip.u4_timestamp_low; in ih264e_set_qp()
5460 cfg_params_t *ps_cfg) in ih264e_set_enc_mode() argument
5468 ps_cfg->e_enc_mode = ps_ip->s_ive_ip.e_enc_mode; in ih264e_set_enc_mode()
5470 ps_cfg->u4_timestamp_high = ps_ip->s_ive_ip.u4_timestamp_high; in ih264e_set_enc_mode()
5471 ps_cfg->u4_timestamp_low = ps_ip->s_ive_ip.u4_timestamp_low; in ih264e_set_enc_mode()
5502 cfg_params_t *ps_cfg) in ih264e_set_vbv_params() argument
5510 ps_cfg->u4_vbv_buf_size = ps_ip->s_ive_ip.u4_vbv_buf_size; in ih264e_set_vbv_params()
5511 ps_cfg->u4_vbv_buffer_delay = ps_ip->s_ive_ip.u4_vbv_buffer_delay; in ih264e_set_vbv_params()
5513 ps_cfg->u4_timestamp_high = ps_ip->s_ive_ip.u4_timestamp_high; in ih264e_set_vbv_params()
5514 ps_cfg->u4_timestamp_low = ps_ip->s_ive_ip.u4_timestamp_low; in ih264e_set_vbv_params()
5545 cfg_params_t *ps_cfg) in ih264_set_air_params() argument
5553 ps_cfg->e_air_mode = ps_ip->s_ive_ip.e_air_mode; in ih264_set_air_params()
5554 ps_cfg->u4_air_refresh_period = ps_ip->s_ive_ip.u4_air_refresh_period; in ih264_set_air_params()
5556 ps_cfg->u4_timestamp_high = ps_ip->s_ive_ip.u4_timestamp_high; in ih264_set_air_params()
5557 ps_cfg->u4_timestamp_low = ps_ip->s_ive_ip.u4_timestamp_low; in ih264_set_air_params()
5588 cfg_params_t *ps_cfg) in ih264_set_me_params() argument
5596 ps_cfg->u4_enable_hpel = ps_ip->s_ive_ip.u4_enable_hpel; in ih264_set_me_params()
5597 ps_cfg->u4_enable_qpel = ps_ip->s_ive_ip.u4_enable_qpel; in ih264_set_me_params()
5598 ps_cfg->u4_enable_fast_sad = ps_ip->s_ive_ip.u4_enable_fast_sad; in ih264_set_me_params()
5599 ps_cfg->u4_enable_alt_ref = ps_ip->s_ive_ip.u4_enable_alt_ref; in ih264_set_me_params()
5600 ps_cfg->u4_srch_rng_x = ps_ip->s_ive_ip.u4_srch_rng_x; in ih264_set_me_params()
5601 ps_cfg->u4_srch_rng_y = ps_ip->s_ive_ip.u4_srch_rng_y; in ih264_set_me_params()
5602 ps_cfg->u4_me_speed_preset = ps_ip->s_ive_ip.u4_me_speed_preset; in ih264_set_me_params()
5604 ps_cfg->u4_timestamp_high = ps_ip->s_ive_ip.u4_timestamp_high; in ih264_set_me_params()
5605 ps_cfg->u4_timestamp_low = ps_ip->s_ive_ip.u4_timestamp_low; in ih264_set_me_params()
5636 cfg_params_t *ps_cfg) in ih264_set_ipe_params() argument
5644 ps_cfg->u4_enable_intra_4x4 = ps_ip->s_ive_ip.u4_enable_intra_4x4; in ih264_set_ipe_params()
5645 ps_cfg->u4_enc_speed_preset = ps_ip->s_ive_ip.u4_enc_speed_preset; in ih264_set_ipe_params()
5647 ps_cfg->u4_constrained_intra_pred = ps_ip->s_ive_ip.u4_constrained_intra_pred; in ih264_set_ipe_params()
5649 ps_cfg->u4_timestamp_high = ps_ip->s_ive_ip.u4_timestamp_high; in ih264_set_ipe_params()
5650 ps_cfg->u4_timestamp_low = ps_ip->s_ive_ip.u4_timestamp_low; in ih264_set_ipe_params()
5681 cfg_params_t *ps_cfg) in ih264_set_gop_params() argument
5689 ps_cfg->u4_i_frm_interval = ps_ip->s_ive_ip.u4_i_frm_interval; in ih264_set_gop_params()
5690 ps_cfg->u4_idr_frm_interval = ps_ip->s_ive_ip.u4_idr_frm_interval; in ih264_set_gop_params()
5692 ps_cfg->u4_timestamp_high = ps_ip->s_ive_ip.u4_timestamp_high; in ih264_set_gop_params()
5693 ps_cfg->u4_timestamp_low = ps_ip->s_ive_ip.u4_timestamp_low; in ih264_set_gop_params()
5724 cfg_params_t *ps_cfg) in ih264_set_profile_params() argument
5732 ps_cfg->e_profile = ps_ip->s_ive_ip.e_profile; in ih264_set_profile_params()
5734 ps_cfg->u4_entropy_coding_mode = ps_ip->s_ive_ip.u4_entropy_coding_mode; in ih264_set_profile_params()
5736 ps_cfg->u4_timestamp_high = ps_ip->s_ive_ip.u4_timestamp_high; in ih264_set_profile_params()
5737 ps_cfg->u4_timestamp_low = ps_ip->s_ive_ip.u4_timestamp_low; in ih264_set_profile_params()
5770 cfg_params_t *ps_cfg) in ih264_set_deblock_params() argument
5778 ps_cfg->u4_disable_deblock_level = ps_ip->s_ive_ip.u4_disable_deblock_level; in ih264_set_deblock_params()
5780 ps_cfg->u4_timestamp_high = ps_ip->s_ive_ip.u4_timestamp_high; in ih264_set_deblock_params()
5781 ps_cfg->u4_timestamp_low = ps_ip->s_ive_ip.u4_timestamp_low; in ih264_set_deblock_params()
5811 cfg_params_t *ps_cfg) in ih264e_set_vui_params() argument
5816 vui_t *ps_vui = &ps_cfg->s_vui; in ih264e_set_vui_params()
5896 cfg_params_t *ps_cfg) in ih264e_set_sei_mdcv_params() argument
5902 sei_params_t *ps_sei = &ps_cfg->s_sei; in ih264e_set_sei_mdcv_params()
5922 ps_cfg->u4_timestamp_high = ps_ip->u4_timestamp_high; in ih264e_set_sei_mdcv_params()
5923 ps_cfg->u4_timestamp_low = ps_ip->u4_timestamp_low; in ih264e_set_sei_mdcv_params()
5954 cfg_params_t *ps_cfg) in ih264e_set_sei_cll_params() argument
5959 sei_params_t *ps_sei = &ps_cfg->s_sei; in ih264e_set_sei_cll_params()
5969 ps_cfg->u4_timestamp_high = ps_ip->u4_timestamp_high; in ih264e_set_sei_cll_params()
5970 ps_cfg->u4_timestamp_low = ps_ip->u4_timestamp_low; in ih264e_set_sei_cll_params()
6001 cfg_params_t *ps_cfg) in ih264e_set_sei_ave_params() argument
6006 sei_params_t *ps_sei = &ps_cfg->s_sei; in ih264e_set_sei_ave_params()
6016 ps_cfg->u4_timestamp_high = ps_ip->u4_timestamp_high; in ih264e_set_sei_ave_params()
6017 ps_cfg->u4_timestamp_low = ps_ip->u4_timestamp_low; in ih264e_set_sei_ave_params()
6048 cfg_params_t *ps_cfg) in ih264e_set_sei_ccv_params() argument
6054 sei_params_t *ps_sei = &ps_cfg->s_sei; in ih264e_set_sei_ccv_params()
6085 ps_cfg->u4_timestamp_high = ps_ip->u4_timestamp_high; in ih264e_set_sei_ccv_params()
6086 ps_cfg->u4_timestamp_low = ps_ip->u4_timestamp_low; in ih264e_set_sei_ccv_params()
6117 cfg_params_t *ps_cfg) in ih264e_set_num_cores() argument
6125 ps_cfg->u4_num_cores = MIN(ps_ip->s_ive_ip.u4_num_cores, MAX_PROCESS_THREADS); in ih264e_set_num_cores()
6127 ps_cfg->u4_timestamp_high = ps_ip->s_ive_ip.u4_timestamp_high; in ih264e_set_num_cores()
6128 ps_cfg->u4_timestamp_low = ps_ip->s_ive_ip.u4_timestamp_low; in ih264e_set_num_cores()
6226 cfg_params_t *ps_cfg = NULL; in ih264e_ctl() local
6245 ps_cfg = &ps_codec->as_cfg[i]; in ih264e_ctl()
6251 if (NULL == ps_cfg) in ih264e_ctl()
6253 ps_cfg = &ps_codec->as_cfg[0]; in ih264e_ctl()
6256 ps_cfg->u4_is_valid = 1; in ih264e_ctl()
6258 ps_cfg->e_cmd = sub_cmd; in ih264e_ctl()
6263 ret = ih264e_set_dimensions(pv_api_ip, pv_api_op, ps_cfg); in ih264e_ctl()
6267 ret = ih264e_set_frame_rate(pv_api_ip, pv_api_op, ps_cfg); in ih264e_ctl()
6271 ret = ih264e_set_bit_rate(pv_api_ip, pv_api_op, ps_cfg); in ih264e_ctl()
6275 ret = ih264e_set_frame_type(pv_api_ip, pv_api_op, ps_cfg); in ih264e_ctl()
6279 ret = ih264e_set_qp(pv_api_ip, pv_api_op, ps_cfg); in ih264e_ctl()
6283 ret = ih264e_set_enc_mode(pv_api_ip, pv_api_op, ps_cfg); in ih264e_ctl()
6287 ret = ih264e_set_vbv_params(pv_api_ip, pv_api_op, ps_cfg); in ih264e_ctl()
6291 ret = ih264_set_air_params(pv_api_ip, pv_api_op, ps_cfg); in ih264e_ctl()
6295 ret = ih264_set_me_params(pv_api_ip, pv_api_op, ps_cfg); in ih264e_ctl()
6299 ret = ih264_set_ipe_params(pv_api_ip, pv_api_op, ps_cfg); in ih264e_ctl()
6303 ret = ih264_set_gop_params(pv_api_ip, pv_api_op, ps_cfg); in ih264e_ctl()
6307 ret = ih264_set_profile_params(pv_api_ip, pv_api_op, ps_cfg); in ih264e_ctl()
6311 ret = ih264_set_deblock_params(pv_api_ip, pv_api_op, ps_cfg); in ih264e_ctl()
6315 ret = ih264e_set_vui_params(pv_api_ip, pv_api_op, ps_cfg); in ih264e_ctl()
6319 ret = ih264e_set_sei_mdcv_params(pv_api_ip, pv_api_op, ps_cfg); in ih264e_ctl()
6323 ret = ih264e_set_sei_cll_params(pv_api_ip, pv_api_op, ps_cfg); in ih264e_ctl()
6327 ret = ih264e_set_sei_ave_params(pv_api_ip, pv_api_op, ps_cfg); in ih264e_ctl()
6331 ret = ih264e_set_sei_ccv_params(pv_api_ip, pv_api_op, ps_cfg); in ih264e_ctl()
6351 ret = ih264e_set_default_params(ps_cfg); in ih264e_ctl()
6408 ret = ih264e_set_num_cores(pv_api_ip, pv_api_op, ps_cfg); in ih264e_ctl()