Home
last modified time | relevance | path

Searched refs:ps_cfg (Results 1 – 4 of 4) sorted by relevance

/external/libavc/encoder/
Dih264e_api.c2350 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()
[all …]
Dih264e_encode_header.c1102 cfg_params_t *ps_cfg = &(ps_codec->s_cfg); in ih264e_populate_sps() local
1118 if ((ps_cfg->u4_num_bframes) || (ps_cfg->e_content_type != IV_PROGRESSIVE) || in ih264e_populate_sps()
1119 (ps_cfg->u4_entropy_coding_mode == CABAC) || (ps_cfg->u4_weighted_prediction)) in ih264e_populate_sps()
1129 ps_sps->u1_level_idc = MAX(ps_cfg->u4_max_level, in ih264e_populate_sps()
1130 (UWORD32)ih264e_get_min_level(ps_cfg->u4_max_wd, ps_cfg->u4_max_ht)); in ih264e_populate_sps()
1228 ps_sps->i2_pic_width_in_mbs_minus1 = ps_cfg->i4_wd_mbs - 1; in ih264e_populate_sps()
1231 ps_sps->i2_pic_height_in_map_units_minus1 = ps_cfg->i4_ht_mbs - 1;; in ih264e_populate_sps()
1305 cfg_params_t *ps_cfg = &(ps_codec->s_cfg); in ih264e_populate_pps() local
1314 ps_pps->u1_entropy_coding_mode_flag = ps_cfg->u4_entropy_coding_mode; in ih264e_populate_pps()
1352 ps_pps->i1_constrained_intra_pred_flag = ps_cfg->u4_constrained_intra_pred; in ih264e_populate_pps()
Dih264e_encode.c274 cfg_params_t *ps_cfg = &ps_codec->as_cfg[i]; in ih264e_encode() local
276 if (1 == ps_cfg->u4_is_valid) in ih264e_encode()
278 if ( ((ps_cfg->u4_timestamp_high == ps_video_encode_ip->s_ive_ip.u4_timestamp_high) && in ih264e_encode()
279 … (ps_cfg->u4_timestamp_low == ps_video_encode_ip->s_ive_ip.u4_timestamp_low)) || in ih264e_encode()
280 ((WORD32)ps_cfg->u4_timestamp_high == -1) || in ih264e_encode()
281 ((WORD32)ps_cfg->u4_timestamp_low == -1) ) in ih264e_encode()
283 error_status = ih264e_codec_update_config(ps_codec, ps_cfg); in ih264e_encode()
289 ps_cfg->u4_is_valid = 0; in ih264e_encode()
Dih264e_master.h130 IH264E_ERROR_T ih264e_codec_update_config(codec_t *ps_codec, cfg_params_t *ps_cfg);