• Home
  • Raw
  • Download

Lines Matching refs:s_cfg

251                 ps_codec->s_cfg.s_sei.u1_sei_ccv_params_present_flag;  in ih264e_input_queue_update()
252 ps_inp_buf->s_sei_ccv = ps_codec->s_cfg.s_sei.s_sei_ccv_params; in ih264e_input_queue_update()
268 i4_force_idr |= !(ps_codec->i4_pic_cnt % ps_codec->s_cfg.u4_idr_frm_interval); in ih264e_input_queue_update()
287 < (WORD32)(ps_codec->s_cfg.u4_num_bframes)) in ih264e_input_queue_update()
410 && ps_codec->s_cfg.u4_num_bframes) in ih264e_input_queue_update()
819 * (ps_codec->s_cfg.u4_ht + PAD_HT); in ih264e_pic_buf_mgr_add_bufs()
897 WORD32 num_luma_samples = ALIGN16(ps_codec->s_cfg.u4_wd) in ih264e_mv_buf_mgr_add_bufs()
898 * ALIGN16(ps_codec->s_cfg.u4_ht); in ih264e_mv_buf_mgr_add_bufs()
1069 if (ps_proc->ps_codec->s_cfg.u4_enable_satqd) in ih264e_init_quant_params()
1120 IVE_AIR_MODE_T air_mode = ps_codec->s_cfg.e_air_mode; in ih264e_init_air_map()
1123 UWORD32 air_period = ps_codec->s_cfg.u4_air_refresh_period; in ih264e_init_air_map()
1126 UWORD32 u4_mb_cnt = ps_codec->s_cfg.i4_wd_mbs * ps_codec->s_cfg.i4_ht_mbs; in ih264e_init_air_map()
1187 if (ps_codec->s_cfg.u4_enc_speed_preset != IVE_CONFIG) in ih264e_codec_init()
1189 if (ps_codec->s_cfg.u4_enc_speed_preset == IVE_SLOWEST) in ih264e_codec_init()
1192 ps_codec->s_cfg.u4_me_speed_preset = DMND_SRCH; in ih264e_codec_init()
1193 ps_codec->s_cfg.u4_enable_fast_sad = 0; in ih264e_codec_init()
1196 ps_codec->s_cfg.u4_enable_intra_4x4 = 1; in ih264e_codec_init()
1201 ps_codec->s_cfg.u4_enable_hpel = 1; in ih264e_codec_init()
1204 ps_codec->s_cfg.u4_disable_deblock_level = DISABLE_DEBLK_LEVEL_0; in ih264e_codec_init()
1209 else if (ps_codec->s_cfg.u4_enc_speed_preset == IVE_NORMAL) in ih264e_codec_init()
1212 ps_codec->s_cfg.u4_me_speed_preset = DMND_SRCH; in ih264e_codec_init()
1213 ps_codec->s_cfg.u4_enable_fast_sad = 0; in ih264e_codec_init()
1216 ps_codec->s_cfg.u4_enable_intra_4x4 = 1; in ih264e_codec_init()
1219 ps_codec->s_cfg.u4_enable_hpel = 1; in ih264e_codec_init()
1222 ps_codec->s_cfg.u4_disable_deblock_level = DISABLE_DEBLK_LEVEL_0; in ih264e_codec_init()
1227 else if (ps_codec->s_cfg.u4_enc_speed_preset == IVE_FAST) in ih264e_codec_init()
1230 ps_codec->s_cfg.u4_me_speed_preset = DMND_SRCH; in ih264e_codec_init()
1231 ps_codec->s_cfg.u4_enable_fast_sad = 0; in ih264e_codec_init()
1234 ps_codec->s_cfg.u4_enable_intra_4x4 = 0; in ih264e_codec_init()
1237 ps_codec->s_cfg.u4_enable_hpel = 1; in ih264e_codec_init()
1240 ps_codec->s_cfg.u4_disable_deblock_level = DISABLE_DEBLK_LEVEL_0; in ih264e_codec_init()
1245 else if (ps_codec->s_cfg.u4_enc_speed_preset == IVE_HIGH_SPEED) in ih264e_codec_init()
1248 ps_codec->s_cfg.u4_me_speed_preset = DMND_SRCH; in ih264e_codec_init()
1249 ps_codec->s_cfg.u4_enable_fast_sad = 0; in ih264e_codec_init()
1252 ps_codec->s_cfg.u4_enable_intra_4x4 = 0; in ih264e_codec_init()
1255 ps_codec->s_cfg.u4_enable_hpel = 0; in ih264e_codec_init()
1258 ps_codec->s_cfg.u4_disable_deblock_level = DISABLE_DEBLK_LEVEL_4; in ih264e_codec_init()
1263 else if (ps_codec->s_cfg.u4_enc_speed_preset == IVE_FASTEST) in ih264e_codec_init()
1266 ps_codec->s_cfg.u4_me_speed_preset = DMND_SRCH; in ih264e_codec_init()
1269 ps_codec->s_cfg.u4_enable_intra_4x4 = 0; in ih264e_codec_init()
1272 ps_codec->s_cfg.u4_enable_hpel = 0; in ih264e_codec_init()
1275 ps_codec->s_cfg.u4_disable_deblock_level = DISABLE_DEBLK_LEVEL_4; in ih264e_codec_init()
1285 if (IVE_AIR_MODE_NONE != ps_codec->s_cfg.e_air_mode) in ih264e_codec_init()
1303 au1_init_qp[0] = gau1_h264_to_mpeg2_qmap[ps_codec->s_cfg.u4_i_qp]; in ih264e_codec_init()
1304 au1_init_qp[1] = gau1_h264_to_mpeg2_qmap[ps_codec->s_cfg.u4_p_qp]; in ih264e_codec_init()
1305 au1_init_qp[2] = gau1_h264_to_mpeg2_qmap[ps_codec->s_cfg.u4_b_qp]; in ih264e_codec_init()
1309 gau1_h264_to_mpeg2_qmap[ps_codec->s_cfg.u4_i_qp_min]; in ih264e_codec_init()
1311 gau1_h264_to_mpeg2_qmap[ps_codec->s_cfg.u4_i_qp_max]; in ih264e_codec_init()
1314 gau1_h264_to_mpeg2_qmap[ps_codec->s_cfg.u4_p_qp_min]; in ih264e_codec_init()
1316 gau1_h264_to_mpeg2_qmap[ps_codec->s_cfg.u4_p_qp_max]; in ih264e_codec_init()
1319 gau1_h264_to_mpeg2_qmap[ps_codec->s_cfg.u4_b_qp_min]; in ih264e_codec_init()
1321 gau1_h264_to_mpeg2_qmap[ps_codec->s_cfg.u4_b_qp_max]; in ih264e_codec_init()
1324 switch (ps_codec->s_cfg.e_rc_mode) in ih264e_codec_init()
1347 ps_codec->s_cfg.u4_max_framerate, in ih264e_codec_init()
1348 ps_codec->s_cfg.u4_src_frame_rate, in ih264e_codec_init()
1349 ps_codec->s_cfg.u4_tgt_frame_rate, in ih264e_codec_init()
1351 ps_codec->s_cfg.u4_target_bitrate, in ih264e_codec_init()
1352 ps_codec->s_cfg.u4_max_bitrate, in ih264e_codec_init()
1353 ps_codec->s_cfg.u4_vbv_buffer_delay, in ih264e_codec_init()
1354 ps_codec->s_cfg.u4_i_frm_interval, in ih264e_codec_init()
1355 ps_codec->s_cfg.u4_num_bframes + 1, au1_init_qp, in ih264e_codec_init()
1356 ps_codec->s_cfg.u4_num_bframes + 2 , au1_min_max_qp, in ih264e_codec_init()
1357 MAX(ps_codec->s_cfg.u4_max_level, in ih264e_codec_init()
1358 … (UWORD32)ih264e_get_min_level(ps_codec->s_cfg.u4_max_wd, ps_codec->s_cfg.u4_max_ht))); in ih264e_codec_init()
1362 ps_codec->i4_rec_strd = ALIGN16(ps_codec->s_cfg.u4_max_wd) + PAD_WD; in ih264e_codec_init()
1365 ps_codec->i4_ref_buf_cnt = ps_codec->s_cfg.u4_max_ref_cnt in ih264e_codec_init()
1366 + ps_codec->s_cfg.u4_max_reorder_cnt; in ih264e_codec_init()
1441 (ps_codec->s_cfg.u4_enc_speed_preset == IVE_FASTEST) ? in ih264e_pic_init()
1445 UWORD32 u4_enable_fast_sad = ps_codec->s_cfg.u4_enable_fast_sad; in ih264e_pic_init()
1477 if (ps_codec->s_cfg.u4_enable_alt_ref && (*pic_type == PIC_P) in ih264e_pic_init()
1479 % (ps_codec->s_cfg.u4_enable_alt_ref + 1))) in ih264e_pic_init()
1512 if (ps_codec->s_cfg.u4_disable_deblock_level == DISABLE_DEBLK_LEVEL_0) in ih264e_pic_init()
1517 else if (ps_codec->s_cfg.u4_disable_deblock_level == DISABLE_DEBLK_LEVEL_2) in ih264e_pic_init()
1526 else if (ps_codec->s_cfg.u4_disable_deblock_level == DISABLE_DEBLK_LEVEL_3) in ih264e_pic_init()
1546 if (ps_codec->s_cfg.e_slice_mode != IVE_SLICE_MODE_NONE) in ih264e_pic_init()
1764 if (1 == ps_codec->s_cfg.u4_enable_recon) in ih264e_pic_init()
1815 if (ps_codec->s_cfg.e_inp_color_fmt == IV_YUV_422ILE) in ih264e_pic_init()
1826 if (ps_codec->s_cfg.e_inp_color_fmt == IV_YUV_422ILE in ih264e_pic_init()
1827 || ps_codec->s_cfg.e_inp_color_fmt == IV_YUV_420P) in ih264e_pic_init()
1860 ps_proc->i4_wd_mbs = ps_codec->s_cfg.i4_wd_mbs; in ih264e_pic_init()
1863 ps_proc->i4_ht_mbs = ps_codec->s_cfg.i4_ht_mbs; in ih264e_pic_init()
1913 if (IVE_AIR_MODE_NONE != ps_codec->s_cfg.e_air_mode) in ih264e_pic_init()
1916 % ps_codec->s_cfg.u4_air_refresh_period; in ih264e_pic_init()
1930 if (ps_codec->s_cfg.e_slice_mode == IVE_SLICE_MODE_NONE) in ih264e_pic_init()
1935 else if (ps_codec->s_cfg.e_slice_mode == IVE_SLICE_MODE_BLOCKS) in ih264e_pic_init()
1945 if (i4_mb_y +(WORD32)ps_codec->s_cfg.u4_slice_param < ps_proc->i4_ht_mbs) in ih264e_pic_init()
1947 cnt = ps_codec->s_cfg.u4_slice_param * ps_proc->i4_wd_mbs; in ih264e_pic_init()
1948 i4_mb_y += ps_codec->s_cfg.u4_slice_param; in ih264e_pic_init()
2074 ps_codec->s_cfg.u4_entropy_coding_mode; in ih264e_pic_init()
2119 ps_codec->s_cfg.u4_srch_rng_x; in ih264e_pic_init()
2123 ps_codec->s_cfg.u4_srch_rng_y; in ih264e_pic_init()
2141 ps_me_ctxt->u4_enable_hpel = ps_codec->s_cfg.u4_enable_hpel; in ih264e_pic_init()
2148 ps_codec->s_cfg.u4_me_speed_preset; in ih264e_pic_init()
2182 s_job.i2_mb_cnt = ps_codec->s_cfg.i4_wd_mbs; in ih264e_pic_init()
2190 for (i = 0; i < (WORD32)ps_codec->s_cfg.i4_ht_mbs; i++) in ih264e_pic_init()