/external/libhevc/encoder/ |
ihevce_function_selector.c | 128 static void ihevce_init_function_ptr_generic(enc_ctxt_t *ps_enc_ctxt) 130 ps_enc_ctxt->s_func_selector.ihevc_deblk_chroma_horz_fptr = &ihevc_deblk_chroma_horz; 131 ps_enc_ctxt->s_func_selector.ihevc_deblk_chroma_vert_fptr = &ihevc_deblk_chroma_vert; 132 ps_enc_ctxt->s_func_selector.ihevc_deblk_422chroma_horz_fptr = &ihevc_deblk_422chroma_horz; 133 ps_enc_ctxt->s_func_selector.ihevc_deblk_422chroma_vert_fptr = &ihevc_deblk_422chroma_vert; 134 ps_enc_ctxt->s_func_selector.ihevc_deblk_luma_vert_fptr = &ihevc_deblk_luma_vert; 135 ps_enc_ctxt->s_func_selector.ihevc_deblk_luma_horz_fptr = &ihevc_deblk_luma_horz; 136 ps_enc_ctxt->s_func_selector.ihevc_inter_pred_chroma_copy_fptr = &ihevc_inter_pred_chroma_copy; 137 ps_enc_ctxt->s_func_selector.ihevc_inter_pred_chroma_copy_w16out_fptr = &ihevc_inter_pred_chroma_copy_w16out; 138 ps_enc_ctxt->s_func_selector.ihevc_inter_pred_chroma_horz_fptr = &ihevc_inter_pred_chroma_horz [all...] |
ihevce_hle_q_func.c | 132 enc_ctxt_t *ps_enc_ctxt = (enc_ctxt_t *)pv_enc_ctxt; local 133 i4_mres_single_out = ps_enc_ctxt->ps_stat_prms->s_tgt_lyr_prms.i4_mres_single_out; 138 osal_mutex_lock(ps_enc_ctxt->s_enc_ques.pv_q_mutex_hdl); 142 ihevce_buff_que_get_free_buf(ps_enc_ctxt->s_enc_ques.apv_q_hdl[i4_q_id], pi4_buff_id); 145 osal_mutex_unlock(ps_enc_ctxt->s_enc_ques.pv_q_mutex_hdl); 165 pv_sem_handle = ps_enc_ctxt->s_thrd_sem_ctxt.pv_inp_data_sem_handle; 172 pv_sem_handle = ps_enc_ctxt->s_thrd_sem_ctxt.pv_inp_ctrl_sem_handle; 177 pv_sem_handle = ps_enc_ctxt->s_thrd_sem_ctxt.pv_lap_inp_data_sem_hdl; 185 pv_sem_handle = ps_enc_ctxt->s_thrd_sem_ctxt.pv_out_common_mres_sem_hdl; 189 pv_sem_handle = ps_enc_ctxt->s_thrd_sem_ctxt.apv_out_strm_sem_handle[0] 267 enc_ctxt_t *ps_enc_ctxt = (enc_ctxt_t *)pv_enc_ctxt; local 395 enc_ctxt_t *ps_enc_ctxt = (enc_ctxt_t *)pv_enc_ctxt; local 549 enc_ctxt_t *ps_enc_ctxt = (enc_ctxt_t *)pv_enc_ctxt; local 648 enc_ctxt_t *ps_enc_ctxt; local [all...] |
ihevce_memory_init.h | 66 void ihevce_mem_manager_init(enc_ctxt_t *ps_enc_ctxt, ihevce_hle_ctxt_t *ps_intrf_ctxt); 69 enc_ctxt_t *ps_enc_ctxt, 76 void ihevce_mem_manager_free(enc_ctxt_t *ps_enc_ctxt, ihevce_hle_ctxt_t *ps_intrf_ctxt);
|
ihevce_frame_process.c | 318 void complexity_RC_reset_marking(enc_ctxt_t *ps_enc_ctxt, WORD32 i4_cur_ipe_idx, WORD32 i4_end_flag) 325 &ps_enc_ctxt->s_multi_thrd.aps_curr_inp_pre_enc[i4_cur_ipe_idx]->s_rc_lap_out; 329 i4_max_temporal_layers = ps_enc_ctxt->ps_stat_prms->s_coding_tools_prms.i4_max_temporal_layers; 335 ps_enc_ctxt->i4_past_RC_reset_count = 0; 340 ps_enc_ctxt->i4_past_RC_scd_reset_count = 0; 342 ps_enc_ctxt->i4_past_RC_reset_count++; 343 ps_enc_ctxt->i4_past_RC_scd_reset_count++; 350 (ps_enc_ctxt->s_multi_thrd.i4_delay_pre_me_btw_l0_ipe > (2 * (1 << i4_max_temporal_layers)))) 353 ps_enc_ctxt->s_multi_thrd.aps_curr_out_pre_enc[i4_cur_ipe_idx] 360 ps_enc_ctxt->i4_future_RC_reset = 0 2882 enc_ctxt_t *ps_enc_ctxt; local 6094 enc_ctxt_t *ps_enc_ctxt = (enc_ctxt_t *)ps_thrd_ctxt->pv_enc_ctxt; local [all...] |
ihevce_hle_interface.c | 143 void ihevce_context_reset(enc_ctxt_t *ps_enc_ctxt) 145 ps_enc_ctxt->i4_end_flag = 0; 148 ps_enc_ctxt->s_enc_ques.pv_q_mutex_hdl = NULL; 151 ps_enc_ctxt->i4_io_queues_created = 0; 154 ps_enc_ctxt->i4_frame_limit_reached = 0; 179 enc_ctxt_t *ps_enc_ctxt; local 306 ps_enc_ctxt = (enc_ctxt_t *)s_memtab.pv_base; 308 ps_enc_ctxt->ps_stat_prms = ps_enc_static_cfg_params; 311 ps_enc_ctxt->s_multi_thrd.i4_all_thrds_active_flag = 1; 316 ps_enc_ctxt->s_multi_thrd.pi4_active_res_id = pi4_active_res_id 485 enc_ctxt_t *ps_enc_ctxt; local 655 enc_ctxt_t *ps_enc_ctxt; local 726 enc_ctxt_t *ps_enc_ctxt; local 1643 enc_ctxt_t *ps_enc_ctxt; local 2037 enc_ctxt_t *ps_enc_ctxt; local [all...] |
ihevce_memory_init.c | 159 void ihevce_mem_manager_init(enc_ctxt_t *ps_enc_ctxt, ihevce_hle_ctxt_t *ps_intrf_ctxt) 185 WORD32 i, i4_resolution_id = ps_enc_ctxt->i4_resolution_id; //counter 203 i4_num_bitrate_inst = ps_enc_ctxt->i4_num_bitrates; 204 i4_field_pic = ps_enc_ctxt->ps_stat_prms->s_src_prms.i4_field_pic; 215 ps_enc_ctxt->s_multi_thrd.ai4_acc_ctb_ctr[i][j] = 0; 216 ps_enc_ctxt->s_multi_thrd.ai4_ctb_ctr[i][j] = 0; 218 ps_enc_ctxt->s_multi_thrd.ai4_threshold_reached[i][j] = 0; 220 ps_enc_ctxt->s_multi_thrd.ai4_curr_qp_acc[i][j] = 0; 222 ps_enc_ctxt->s_multi_thrd.af_acc_hdr_bits_scale_err[i][j] = 0; 226 ps_enc_ctxt->s_multi_thrd.ai4_thrd_id_valid_flag[i][j][k] = -1 [all...] |
ihevce_entropy_cod.c | 147 enc_ctxt_t *ps_enc_ctxt; local 172 ps_enc_ctxt = (enc_ctxt_t *)ps_thrd_ctxt->pv_enc_ctxt; 176 i4_resolution_id = ps_enc_ctxt->i4_resolution_id; 185 i4_bufque_id = ps_enc_ctxt->i4_ref_mbr_id; 187 else if(i4_bitrate_instance_num == ps_enc_ctxt->i4_ref_mbr_id) 192 if(1 == ps_enc_ctxt->ps_stat_prms->s_tgt_lyr_prms.i4_mres_single_out) 197 pv_entropy_hdl = ps_enc_ctxt->s_module_ctxt.apv_ent_cod_ctxt[i4_bitrate_instance_num]; 205 (void *)ps_enc_ctxt, 209 if(1 == ps_enc_ctxt->ps_stat_prms->s_tgt_lyr_prms.i4_mres_single_out) 213 if(1 == ps_enc_ctxt->s_multi_thrd.pi4_active_res_id[i4_resolution_id] 673 enc_ctxt_t *ps_enc_ctxt; local [all...] |
ihevce_frame_process.h | 79 enc_ctxt_t *ps_enc_ctxt, 85 enc_ctxt_t *ps_enc_ctxt, 93 enc_ctxt_t *ps_enc_ctxt, 104 enc_ctxt_t *ps_enc_ctxt, 118 void ihevce_set_pre_enc_prms(enc_ctxt_t *ps_enc_ctxt);
|
ihevce_frame_process_utils.h | 80 enc_ctxt_t *ps_enc_ctxt,
|
ihevce_tile_interface.h | 65 enc_ctxt_t *ps_enc_ctxt,
|
ihevce_frame_process_utils.c | 318 * \param[in] ps_enc_ctxt 336 enc_ctxt_t *ps_enc_ctxt, 347 (void)ps_enc_ctxt; 416 enc_ctxt_t *ps_enc_ctxt = local 420 if(ps_enc_ctxt->ps_stat_prms->i4_log_dump_level > 0) 434 osal_mutex_lock(ps_enc_ctxt->pv_rc_mutex_lock_hdl); 437 ps_enc_ctxt->s_module_ctxt.apv_rc_ctxt[ps_dyn_bitrate_prms->i4_tgt_br_id], 441 ps_enc_ctxt->ps_stat_prms->s_config_prms.i4_rate_control_mode); 444 osal_mutex_unlock(ps_enc_ctxt->pv_rc_mutex_lock_hdl);
|
ihevce_encode_header.h | 101 enc_ctxt_t *ps_enc_ctxt, 111 enc_ctxt_t *ps_enc_ctxt,
|
ihevce_enc_loop_pass.h | 111 enc_ctxt_t *ps_enc_ctxt,
|
ihevce_tile_interface.c | 445 enc_ctxt_t *ps_enc_ctxt, 458 frm_ctb_ctxt_t *ps_frm_ctb_prms = &ps_enc_ctxt->s_frm_ctb_prms; 495 ps_enc_ctxt->ai4_column_width_array[i4_i] = 500 ps_enc_ctxt->ai4_row_height_array[i4_i] =
|
ihevce_enc_loop_pass.c | [all...] |
ihevce_encode_header.c | [all...] |