Lines Matching refs:s_ive_ip
171 iv_raw_buf_t *ps_inp_buf = &ps_ip->s_ive_ip.s_inp_buf; in api_check_input_dimensions()
363 if (ps_ip->s_ive_ip.u4_size != sizeof(ih264e_num_mem_rec_ip_t)) in api_check_struct_sanity()
388 WORD32 max_wd = ALIGN16(ps_ip->s_ive_ip.u4_max_wd); in api_check_struct_sanity()
389 WORD32 max_ht = ALIGN16(ps_ip->s_ive_ip.u4_max_ht); in api_check_struct_sanity()
393 if (ps_ip->s_ive_ip.u4_size != sizeof(ih264e_fill_mem_rec_ip_t)) in api_check_struct_sanity()
424 if (NULL == ps_ip->s_ive_ip.ps_mem_rec) in api_check_struct_sanity()
433 if (ps_ip->s_ive_ip.u4_num_mem_rec != MEM_REC_CNT) in api_check_struct_sanity()
442 ps_mem_rec = ps_ip->s_ive_ip.ps_mem_rec; in api_check_struct_sanity()
463 WORD32 max_wd = ALIGN16(ps_ip->s_ive_ip.u4_max_wd); in api_check_struct_sanity()
464 WORD32 max_ht = ALIGN16(ps_ip->s_ive_ip.u4_max_ht); in api_check_struct_sanity()
468 if (ps_ip->s_ive_ip.u4_size != sizeof(ih264e_init_ip_t)) in api_check_struct_sanity()
498 if (ps_ip->s_ive_ip.u4_max_ref_cnt > MAX_REF_PIC_CNT || in api_check_struct_sanity()
499 ps_ip->s_ive_ip.u4_max_ref_cnt < MIN_REF_PIC_CNT) in api_check_struct_sanity()
506 if (ps_ip->s_ive_ip.u4_max_reorder_cnt != 0) in api_check_struct_sanity()
513 if ((ps_ip->s_ive_ip.u4_max_level != IH264_LEVEL_10) in api_check_struct_sanity()
514 && (ps_ip->s_ive_ip.u4_max_level != IH264_LEVEL_1B) in api_check_struct_sanity()
515 && (ps_ip->s_ive_ip.u4_max_level != IH264_LEVEL_11) in api_check_struct_sanity()
516 && (ps_ip->s_ive_ip.u4_max_level != IH264_LEVEL_12) in api_check_struct_sanity()
517 && (ps_ip->s_ive_ip.u4_max_level != IH264_LEVEL_13) in api_check_struct_sanity()
518 && (ps_ip->s_ive_ip.u4_max_level != IH264_LEVEL_20) in api_check_struct_sanity()
519 && (ps_ip->s_ive_ip.u4_max_level != IH264_LEVEL_21) in api_check_struct_sanity()
520 && (ps_ip->s_ive_ip.u4_max_level != IH264_LEVEL_22) in api_check_struct_sanity()
521 && (ps_ip->s_ive_ip.u4_max_level != IH264_LEVEL_30) in api_check_struct_sanity()
522 && (ps_ip->s_ive_ip.u4_max_level != IH264_LEVEL_31) in api_check_struct_sanity()
523 && (ps_ip->s_ive_ip.u4_max_level != IH264_LEVEL_32) in api_check_struct_sanity()
524 && (ps_ip->s_ive_ip.u4_max_level != IH264_LEVEL_40) in api_check_struct_sanity()
525 && (ps_ip->s_ive_ip.u4_max_level != IH264_LEVEL_41) in api_check_struct_sanity()
526 && (ps_ip->s_ive_ip.u4_max_level != IH264_LEVEL_42) in api_check_struct_sanity()
527 && (ps_ip->s_ive_ip.u4_max_level != IH264_LEVEL_50) in api_check_struct_sanity()
528 && (ps_ip->s_ive_ip.u4_max_level != IH264_LEVEL_51)) in api_check_struct_sanity()
536 if ((ps_ip->s_ive_ip.e_inp_color_fmt != IV_YUV_420P) in api_check_struct_sanity()
537 && (ps_ip->s_ive_ip.e_inp_color_fmt != IV_YUV_422ILE) in api_check_struct_sanity()
538 && (ps_ip->s_ive_ip.e_inp_color_fmt != IV_YUV_420SP_UV) in api_check_struct_sanity()
539 && (ps_ip->s_ive_ip.e_inp_color_fmt != IV_YUV_420SP_VU)) in api_check_struct_sanity()
547 if ((ps_ip->s_ive_ip.e_recon_color_fmt != IV_YUV_420P) in api_check_struct_sanity()
548 && (ps_ip->s_ive_ip.e_recon_color_fmt != IV_YUV_420SP_UV) in api_check_struct_sanity()
549 && (ps_ip->s_ive_ip.e_recon_color_fmt != IV_YUV_420SP_VU)) in api_check_struct_sanity()
557 if ((ps_ip->s_ive_ip.e_rc_mode != IVE_RC_NONE) in api_check_struct_sanity()
558 && (ps_ip->s_ive_ip.e_rc_mode != IVE_RC_STORAGE) in api_check_struct_sanity()
559 && (ps_ip->s_ive_ip.e_rc_mode != IVE_RC_CBR_NON_LOW_DELAY)) in api_check_struct_sanity()
567 if (ps_ip->s_ive_ip.u4_max_framerate > DEFAULT_MAX_FRAMERATE) in api_check_struct_sanity()
575 if (ps_ip->s_ive_ip.u4_max_bitrate > DEFAULT_MAX_BITRATE) in api_check_struct_sanity()
582 if (ps_ip->s_ive_ip.u4_num_bframes > MAX_NUM_BFRAMES) in api_check_struct_sanity()
589 if (ps_ip->s_ive_ip.u4_num_bframes in api_check_struct_sanity()
590 && (ps_ip->s_ive_ip.u4_max_ref_cnt < 2)) in api_check_struct_sanity()
597 if (ps_ip->s_ive_ip.e_content_type != IV_PROGRESSIVE) in api_check_struct_sanity()
605 if (ps_ip->s_ive_ip.u4_max_srch_rng_x > DEFAULT_MAX_SRCH_RANGE_X) in api_check_struct_sanity()
613 if (ps_ip->s_ive_ip.u4_max_srch_rng_y > DEFAULT_MAX_SRCH_RANGE_Y) in api_check_struct_sanity()
621 if ((ps_ip->s_ive_ip.e_slice_mode != IVE_SLICE_MODE_NONE) in api_check_struct_sanity()
622 && (ps_ip->s_ive_ip.e_slice_mode != IVE_SLICE_MODE_BLOCKS)) in api_check_struct_sanity()
630 if (ps_ip->s_ive_ip.e_slice_mode == IVE_SLICE_MODE_BLOCKS) in api_check_struct_sanity()
632 if (ps_ip->s_ive_ip.u4_slice_param == 0 in api_check_struct_sanity()
633 || ps_ip->s_ive_ip.u4_slice_param > ((UWORD32)max_ht >> 4)) in api_check_struct_sanity()
642 if (NULL == ps_ip->s_ive_ip.ps_mem_rec) in api_check_struct_sanity()
651 if (ps_ip->s_ive_ip.u4_num_mem_rec != MEM_REC_CNT) in api_check_struct_sanity()
659 ps_mem_rec = ps_ip->s_ive_ip.ps_mem_rec; in api_check_struct_sanity()
662 for (i = 0; i <((WORD32)ps_ip->s_ive_ip.u4_num_mem_rec); i++) in api_check_struct_sanity()
745 s_ip.s_ive_ip.u4_size = sizeof(ih264e_fill_mem_rec_ip_t); in api_check_struct_sanity()
748 s_ip.s_ive_ip.e_cmd = IV_CMD_FILL_NUM_MEM_REC; in api_check_struct_sanity()
749 s_ip.s_ive_ip.ps_mem_rec = s_mem_rec_ittiam_api; in api_check_struct_sanity()
750 s_ip.s_ive_ip.u4_max_wd = max_wd; in api_check_struct_sanity()
751 s_ip.s_ive_ip.u4_max_ht = max_ht; in api_check_struct_sanity()
752 s_ip.s_ive_ip.u4_num_mem_rec = ps_ip->s_ive_ip.u4_num_mem_rec; in api_check_struct_sanity()
753 s_ip.s_ive_ip.u4_max_level = ps_ip->s_ive_ip.u4_max_level; in api_check_struct_sanity()
754 s_ip.s_ive_ip.u4_max_ref_cnt = ps_ip->s_ive_ip.u4_max_ref_cnt; in api_check_struct_sanity()
755 s_ip.s_ive_ip.u4_max_reorder_cnt = in api_check_struct_sanity()
756 ps_ip->s_ive_ip.u4_max_reorder_cnt; in api_check_struct_sanity()
757 s_ip.s_ive_ip.e_color_format = ps_ip->s_ive_ip.e_inp_color_fmt; in api_check_struct_sanity()
758 s_ip.s_ive_ip.u4_max_srch_rng_x = in api_check_struct_sanity()
759 ps_ip->s_ive_ip.u4_max_srch_rng_x; in api_check_struct_sanity()
760 s_ip.s_ive_ip.u4_max_srch_rng_y = in api_check_struct_sanity()
761 ps_ip->s_ive_ip.u4_max_srch_rng_y; in api_check_struct_sanity()
874 if (ps_ip->s_ive_ip.u4_size != sizeof(ih264e_retrieve_mem_rec_ip_t)) in api_check_struct_sanity()
890 if (NULL == ps_ip->s_ive_ip.ps_mem_rec) in api_check_struct_sanity()
898 ps_mem_rec = ps_ip->s_ive_ip.ps_mem_rec; in api_check_struct_sanity()
920 if (ps_ip->s_ive_ip.u4_size != sizeof(ih264e_video_encode_ip_t)) in api_check_struct_sanity()
936 if (NULL != ps_ip->s_ive_ip.s_inp_buf.apv_bufs[0] && in api_check_struct_sanity()
962 if (ps_ip->s_ive_ip.u4_size in api_check_struct_sanity()
991 if (ps_ip->s_ive_ip.u4_size in api_check_struct_sanity()
1011 if (ps_ip->s_ive_ip.u4_max_wd < MIN_WD) in api_check_struct_sanity()
1020 if (ps_ip->s_ive_ip.u4_max_wd > ps_codec->s_cfg.u4_max_wd) in api_check_struct_sanity()
1029 if (ps_ip->s_ive_ip.u4_max_ht < MIN_HT) in api_check_struct_sanity()
1038 if (ps_ip->s_ive_ip.u4_max_ht > ps_codec->s_cfg.u4_max_ht) in api_check_struct_sanity()
1047 if ((ps_ip->s_ive_ip.e_inp_color_fmt != IV_YUV_420P) in api_check_struct_sanity()
1048 && (ps_ip->s_ive_ip.e_inp_color_fmt != IV_YUV_422ILE) in api_check_struct_sanity()
1049 && (ps_ip->s_ive_ip.e_inp_color_fmt != IV_YUV_420SP_UV) in api_check_struct_sanity()
1050 && (ps_ip->s_ive_ip.e_inp_color_fmt != IV_YUV_420SP_VU)) in api_check_struct_sanity()
1066 if (ps_ip->s_ive_ip.u4_size in api_check_struct_sanity()
1086 if (ps_ip->s_ive_ip.pu1_version == NULL) in api_check_struct_sanity()
1103 if (ps_ip->s_ive_ip.u4_size in api_check_struct_sanity()
1131 if (ps_ip->s_ive_ip.u4_size in api_check_struct_sanity()
1159 if (ps_ip->s_ive_ip.u4_size in api_check_struct_sanity()
1179 if ((ps_ip->s_ive_ip.u4_num_cores < 1) in api_check_struct_sanity()
1180 || (ps_ip->s_ive_ip.u4_num_cores > MAX_NUM_CORES)) in api_check_struct_sanity()
1199 if (ps_ip->s_ive_ip.u4_size in api_check_struct_sanity()
1219 if (ps_ip->s_ive_ip.u4_wd < MIN_WD) in api_check_struct_sanity()
1228 if (ps_ip->s_ive_ip.u4_wd > ps_codec->s_cfg.u4_max_wd) in api_check_struct_sanity()
1237 if (ps_ip->s_ive_ip.u4_ht < MIN_HT) in api_check_struct_sanity()
1246 if (ps_ip->s_ive_ip.u4_ht > ps_codec->s_cfg.u4_max_ht) in api_check_struct_sanity()
1255 if(ps_ip->s_ive_ip.u4_wd & 1) in api_check_struct_sanity()
1264 if(ps_ip->s_ive_ip.u4_ht & 1) in api_check_struct_sanity()
1281 if (ps_ip->s_ive_ip.u4_size in api_check_struct_sanity()
1301 if (((ps_ip->s_ive_ip.u4_src_frame_rate * 1000) > DEFAULT_MAX_FRAMERATE) in api_check_struct_sanity()
1302 … || ((ps_ip->s_ive_ip.u4_tgt_frame_rate * 1000) > DEFAULT_MAX_FRAMERATE)) in api_check_struct_sanity()
1311 if ((ps_ip->s_ive_ip.u4_src_frame_rate == 0) in api_check_struct_sanity()
1312 || (ps_ip->s_ive_ip.u4_tgt_frame_rate == 0)) in api_check_struct_sanity()
1321 if (ps_ip->s_ive_ip.u4_tgt_frame_rate in api_check_struct_sanity()
1322 > ps_ip->s_ive_ip.u4_src_frame_rate) in api_check_struct_sanity()
1339 if (ps_ip->s_ive_ip.u4_size in api_check_struct_sanity()
1359 if ((ps_ip->s_ive_ip.u4_target_bitrate > DEFAULT_MAX_BITRATE) in api_check_struct_sanity()
1360 || (ps_ip->s_ive_ip.u4_target_bitrate == 0)) in api_check_struct_sanity()
1377 if (ps_ip->s_ive_ip.u4_size in api_check_struct_sanity()
1397 if ((ps_ip->s_ive_ip.e_frame_type != IV_NA_FRAME) in api_check_struct_sanity()
1398 && (ps_ip->s_ive_ip.e_frame_type != IV_I_FRAME) in api_check_struct_sanity()
1399 && (ps_ip->s_ive_ip.e_frame_type != IV_P_FRAME) in api_check_struct_sanity()
1400 && (ps_ip->s_ive_ip.e_frame_type != IV_IDR_FRAME)) in api_check_struct_sanity()
1418 if (ps_ip->s_ive_ip.u4_size in api_check_struct_sanity()
1438 if ((ps_ip->s_ive_ip.u4_me_speed_preset != FULL_SRCH) in api_check_struct_sanity()
1439 && (ps_ip->s_ive_ip.u4_me_speed_preset != DMND_SRCH) in api_check_struct_sanity()
1440 && (ps_ip->s_ive_ip.u4_me_speed_preset != HEX_SRCH)) in api_check_struct_sanity()
1449 if ((ps_ip->s_ive_ip.u4_enable_hpel != 0) in api_check_struct_sanity()
1450 && (ps_ip->s_ive_ip.u4_enable_hpel != 1)) in api_check_struct_sanity()
1459 if ((ps_ip->s_ive_ip.u4_enable_qpel != 0) in api_check_struct_sanity()
1460 && (ps_ip->s_ive_ip.u4_enable_qpel != 1)) in api_check_struct_sanity()
1469 if ((ps_ip->s_ive_ip.u4_enable_fast_sad != 0) in api_check_struct_sanity()
1470 && (ps_ip->s_ive_ip.u4_enable_fast_sad != 1)) in api_check_struct_sanity()
1479 if (ps_ip->s_ive_ip.u4_enable_alt_ref > 255) in api_check_struct_sanity()
1488 if (ps_ip->s_ive_ip.u4_srch_rng_x in api_check_struct_sanity()
1498 if (ps_ip->s_ive_ip.u4_srch_rng_y in api_check_struct_sanity()
1516 if (ps_ip->s_ive_ip.u4_size in api_check_struct_sanity()
1536 if ((ps_ip->s_ive_ip.u4_enable_intra_4x4 != 0) in api_check_struct_sanity()
1537 && (ps_ip->s_ive_ip.u4_enable_intra_4x4 != 1)) in api_check_struct_sanity()
1546 if ((ps_ip->s_ive_ip.u4_constrained_intra_pred != 0) in api_check_struct_sanity()
1547 && (ps_ip->s_ive_ip.u4_constrained_intra_pred != 1)) in api_check_struct_sanity()
1556 if ((ps_ip->s_ive_ip.u4_enc_speed_preset != IVE_CONFIG) in api_check_struct_sanity()
1557 && (ps_ip->s_ive_ip.u4_enc_speed_preset != IVE_SLOWEST) in api_check_struct_sanity()
1558 && (ps_ip->s_ive_ip.u4_enc_speed_preset != IVE_NORMAL) in api_check_struct_sanity()
1559 && (ps_ip->s_ive_ip.u4_enc_speed_preset != IVE_FAST) in api_check_struct_sanity()
1560 && (ps_ip->s_ive_ip.u4_enc_speed_preset != IVE_HIGH_SPEED) in api_check_struct_sanity()
1561 && (ps_ip->s_ive_ip.u4_enc_speed_preset != IVE_FASTEST)) in api_check_struct_sanity()
1578 if (ps_ip->s_ive_ip.u4_size in api_check_struct_sanity()
1598 if ((ps_ip->s_ive_ip.u4_i_frm_interval < DEFAULT_MIN_INTRA_FRAME_RATE) in api_check_struct_sanity()
1599 … || (ps_ip->s_ive_ip.u4_i_frm_interval > DEFAULT_MAX_INTRA_FRAME_RATE)) in api_check_struct_sanity()
1608 if ((ps_ip->s_ive_ip.u4_idr_frm_interval < DEFAULT_MIN_INTRA_FRAME_RATE) in api_check_struct_sanity()
1609 … || (ps_ip->s_ive_ip.u4_idr_frm_interval > DEFAULT_MAX_INTRA_FRAME_RATE)) in api_check_struct_sanity()
1626 if (ps_ip->s_ive_ip.u4_size in api_check_struct_sanity()
1646 if ((ps_ip->s_ive_ip.u4_disable_deblock_level != DISABLE_DEBLK_LEVEL_0) in api_check_struct_sanity()
1647 … && (ps_ip->s_ive_ip.u4_disable_deblock_level != DISABLE_DEBLK_LEVEL_2) in api_check_struct_sanity()
1648 … && (ps_ip->s_ive_ip.u4_disable_deblock_level != DISABLE_DEBLK_LEVEL_3) in api_check_struct_sanity()
1649 … && (ps_ip->s_ive_ip.u4_disable_deblock_level != DISABLE_DEBLK_LEVEL_4)) in api_check_struct_sanity()
1666 if (ps_ip->s_ive_ip.u4_size in api_check_struct_sanity()
1686 if ((ps_ip->s_ive_ip.u4_i_qp_max > MAX_H264_QP) in api_check_struct_sanity()
1687 || (ps_ip->s_ive_ip.u4_p_qp_max > MAX_H264_QP) in api_check_struct_sanity()
1688 || (ps_ip->s_ive_ip.u4_b_qp_max > MAX_H264_QP)) in api_check_struct_sanity()
1698 if ((ps_ip->s_ive_ip.u4_i_qp_min < 4) in api_check_struct_sanity()
1699 || (ps_ip->s_ive_ip.u4_p_qp_min < 4) in api_check_struct_sanity()
1700 || (ps_ip->s_ive_ip.u4_b_qp_min < 4) in api_check_struct_sanity()
1701 || (ps_ip->s_ive_ip.u4_i_qp_min > ps_ip->s_ive_ip.u4_i_qp_max) in api_check_struct_sanity()
1702 || (ps_ip->s_ive_ip.u4_p_qp_min > ps_ip->s_ive_ip.u4_p_qp_max) in api_check_struct_sanity()
1703 || (ps_ip->s_ive_ip.u4_b_qp_min > ps_ip->s_ive_ip.u4_b_qp_max)) in api_check_struct_sanity()
1712 if ((ps_ip->s_ive_ip.u4_i_qp > ps_ip->s_ive_ip.u4_i_qp_max) in api_check_struct_sanity()
1713 || (ps_ip->s_ive_ip.u4_p_qp > ps_ip->s_ive_ip.u4_p_qp_max) in api_check_struct_sanity()
1714 || (ps_ip->s_ive_ip.u4_b_qp > ps_ip->s_ive_ip.u4_b_qp_max)) in api_check_struct_sanity()
1722 if ((ps_ip->s_ive_ip.u4_i_qp < ps_ip->s_ive_ip.u4_i_qp_min) in api_check_struct_sanity()
1723 || (ps_ip->s_ive_ip.u4_p_qp < ps_ip->s_ive_ip.u4_p_qp_min) in api_check_struct_sanity()
1724 || (ps_ip->s_ive_ip.u4_b_qp < ps_ip->s_ive_ip.u4_b_qp_min)) in api_check_struct_sanity()
2146 if (ps_ip->s_ive_ip.u4_size in api_check_struct_sanity()
2166 if ((ps_ip->s_ive_ip.e_enc_mode != IVE_ENC_MODE_HEADER) in api_check_struct_sanity()
2167 && (ps_ip->s_ive_ip.e_enc_mode != IVE_ENC_MODE_PICTURE)) in api_check_struct_sanity()
2184 if (ps_ip->s_ive_ip.u4_size in api_check_struct_sanity()
2204 if ((ps_ip->s_ive_ip.u4_vbv_buffer_delay < DEFAULT_MIN_BUFFER_DELAY) in api_check_struct_sanity()
2205 … || (ps_ip->s_ive_ip.u4_vbv_buffer_delay > DEFAULT_MAX_BUFFER_DELAY)) in api_check_struct_sanity()
2222 if (ps_ip->s_ive_ip.u4_size in api_check_struct_sanity()
2242 if ((ps_ip->s_ive_ip.e_air_mode != IVE_AIR_MODE_NONE) in api_check_struct_sanity()
2243 && (ps_ip->s_ive_ip.e_air_mode != IVE_AIR_MODE_CYCLIC) in api_check_struct_sanity()
2244 && (ps_ip->s_ive_ip.e_air_mode != IVE_AIR_MODE_RANDOM)) in api_check_struct_sanity()
2253 if (ps_ip->s_ive_ip.u4_air_refresh_period == 0) in api_check_struct_sanity()
2270 if (ps_ip->s_ive_ip.u4_size in api_check_struct_sanity()
2290 if (ps_ip->s_ive_ip.e_profile != IV_PROFILE_BASE && in api_check_struct_sanity()
2291 ps_ip->s_ive_ip.e_profile != IV_PROFILE_MAIN) in api_check_struct_sanity()
2300 if (ps_ip->s_ive_ip.u4_entropy_coding_mode > 1) in api_check_struct_sanity()
3254 num_reorder_frames = ps_ip->s_ive_ip.u4_max_reorder_cnt; in ih264e_fill_num_mem_rec()
3255 num_ref_frames = ps_ip->s_ive_ip.u4_max_ref_cnt; in ih264e_fill_num_mem_rec()
3258 ps_mem_rec_base = ps_ip->s_ive_ip.ps_mem_rec; in ih264e_fill_num_mem_rec()
3259 no_of_mem_rec = ps_ip->s_ive_ip.u4_num_mem_rec; in ih264e_fill_num_mem_rec()
3262 max_ht_luma = ps_ip->s_ive_ip.u4_max_ht; in ih264e_fill_num_mem_rec()
3263 max_wd_luma = ps_ip->s_ive_ip.u4_max_wd; in ih264e_fill_num_mem_rec()
3511 UWORD32 u4_srch_range_x = ps_ip->s_ive_ip.u4_max_srch_rng_x; in ih264e_fill_num_mem_rec()
3514 UWORD32 u4_srch_range_y = ps_ip->s_ive_ip.u4_max_srch_rng_y; in ih264e_fill_num_mem_rec()
4127 max_ht_luma = ALIGN16(ps_ip->s_ive_ip.u4_max_ht); in ih264e_init_mem_rec()
4128 max_wd_luma = ALIGN16(ps_ip->s_ive_ip.u4_max_wd); in ih264e_init_mem_rec()
4134 ps_mem_rec_base = ps_ip->s_ive_ip.ps_mem_rec; 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()
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()
4193 if ((ps_ip->s_ive_ip.u4_max_level < MIN_LEVEL) in ih264e_init_mem_rec()
4194 || (ps_ip->s_ive_ip.u4_max_level > MAX_LEVEL)) in ih264e_init_mem_rec()
4200 if (ps_ip->s_ive_ip.u4_max_ref_cnt > MAX_REF_CNT) in ih264e_init_mem_rec()
4206 if (ps_ip->s_ive_ip.u4_max_reorder_cnt > MAX_REF_CNT) in ih264e_init_mem_rec()
4414 UWORD32 u4_srch_range_x = ps_ip->s_ive_ip.u4_max_srch_rng_x; in ih264e_init_mem_rec()
4417 UWORD32 u4_srch_range_y = ps_ip->s_ive_ip.u4_max_srch_rng_y; in ih264e_init_mem_rec()
5045 memcpy(ps_ip->s_ive_ip.ps_mem_rec, ps_codec->ps_mem_rec_backup, in ih264e_retrieve_memrec()
5143 WORD32 wd = ALIGN16(ps_ip->s_ive_ip.u4_max_wd); in ih264e_get_buf_info()
5144 WORD32 ht = ALIGN16(ps_ip->s_ive_ip.u4_max_ht); in ih264e_get_buf_info()
5153 if (ps_ip->s_ive_ip.e_inp_color_fmt == IV_YUV_420P) in ih264e_get_buf_info()
5161 else if (ps_ip->s_ive_ip.e_inp_color_fmt == IV_YUV_422ILE) in ih264e_get_buf_info()
5169 else if (ps_ip->s_ive_ip.e_inp_color_fmt == IV_RGB_565) in ih264e_get_buf_info()
5177 else if (ps_ip->s_ive_ip.e_inp_color_fmt == IV_RGBA_8888) in ih264e_get_buf_info()
5185 else if ((ps_ip->s_ive_ip.e_inp_color_fmt == IV_YUV_420SP_UV) in ih264e_get_buf_info()
5186 || (ps_ip->s_ive_ip.e_inp_color_fmt == IV_YUV_420SP_VU)) in ih264e_get_buf_info()
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()
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()
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()
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()
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()
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()
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()
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()
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()
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()
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()
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()
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()
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()
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()
6219 IVE_CONTROL_API_COMMAND_TYPE_T sub_cmd = ps_ctl_ip->s_ive_ip.e_sub_cmd; in ih264e_ctl()
6386 if (ps_ip->s_ive_ip.u4_version_bufsize <= 0) in ih264e_ctl()
6394 ret = ih264e_get_version((CHAR *) ps_ip->s_ive_ip.pu1_version, in ih264e_ctl()
6395 ps_ip->s_ive_ip.u4_version_bufsize); in ih264e_ctl()