/external/libmpeg2/common/ |
ideint.c | 141 ctxt_t *ps_ctxt; local 150 ps_ctxt = (ctxt_t *)pv_ctxt; 155 ps_ctxt->s_params = *ps_params; 160 ps_ctxt->s_params.i4_cur_fld_top = 1; 161 ps_ctxt->s_params.e_mode = IDEINT_MODE_SPATIAL; 162 ps_ctxt->s_params.e_arch = ideint_default_arch(); 163 ps_ctxt->s_params.e_soc = ICV_SOC_GENERIC; 164 ps_ctxt->s_params.i4_disable_weave = 0; 165 ps_ctxt->s_params.pf_aligned_alloc = NULL; 166 ps_ctxt->s_params.pf_aligned_free = NULL [all...] |
/external/libhevc/encoder/ |
ihevce_sub_pic_rc.c | 147 ihevce_enc_loop_ctxt_t *ps_ctxt = (ihevce_enc_loop_ctxt_t *)pv_ctxt; local 153 WORD32 i4_frm_id = ps_ctxt->i4_enc_frm_id; 154 WORD32 i4_br_id = ps_ctxt->i4_bitrate_instance_num; 155 WORD32 i4_thrd_id = ps_ctxt->thrd_id; 157 WORD32 i4_is_intra_pic = (ISLICE == ps_ctxt->i1_slice_type); 180 ps_ctxt->u4_total_cu_bits; 182 ps_ctxt->u4_total_cu_bits; 184 ps_ctxt->u4_total_cu_bits_mul_qs; 186 ps_ctxt->u4_total_cu_hdr_bits; 189 ps_ctxt->u4_total_cu_bits = 0 411 ihevce_enc_loop_ctxt_t *ps_ctxt = (ihevce_enc_loop_ctxt_t *)pv_ctxt; local [all...] |
ihevce_ipe_pass.c | 201 ihevce_ipe_ctxt_t *ps_ctxt, ihevce_ed_ctb_l1_t *ps_ed_ctb_l1) 216 if(ISLICE == ps_ctxt->i4_slice_type) 227 i8_avg_satd = ps_ctxt->i8_curr_frame_32x32_avg_act[2]; 231 ld_avg_satd = 2.0 + ps_ctxt->ld_curr_frame_16x16_log_avg[0]; 234 if(ps_ctxt->i4_l0ipe_qp_mod) 238 ps_ctxt->i4_qscale, 241 ps_ctxt->f_strength, 244 ps_ctxt->ps_rc_quant_ctxt); 247 ihevce_get_ipe_ol_cu_lambda_prms(ps_ctxt, i4_cu_qp); 393 ihevce_ipe_ctxt_t *ps_ctxt; local 593 ihevce_ipe_ctxt_t *ps_ctxt; local 1036 ihevce_ipe_ctxt_t *ps_ctxt; local 1220 ihevce_ipe_ctxt_t *ps_ctxt = (ihevce_ipe_ctxt_t *)pv_ctxt; local 1262 ihevce_ipe_ctxt_t *ps_ctxt = (ihevce_ipe_ctxt_t *)pv_ctxt; local 1470 ihevce_ipe_ctxt_t *ps_ctxt = ps_master_ctxt->aps_ipe_thrd_ctxt[i4_thrd_id]; local [all...] |
ihevce_multi_thrd_funcs.c | 447 enc_ctxt_t *ps_ctxt; local 459 ps_ctxt = (enc_ctxt_t *)pv_enc_ctxt; 460 num_ctb_vert_rows = ps_ctxt->s_frm_ctb_prms.i4_num_ctbs_vert; 461 i4_num_bitrate_instances = ps_ctxt->i4_num_bitrates; 464 if(1 == ps_ctxt->ps_tile_params_base->i4_tiles_enabled_flag) 466 i4_num_tile_col = ps_ctxt->ps_tile_params_base->i4_num_tile_cols; 470 ps_ctxt->s_multi_thrd.aps_cur_out_me_prms[i4_curr_frm_id]->ps_job_q_enc, 475 ps_me_job_queue_lyr0 = ps_ctxt->s_multi_thrd.aps_cur_out_me_prms[i4_curr_frm_id]->ps_job_q_enc; 479 ps_ctxt->s_multi_thrd.aps_cur_out_me_prms[i4_curr_frm_id] 483 ps_ctxt->s_multi_thrd.aps_cur_out_me_prms[i4_curr_frm_id 720 enc_ctxt_t *ps_ctxt; local [all...] |
ihevce_coarse_me_pass.c | 251 coarse_me_master_ctxt_t *ps_ctxt; local 285 ps_ctxt = (coarse_me_master_ctxt_t *)pv_me_ctxt; 302 (ihevce_me_optimised_function_list_t *)ps_ctxt->pv_me_optimised_function_list, 306 &ps_ctxt->s_cmn_opt_func, u1_is_popcnt_available, ps_init_prms->e_arch_type); 844 coarse_me_ctxt_t *ps_ctxt; local 867 ps_ctxt = ps_master_ctxt->aps_me_ctxt[num_thrds]; 868 ps_ctxt->pv_ext_frm_prms = (void *)ps_frm_ctb_prms; 870 ps_ctxt->ps_ed_blk = ps_layer1_buf; 871 ps_ctxt->ps_ed_ctb_l1 = ps_ed_ctb_l1; 874 ps_ctxt->i4_wt_pred_enable_flag = ps_enc_lap_inp->s_lap_out.i1_weighted_pred_flag 1199 coarse_me_ctxt_t *ps_ctxt; local [all...] |
ihevce_me_pass.c | 550 me_ctxt_t *ps_ctxt, 610 if((ps_ctxt->s_init_prms.s_me_coding_tools.e_me_quality_presets == ME_PRISTINE_QUALITY) && 614 ps_ctxt, 623 ps_ctxt, 632 ps_ctxt, 641 ps_ctxt, 653 ps_ctxt, 662 ps_ctxt, 671 ps_ctxt, 680 ps_ctxt, 697 me_ctxt_t *ps_ctxt = (me_ctxt_t *)pv_me_ctxt; local 920 me_frm_ctxt_t *ps_ctxt; local 998 me_ctxt_t *ps_ctxt; local 1128 me_frm_ctxt_t *ps_ctxt; local [all...] |
ihevce_plugin.c | 514 plugin_ctxt_t *ps_ctxt = (plugin_ctxt_t *)pv_ctxt; local 515 app_ctxt_t *ps_app_ctxt = &ps_ctxt->s_app_ctxt; 546 ps_ctxt->aaas_out_bufs[i4_res_id][i4_br_id][idx].i4_timestamp_low = 548 ps_ctxt->aaas_out_bufs[i4_res_id][i4_br_id][idx].i4_timestamp_high = 550 ps_ctxt->aaas_out_bufs[i4_res_id][i4_br_id][idx].i4_bytes_gen = 552 ps_ctxt->aaas_out_bufs[i4_res_id][i4_br_id][idx].i4_is_key_frame = 0; 553 ps_ctxt->aaas_out_bufs[i4_res_id][i4_br_id][idx].i4_end_flag = end_flag; 558 ps_ctxt->aaas_out_bufs[i4_res_id][i4_br_id][idx].i4_is_key_frame = 1; 562 ps_ctxt->aaas_out_bufs[i4_res_id][i4_br_id][idx].i4_is_prod = 1; 596 plugin_ctxt_t *ps_ctxt; local 1502 plugin_ctxt_t *ps_ctxt; local 1832 plugin_ctxt_t *ps_ctxt = (plugin_ctxt_t *)pv_ihevce_hdl; local 1888 plugin_ctxt_t *ps_ctxt; local [all...] |
hme_interface.c | 1135 me_ctxt_t *ps_ctxt; local 1743 coarse_me_ctxt_t *ps_ctxt; local 2436 coarse_me_ctxt_t *ps_ctxt = ps_me_ctxt->aps_me_ctxt[0]; local 2614 coarse_me_ctxt_t *ps_ctxt; local 2678 me_ctxt_t *ps_ctxt; local 2775 me_master_ctxt_t *ps_ctxt = (me_master_ctxt_t *)pv_ctxt; local 2815 coarse_me_master_ctxt_t *ps_ctxt = (coarse_me_master_ctxt_t *)pv_ctxt; local 2863 me_frm_ctxt_t *ps_ctxt; local 2934 coarse_me_ctxt_t *ps_ctxt; local 3027 coarse_me_ctxt_t *ps_ctxt = (coarse_me_ctxt_t *)pv_ctxt; local 3042 me_ctxt_t *ps_ctxt = (me_ctxt_t *)pv_me_ctxt; local 3067 coarse_me_ctxt_t *ps_ctxt = (coarse_me_ctxt_t *)pv_me_ctxt; local 3134 me_frm_ctxt_t *ps_ctxt; local 3225 coarse_me_ctxt_t *ps_ctxt; local 3958 me_frm_ctxt_t *ps_ctxt = (me_frm_ctxt_t *)ps_thrd_ctxt->aps_me_frm_prms[i4_me_frm_id]; local 4223 coarse_me_ctxt_t *ps_ctxt = (coarse_me_ctxt_t *)pv_me_ctxt; local 4480 me_frm_ctxt_t *ps_ctxt = ps_thrd_ctxt->aps_me_frm_prms[i4_me_frm_id]; local 4565 coarse_me_ctxt_t *ps_ctxt = (coarse_me_ctxt_t *)pv_me_ctxt; local 4689 me_ctxt_t *ps_ctxt = (me_ctxt_t *)pv_me_ctxt; local 4729 coarse_me_ctxt_t *ps_ctxt = (coarse_me_ctxt_t *)pv_me_ctxt; local [all...] |
ihevce_decomp_pre_intra_pass.c | 2241 ihevce_decomp_pre_intra_ctxt_t *ps_ctxt = local 2712 ihevce_decomp_pre_intra_ctxt_t *ps_ctxt; local 2869 ihevce_decomp_pre_intra_ctxt_t *ps_ctxt; local 3564 ihevce_decomp_pre_intra_ctxt_t *ps_ctxt = local 3589 ihevce_decomp_pre_intra_ctxt_t *ps_ctxt = local [all...] |
ihevce_enc_loop_pass.c | 169 void ihevce_enc_loop_ctb_left_copy(ihevce_enc_loop_ctxt_t *ps_ctxt, enc_loop_cu_prms_t *ps_cu_prms) 181 UWORD8 u1_is_422 = (ps_ctxt->u1_chroma_array_type == 2); 183 pu1_luma_left = (UWORD8 *)ps_ctxt->pv_left_luma_data; 184 pu1_chrm_left = (UWORD8 *)ps_ctxt->pv_left_chrm_data; 185 ps_left_nbr = &ps_ctxt->as_left_col_nbr[0]; 216 ps_nbr = &ps_ctxt->as_ctb_nbr_arr[0]; 283 * \param[in] ps_ctxt : pointer to enc_loop module 302 ihevce_enc_loop_ctxt_t *ps_ctxt, 338 WORD32 i4_best_cu_qp = ps_ctxt->ps_rc_quant_ctxt->i2_min_qp - 1; 344 UWORD8 u1_is_422 = (ps_ctxt->u1_chroma_array_type == 2) 3125 ihevce_enc_loop_ctxt_t *ps_ctxt = ps_master_ctxt->aps_enc_loop_thrd_ctxt[thrd_id]; local 4393 ihevce_enc_loop_ctxt_t *ps_ctxt; local 5943 ihevce_enc_loop_ctxt_t *ps_ctxt; local 6291 ihevce_enc_loop_ctxt_t *ps_ctxt; local [all...] |
ihevce_frame_process.c | 2421 ihevce_decomp_pre_intra_ctxt_t *ps_ctxt = ps_master_ctxt->aps_decomp_pre_intra_thrd_ctxt[0]; local 3221 me_ctxt_t *ps_ctxt = ps_master_ctxt->aps_me_ctxt[i4_thrd_id]; local 3250 me_ctxt_t *ps_ctxt = ps_master_ctxt->aps_me_ctxt[i4_thrd_id]; local 3349 me_ctxt_t *ps_ctxt = ps_master_ctxt->aps_me_ctxt[i4_thrd_id]; local 4038 ihevce_enc_loop_ctxt_t *ps_ctxt, *ps_ctxt_temp; local 5473 coarse_me_master_ctxt_t *ps_ctxt = NULL; local [all...] |
ihevce_rc_interface.c | 1691 rc_context_t *ps_ctxt = (rc_context_t *)pv_rc_ctxt; local 5010 rc_context_t *ps_ctxt = (rc_context_t *)pv_rc_ctxt; local [all...] |
hme_refine.c | 124 get_ctb_attrs(S32 ctb_start_x, S32 ctb_start_y, S32 pic_wd, S32 pic_ht, me_frm_ctxt_t *ps_ctxt); 151 coarse_me_ctxt_t *ps_ctxt, 5890 me_frm_ctxt_t *ps_ctxt = ps_thrd_ctxt->aps_me_frm_prms[i4_me_frm_id]; local [all...] |
/external/libhevc/test/encoder/ |
main.c | 256 IHEVCE_PLUGIN_STATUS_T parse_argument(appl_ctxt_t *ps_ctxt, CHAR *argument, CHAR *value) 258 ihevce_static_cfg_params_t *ps_static_prms = &ps_ctxt->s_static_cfg_prms; 274 sscanf(value, "%s", ps_ctxt->au1_in_file); 275 assert(strlen((char *)ps_ctxt->au1_in_file) < STR_LEN); 279 sscanf(value, "%s", ps_ctxt->au1_out_file[0][0]); 280 assert(strlen((char *)ps_ctxt->au1_out_file[0][0]) < STR_LEN); 480 sscanf(value, "%s", ps_ctxt->ai1_sei_payload_path); 481 assert(strlen((char *)ps_ctxt->ai1_sei_payload_path) < STR_LEN); 1092 appl_ctxt_t *ps_ctxt = &s_main_ctxt.s_app_ctxt; local [all...] |