Home
last modified time | relevance | path

Searched refs:s_cfg (Results 1 – 13 of 13) sorted by relevance

/external/libavc/encoder/
Dih264e_utils.c264 i4_force_idr |= !(ps_codec->i4_pic_cnt % ps_codec->s_cfg.u4_idr_frm_interval); in ih264e_input_queue_update()
283 < (WORD32)(ps_codec->s_cfg.u4_num_bframes)) in ih264e_input_queue_update()
403 && ps_codec->s_cfg.u4_num_bframes) in ih264e_input_queue_update()
812 * (ps_codec->s_cfg.u4_ht + PAD_HT); in ih264e_pic_buf_mgr_add_bufs()
890 WORD32 num_luma_samples = ALIGN16(ps_codec->s_cfg.u4_wd) in ih264e_mv_buf_mgr_add_bufs()
891 * ALIGN16(ps_codec->s_cfg.u4_ht); in ih264e_mv_buf_mgr_add_bufs()
1062 if (ps_proc->ps_codec->s_cfg.u4_enable_satqd) in ih264e_init_quant_params()
1113 IVE_AIR_MODE_T air_mode = ps_codec->s_cfg.e_air_mode; in ih264e_init_air_map()
1116 UWORD32 air_period = ps_codec->s_cfg.u4_air_refresh_period; in ih264e_init_air_map()
1119 UWORD32 u4_mb_cnt = ps_codec->s_cfg.i4_wd_mbs * ps_codec->s_cfg.i4_ht_mbs; in ih264e_init_air_map()
[all …]
Dih264e_process.c185 &ps_codec->s_cfg.s_vui); in ih264e_generate_sps_pps()
376 &ps_codec->s_cfg.s_vui); in ih264e_entropy()
469 if (ps_codec->s_cfg.e_slice_mode == IVE_SLICE_MODE_BLOCKS) in ih264e_entropy()
550 && ps_codec->s_cfg.e_slice_mode in ih264e_entropy()
1039 s_job.i2_mb_cnt = ps_codec->s_cfg.i4_wd_mbs; in ih264e_update_proc_ctxt()
1180 UWORD32 u4_pad_right_sz = ps_codec->s_cfg.u4_wd - ps_codec->s_cfg.u4_disp_wd; in ih264e_init_proc_ctxt()
1181 UWORD32 u4_pad_bottom_sz = ps_codec->s_cfg.u4_ht - ps_codec->s_cfg.u4_disp_ht; in ih264e_init_proc_ctxt()
1199 ps_codec->s_cfg.e_inp_color_fmt == IV_YUV_422ILE) in ih264e_init_proc_ctxt()
1204 i4_src_strd = ps_proc->i4_src_strd = ps_codec->s_cfg.u4_max_wd; in ih264e_init_proc_ctxt()
1205 …f_luma = ps_proc->pu1_src_buf_luma_base + (i4_mb_x * MB_SIZE) + ps_codec->s_cfg.u4_max_wd * (i4_mb… in ih264e_init_proc_ctxt()
[all …]
Dih264e_api.c915 if (ps_ip->s_ive_ip.u4_max_wd > ps_codec->s_cfg.u4_max_wd) in api_check_struct_sanity()
933 if (ps_ip->s_ive_ip.u4_max_ht > ps_codec->s_cfg.u4_max_ht) in api_check_struct_sanity()
1123 if (ps_ip->s_ive_ip.u4_wd > ps_codec->s_cfg.u4_max_wd) in api_check_struct_sanity()
1141 if (ps_ip->s_ive_ip.u4_ht > ps_codec->s_cfg.u4_max_ht) in api_check_struct_sanity()
1384 > ps_codec->s_cfg.u4_max_srch_rng_x) in api_check_struct_sanity()
1394 > ps_codec->s_cfg.u4_max_srch_rng_y) in api_check_struct_sanity()
1866 cfg_params_t *ps_curr_cfg = &ps_codec->s_cfg; in ih264e_codec_update_config()
1899 if (ps_codec->s_cfg.e_air_mode != IVE_AIR_MODE_NONE) in ih264e_codec_update_config()
1941 if (ps_codec->s_cfg.u4_src_frame_rate in ih264e_codec_update_config()
1944 ps_codec->s_cfg.u4_src_frame_rate = ps_cfg->u4_src_frame_rate in ih264e_codec_update_config()
[all …]
Dih264e_encode.c301 ps_codec->s_cfg.e_inp_color_fmt, in ih264e_encode()
302 ps_codec->s_cfg.u4_disp_wd, in ih264e_encode()
303 ps_codec->s_cfg.u4_disp_ht); in ih264e_encode()
308 if (ps_codec->s_cfg.u4_enable_alt_ref || ps_codec->s_cfg.u4_num_bframes) in ih264e_encode()
409 WORD32 num_thread_cnt = ps_codec->s_cfg.u4_num_cores - 1; in ih264e_encode()
476 if (ps_codec->s_cfg.u4_enable_recon && (ps_codec->i4_frame_num > 1 || s_inp_buf.u4_is_last) in ih264e_encode()
536 0, ps_codec->s_cfg.u4_disp_ht); in ih264e_encode()
612 if (ps_codec->s_cfg.u4_enable_recon) in ih264e_encode()
686 for (i = 0; i < (WORD32)ps_codec->s_cfg.u4_num_cores; i++) in ih264e_encode()
Dih264e_encode_header.c939 vui_t *ps_vui = &ps_codec->s_cfg.s_vui; in ih264e_populate_vui()
953 if(ps_codec->s_cfg.u4_num_bframes == 0) in ih264e_populate_vui()
991 cfg_params_t *ps_cfg = &(ps_codec->s_cfg); in ih264e_populate_sps()
1104 if (ps_codec->s_cfg.u4_num_bframes > 0) in ih264e_populate_sps()
1149 ps_sps->i2_frame_crop_right_offset = (ps_codec->s_cfg.u4_wd - ps_codec->s_cfg.u4_disp_wd)>>1; in ih264e_populate_sps()
1151 ps_sps->i2_frame_crop_bottom_offset = (ps_codec->s_cfg.u4_ht - ps_codec->s_cfg.u4_disp_ht)>>1; in ih264e_populate_sps()
1194 cfg_params_t *ps_cfg = &(ps_codec->s_cfg); in ih264e_populate_pps()
Dih264e_fmt_conv.c821 dst_stride = ps_codec->s_cfg.u4_wd; in ih264e_fmt_conv()
822 wd = ps_codec->s_cfg.u4_disp_wd; in ih264e_fmt_conv()
845 if ((IV_YUV_420SP_UV == ps_codec->s_cfg.e_recon_color_fmt) || in ih264e_fmt_conv()
846 (IV_YUV_420SP_VU == ps_codec->s_cfg.e_recon_color_fmt)) in ih264e_fmt_conv()
854 else if (IV_YUV_420P == ps_codec->s_cfg.e_recon_color_fmt) in ih264e_fmt_conv()
Dih264e_intra_modes_eval.c376 UWORD32 u4_constrained_intra_pred = ps_proc->ps_codec->s_cfg.u4_constrained_intra_pred; in ih264e_evaluate_intra16x16_modes_for_least_cost_rdoptoff()
431 if (ps_codec->s_cfg.u4_enc_speed_preset == IVE_FAST || in ih264e_evaluate_intra16x16_modes_for_least_cost_rdoptoff()
432 ps_codec->s_cfg.u4_enc_speed_preset == IVE_FASTEST) in ih264e_evaluate_intra16x16_modes_for_least_cost_rdoptoff()
562 UWORD32 u4_constrained_intra_pred = ps_proc->ps_codec->s_cfg.u4_constrained_intra_pred; in ih264e_evaluate_intra8x8_modes_for_least_cost_rdoptoff()
828 UWORD32 u4_constrained_intra_pred = ps_proc->ps_codec->s_cfg.u4_constrained_intra_pred; in ih264e_evaluate_intra4x4_modes_for_least_cost_rdoptoff()
1112 UWORD32 u4_constrained_intra_pred = ps_proc->ps_codec->s_cfg.u4_constrained_intra_pred; in ih264e_evaluate_intra4x4_modes_for_least_cost_rdopton()
1407 UWORD32 u4_constrained_intra_pred = ps_proc->ps_codec->s_cfg.u4_constrained_intra_pred; in ih264e_evaluate_chroma_intra8x8_modes_for_least_cost_rdoptoff()
1453 if (ps_codec->s_cfg.u4_enc_speed_preset == IVE_FAST || in ih264e_evaluate_chroma_intra8x8_modes_for_least_cost_rdoptoff()
1454 ps_codec->s_cfg.u4_enc_speed_preset == IVE_FASTEST) in ih264e_evaluate_chroma_intra8x8_modes_for_least_cost_rdoptoff()
Dih264e_core_coding.c2041 UWORD32 u4_swap_uv = ps_codec->s_cfg.e_inp_color_fmt == IV_YUV_420SP_VU; in ih264e_code_chroma_intra_macroblock_8x8()
2300 UWORD32 u4_swap_uv = ps_codec->s_cfg.e_inp_color_fmt == IV_YUV_420SP_VU; in ih264e_code_chroma_inter_macroblock_8x8()
Dih264e_me.c833 if (ps_codec->s_cfg.u4_num_bframes == 0) in ih264e_init_me()
952 ps_proc->ps_codec->s_cfg.u4_enable_satqd, in ih264e_compute_me_single_reflist()
1870 ps_proc->ps_codec->s_cfg.u4_enable_satqd, in ih264e_compute_me_multi_reflist()
Dih264e_deblk.c743 if (ps_codec->s_cfg.e_slice_mode != IVE_SLICE_MODE_NONE) in ih264e_deblock_mb()
Dih264e_structs.h2176 cfg_params_t s_cfg; member
/external/libavc/encoder/x86/
Dih264e_function_selector.c104 switch(ps_codec->s_cfg.e_arch) in ih264e_init_function_ptr()
/external/libavc/encoder/arm/
Dih264e_function_selector.c104 switch(ps_codec->s_cfg.e_arch) in ih264e_init_function_ptr()