Home
last modified time | relevance | path

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

12

/external/libavc/encoder/
Dih264e_utils.c252 ps_codec->s_cfg.s_sei.u1_sei_ccv_params_present_flag; in ih264e_input_queue_update()
253 ps_inp_buf->s_sei_ccv = ps_codec->s_cfg.s_sei.s_sei_ccv_params; in ih264e_input_queue_update()
256 ps_codec->s_cfg.s_sei.u1_sei_sii_params_present_flag; in ih264e_input_queue_update()
257 ps_inp_buf->s_sei_sii = ps_codec->s_cfg.s_sei.s_sei_sii_params; in ih264e_input_queue_update()
273 i4_force_idr |= !(ps_codec->i4_pic_cnt % ps_codec->s_cfg.u4_idr_frm_interval); in ih264e_input_queue_update()
292 < (WORD32)(ps_codec->s_cfg.u4_num_bframes)) in ih264e_input_queue_update()
417 && ps_codec->s_cfg.u4_num_bframes) in ih264e_input_queue_update()
821 * (ps_codec->s_cfg.u4_ht + PAD_HT); in ih264e_pic_buf_mgr_add_bufs()
899 WORD32 num_luma_samples = ALIGN16(ps_codec->s_cfg.u4_wd) in ih264e_mv_buf_mgr_add_bufs()
900 * ALIGN16(ps_codec->s_cfg.u4_ht); in ih264e_mv_buf_mgr_add_bufs()
[all …]
Dih264e_process.c185 &ps_codec->s_cfg.s_vui); in ih264e_generate_sps_pps()
382 &ps_codec->s_cfg.s_vui); in ih264e_entropy()
400 ps_codec->s_cfg.s_sei.u1_sei_mdcv_params_present_flag; in ih264e_entropy()
401 s_sei.s_sei_mdcv_params = ps_codec->s_cfg.s_sei.s_sei_mdcv_params; in ih264e_entropy()
403 ps_codec->s_cfg.s_sei.u1_sei_cll_params_present_flag; in ih264e_entropy()
404 s_sei.s_sei_cll_params = ps_codec->s_cfg.s_sei.s_sei_cll_params; in ih264e_entropy()
406 ps_codec->s_cfg.s_sei.u1_sei_ave_params_present_flag; in ih264e_entropy()
407 s_sei.s_sei_ave_params = ps_codec->s_cfg.s_sei.s_sei_ave_params; in ih264e_entropy()
411 s_sei.u1_sei_sii_params_present_flag = ps_codec->s_cfg.s_sei.u1_sei_sii_params_present_flag; in ih264e_entropy()
412 s_sei.s_sei_sii_params = ps_codec->s_cfg.s_sei.s_sei_sii_params; in ih264e_entropy()
[all …]
Dih264e_encode.c302 &ps_codec->s_cfg.s_sei.s_sei_mdcv_params; in ih264e_encode()
305 &ps_codec->s_cfg.s_sei.s_sei_cll_params; in ih264e_encode()
308 &ps_codec->s_cfg.s_sei.s_sei_ave_params; in ih264e_encode()
310 sei_sii_params_t *ps_cfg_sei_sii_params = &ps_codec->s_cfg.s_sei.s_sei_sii_params; in ih264e_encode()
333 ps_codec->s_sei.s_sei_mdcv_params = ps_codec->s_cfg.s_sei.s_sei_mdcv_params; in ih264e_encode()
346 ps_codec->s_sei.s_sei_cll_params = ps_codec->s_cfg.s_sei.s_sei_cll_params; in ih264e_encode()
361 ps_codec->s_sei.s_sei_ave_params = ps_codec->s_cfg.s_sei.s_sei_ave_params; in ih264e_encode()
390 ps_codec->s_sei.s_sei_sii_params = ps_codec->s_cfg.s_sei.s_sei_sii_params; in ih264e_encode()
420 ps_codec->s_cfg.e_inp_color_fmt, in ih264e_encode()
421 ps_codec->s_cfg.u4_disp_wd, in ih264e_encode()
[all …]
Dih264e_api.c170 cfg_params_t *ps_curr_cfg = &ps_codec->s_cfg; in api_check_input_dimensions()
1020 if (ps_ip->s_ive_ip.u4_max_wd > ps_codec->s_cfg.u4_max_wd) 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()
1228 if (ps_ip->s_ive_ip.u4_wd > ps_codec->s_cfg.u4_max_wd) 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()
1489 > ps_codec->s_cfg.u4_max_srch_rng_x) in api_check_struct_sanity()
1499 > ps_codec->s_cfg.u4_max_srch_rng_y) in api_check_struct_sanity()
2406 cfg_params_t *ps_curr_cfg = &ps_codec->s_cfg; in ih264e_codec_update_config()
2439 if (ps_codec->s_cfg.e_air_mode != IVE_AIR_MODE_NONE) in ih264e_codec_update_config()
2481 if (ps_codec->s_cfg.u4_src_frame_rate in ih264e_codec_update_config()
[all …]
Dih264e_encode_header.c1060 vui_t *ps_vui = &ps_codec->s_cfg.s_vui; in ih264e_populate_vui()
1074 if(ps_codec->s_cfg.u4_num_bframes == 0) in ih264e_populate_vui()
1112 cfg_params_t *ps_cfg = &(ps_codec->s_cfg); in ih264e_populate_sps()
1225 if (ps_codec->s_cfg.u4_num_bframes > 0) in ih264e_populate_sps()
1270 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()
1272 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()
1315 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()
/external/libavc/encoder/svc/
Disvce_utils.c191 ps_codec->i4_poc, ps_codec->s_cfg.s_svc_params.u1_num_temporal_layers, e_pic_type); in isvce_ref_list_refresh()
693 WORD32 i4_num_luma_samples = ALIGN16(ps_codec->s_cfg.u4_wd) * ALIGN16(ps_codec->s_cfg.u4_ht); in isvce_svc_au_data_mgr_add_bufs()
694 UWORD8 u1_num_spatial_layers = ps_codec->s_cfg.s_svc_params.u1_num_spatial_layers; in isvce_svc_au_data_mgr_add_bufs()
695 DOUBLE d_spatial_res_ratio = ps_codec->s_cfg.s_svc_params.d_spatial_res_ratio; in isvce_svc_au_data_mgr_add_bufs()
784 UWORD8 u1_num_spatial_layers = ps_codec->s_cfg.s_svc_params.u1_num_spatial_layers; in isvce_svc_au_buf_mgr_add_bufs()
785 DOUBLE d_spatial_res_ratio = ps_codec->s_cfg.s_svc_params.d_spatial_res_ratio; in isvce_svc_au_buf_mgr_add_bufs()
805 WORD32 i4_layer_luma_wd = ((DOUBLE) ps_codec->s_cfg.u4_wd / in isvce_svc_au_buf_mgr_add_bufs()
808 WORD32 i4_layer_luma_ht = ((DOUBLE) ps_codec->s_cfg.u4_ht / in isvce_svc_au_buf_mgr_add_bufs()
948 DOUBLE d_spatial_res_ratio = ps_codec->s_cfg.s_svc_params.d_spatial_res_ratio; in isvce_svc_inp_buf_init()
949 UWORD8 u1_num_spatial_layers = ps_codec->s_cfg.s_svc_params.u1_num_spatial_layers; in isvce_svc_inp_buf_init()
[all …]
Disvce_encode.c201 isvce_get_min_outbuf_size(ps_codec->s_cfg.u4_wd, ps_codec->s_cfg.u4_ht, in isvce_encode()
202 ps_codec->s_cfg.s_svc_params.u1_num_spatial_layers); in isvce_encode()
204 ps_codec->s_cfg.s_svc_params.u1_num_spatial_layers; in isvce_encode()
214 for(i = 0; i < ps_codec->s_cfg.s_svc_params.u1_num_spatial_layers; i++) in isvce_encode()
273 sei_mdcv_params_t *ps_cfg_sei_mdcv_params = &ps_codec->s_cfg.s_sei.s_sei_mdcv_params; in isvce_encode()
275 sei_cll_params_t *ps_cfg_sei_cll_params = &ps_codec->s_cfg.s_sei.s_sei_cll_params; in isvce_encode()
277 sei_ave_params_t *ps_cfg_sei_ave_params = &ps_codec->s_cfg.s_sei.s_sei_ave_params; in isvce_encode()
298 ps_codec->s_sei.s_sei_mdcv_params = ps_codec->s_cfg.s_sei.s_sei_mdcv_params; in isvce_encode()
311 ps_codec->s_sei.s_sei_cll_params = ps_codec->s_cfg.s_sei.s_sei_cll_params; in isvce_encode()
324 ps_codec->s_sei.s_sei_ave_params = ps_codec->s_cfg.s_sei.s_sei_ave_params; in isvce_encode()
[all …]
Disvce_process.c162 for(i = 1; i < ps_codec->s_cfg.s_svc_params.u1_num_spatial_layers; i++) in isvce_generate_sps_pps()
182 for(i = 1; i < ps_codec->s_cfg.s_svc_params.u1_num_spatial_layers; i++) in isvce_generate_sps_pps()
317 for(i = 0; i < (WORD32) ps_codec->s_cfg.u4_num_cores; i++) in isvce_update_rc_post_enc()
388 UWORD8 u1_num_spatial_layers = ps_codec->s_cfg.s_svc_params.u1_num_spatial_layers; in isvce_update_rc_post_enc()
390 UWORD32 u4_wd = ps_codec->s_cfg.u4_wd; in isvce_update_rc_post_enc()
391 UWORD32 u4_ht = ps_codec->s_cfg.u4_ht; in isvce_update_rc_post_enc()
392 DOUBLE d_spatial_res_ratio = ps_codec->s_cfg.s_svc_params.d_spatial_res_ratio; in isvce_update_rc_post_enc()
692 if((ps_codec->s_cfg.s_svc_params.u1_num_temporal_layers > 1) || in isvce_entropy()
693 (ps_codec->s_cfg.s_svc_params.u1_num_spatial_layers > 1)) in isvce_entropy()
738 ps_codec->s_cfg.s_sei.u1_sei_mdcv_params_present_flag; in isvce_entropy()
[all …]
Disvce_fmt_conv.c110 wd = ps_codec->s_cfg.u4_disp_wd; in isvce_fmt_conv()
129 if((IV_YUV_420SP_UV == ps_codec->s_cfg.e_recon_color_fmt) || in isvce_fmt_conv()
130 (IV_YUV_420SP_VU == ps_codec->s_cfg.e_recon_color_fmt)) in isvce_fmt_conv()
136 else if(IV_YUV_420P == ps_codec->s_cfg.e_recon_color_fmt) in isvce_fmt_conv()
Disvce_sub_pic_rc.c111 DOUBLE d_spatial_res_ratio = ps_codec->s_cfg.s_svc_params.d_spatial_res_ratio; in isvce_sub_pic_rc_ctxt_init()
112 UWORD8 u1_num_spatial_layers = ps_codec->s_cfg.s_svc_params.u1_num_spatial_layers; in isvce_sub_pic_rc_ctxt_init()
113 UWORD32 u4_wd = ps_codec->s_cfg.u4_wd; in isvce_sub_pic_rc_ctxt_init()
114 UWORD32 u4_ht = ps_codec->s_cfg.u4_ht; in isvce_sub_pic_rc_ctxt_init()
138 ps_sub_pic_rc_state->s_svc_params = ps_codec->s_cfg.s_svc_params; in isvce_sub_pic_rc_ctxt_init()
142 ps_sub_pic_rc_state->e_rc_mode = ps_codec->s_cfg.e_rc_mode; in isvce_sub_pic_rc_ctxt_init()
Disvce_encode_header.c754 if(ps_codec->s_cfg.u4_num_bframes == 0) in isvce_populate_vui()
791 isvce_cfg_params_t *ps_cfg = &(ps_codec->s_cfg); in isvce_populate_sps()
936 ps_sps->i2_frame_crop_right_offset = (ps_codec->s_cfg.u4_wd - ps_codec->s_cfg.u4_disp_wd) >> 1; in isvce_populate_sps()
938 ps_sps->i2_frame_crop_bottom_offset = (ps_codec->s_cfg.u4_ht - ps_codec->s_cfg.u4_disp_ht) >> 1; in isvce_populate_sps()
991 ((ps_codec->s_cfg.s_svc_params.u1_num_spatial_layers > 1) && (0 == u1_spatial_layer_id)) in isvce_populate_pps()
993 : ps_codec->s_cfg.u4_entropy_coding_mode; in isvce_populate_pps()
Disvce_mode_stat_visualiser.c73 UWORD32 u4_wd = ps_codec->s_cfg.u4_wd; in isvce_msv_ctxt_init()
74 UWORD32 u4_ht = ps_codec->s_cfg.u4_ht; in isvce_msv_ctxt_init()
Disvce_api.c997 if(ps_ip->s_ive_ip.u4_wd > ps_codec->s_cfg.u4_max_wd) in api_check_struct_sanity()
1011 if(ps_ip->s_ive_ip.u4_ht > ps_codec->s_cfg.u4_max_ht) in api_check_struct_sanity()
1104 for(i = 0; i < ps_codec->s_cfg.s_svc_params.u1_num_spatial_layers; i++) in api_check_struct_sanity()
1209 if(ps_ip->s_ive_ip.u4_srch_rng_x > ps_codec->s_cfg.u4_max_srch_rng_x) in api_check_struct_sanity()
1217 if(ps_ip->s_ive_ip.u4_srch_rng_y > ps_codec->s_cfg.u4_max_srch_rng_y) in api_check_struct_sanity()
1364 for(i = 0; i < ps_codec->s_cfg.s_svc_params.u1_num_spatial_layers; i++) in api_check_struct_sanity()
1830 for(i = 0; i < ps_codec->s_cfg.s_svc_params.u1_num_spatial_layers; i++) in api_check_struct_sanity()
2069 isvce_cfg_params_t *ps_cfg = &(ps_codec->s_cfg); in isvce_init()
2278 MIN((gas_ih264_lvl_tbl[ih264e_get_lvl_idx(ps_codec->s_cfg.u4_max_level)].u4_max_dpb_size / in isvce_init()
2279 (ps_codec->s_cfg.i4_wd_mbs * ps_codec->s_cfg.i4_ht_mbs)), in isvce_init()
[all …]
Disvce_ibl_eval.c623 DOUBLE d_spatial_res_ratio = ps_codec->s_cfg.s_svc_params.d_spatial_res_ratio; in isvce_intra_pred_ctxt_init()
624 UWORD8 u1_num_spatial_layers = ps_codec->s_cfg.s_svc_params.u1_num_spatial_layers; in isvce_intra_pred_ctxt_init()
625 UWORD32 u4_wd = ps_codec->s_cfg.u4_wd; in isvce_intra_pred_ctxt_init()
626 UWORD32 u4_ht = ps_codec->s_cfg.u4_ht; in isvce_intra_pred_ctxt_init()
794 ps_codec->s_cfg.u4_max_level, ps_codec->s_cfg.e_inp_color_fmt); in isvce_intra_pred_ctxt_init()
1014 ps_codec->s_cfg.s_svc_params.d_spatial_res_ratio, in isvce_get_mb_intra_pred()
1015 ps_codec->s_cfg.e_arch); in isvce_get_mb_intra_pred()
Disvce_ilp_mv.c203 UWORD8 u1_num_spatial_layers = ps_codec->s_cfg.s_svc_params.u1_num_spatial_layers; in isvce_ilp_mv_ctxt_init()
210 DOUBLE d_spatial_res_ratio = ps_codec->s_cfg.s_svc_params.d_spatial_res_ratio; in isvce_ilp_mv_ctxt_init()
211 UWORD32 u4_wd = ps_codec->s_cfg.u4_wd; in isvce_ilp_mv_ctxt_init()
212 UWORD32 u4_ht = ps_codec->s_cfg.u4_ht; in isvce_ilp_mv_ctxt_init()
Disvce_residual_pred.c881 UWORD8 u1_num_spatial_layers = ps_codec->s_cfg.s_svc_params.u1_num_spatial_layers; in isvce_svc_res_pred_ctxt_init()
882 DOUBLE d_spatial_res_ratio = ps_codec->s_cfg.s_svc_params.d_spatial_res_ratio; in isvce_svc_res_pred_ctxt_init()
883 UWORD32 u4_wd = ps_codec->s_cfg.u4_wd; in isvce_svc_res_pred_ctxt_init()
884 UWORD32 u4_ht = ps_codec->s_cfg.u4_ht; in isvce_svc_res_pred_ctxt_init()
1060 ps_codec->s_cfg.e_inp_color_fmt); in isvce_svc_res_pred_ctxt_init()
1139 ps_codec->s_cfg.e_arch); in isvce_svc_res_pred_ctxt_init()
Disvce_intra_modes_eval.c335 if(ps_codec->s_cfg.u4_enc_speed_preset == IVE_FAST || in isvce_evaluate_intra16x16_modes_for_least_cost_rdoptoff()
336 ps_codec->s_cfg.u4_enc_speed_preset == IVE_FASTEST) in isvce_evaluate_intra16x16_modes_for_least_cost_rdoptoff()
1447 if(ps_codec->s_cfg.u4_enc_speed_preset == IVE_FAST || in isvce_evaluate_chroma_intra8x8_modes_for_least_cost_rdoptoff()
1448 ps_codec->s_cfg.u4_enc_speed_preset == IVE_FASTEST) in isvce_evaluate_chroma_intra8x8_modes_for_least_cost_rdoptoff()
/external/libavc/encoder/x86/svc/
Disvce_function_selector.c103 switch(ps_codec->s_cfg.e_arch) in isvce_init_function_ptr()
/external/libavc/encoder/x86/
Dih264e_function_selector.c104 switch(ps_codec->s_cfg.e_arch) in ih264e_init_function_ptr()
/external/libavc/encoder/arm/svc/
Disvce_function_selector.c104 switch(ps_codec->s_cfg.e_arch) in isvce_init_function_ptr()
/external/libavc/encoder/arm/
Dih264e_function_selector.c104 switch(ps_codec->s_cfg.e_arch) in ih264e_init_function_ptr()

12