/external/libhevc/encoder/ |
D | ihevce_entropy_cod.c | 165 frm_proc_ent_cod_ctxt_t *ps_curr_inp = NULL; in ihevce_ent_coding_thrd() local 204 ps_curr_inp = (frm_proc_ent_cod_ctxt_t *)ihevce_q_get_filled_buff( in ihevce_ent_coding_thrd() 211 if(1 == ps_curr_inp->i4_out_flush_flag) in ihevce_ent_coding_thrd() 243 if(1 == ps_curr_inp->i4_end_flag) in ihevce_ent_coding_thrd() 249 if(0 == ps_curr_inp->i4_end_flag) in ihevce_ent_coding_thrd() 256 if(0 == ps_curr_inp->i4_out_flush_flag) in ihevce_ent_coding_thrd() 287 ps_curr_inp->s_sei.i1_sei_cll_enable = in ihevce_ent_coding_thrd() 289 ps_curr_inp->s_sei.s_cll_info_sei_params.u2_sei_max_cll = in ihevce_ent_coding_thrd() 291 ps_curr_inp->s_sei.s_cll_info_sei_params.u2_sei_avg_cll = in ihevce_ent_coding_thrd() 294 if((NULL != ps_curr_out) && (NULL != ps_curr_inp)) in ihevce_ent_coding_thrd() [all …]
|
D | ihevce_frame_process.c | 527 ihevce_lap_enc_buf_t *ps_curr_inp, in ihevce_pre_enc_manage_ref_pics() argument 539 WORD32 cra_poc = ps_curr_inp->s_lap_out.i4_assoc_IRAP_poc; in ihevce_pre_enc_manage_ref_pics() 546 curr_poc = ps_curr_inp->s_lap_out.i4_poc; in ihevce_pre_enc_manage_ref_pics() 549 ASSERT(HEVCE_MAX_REF_PICS >= ps_curr_inp->s_lap_out.i4_num_ref_pics); in ihevce_pre_enc_manage_ref_pics() 557 wp_flag = ps_curr_inp->s_lap_out.i1_weighted_bipred_flag; in ihevce_pre_enc_manage_ref_pics() 561 wp_flag = ps_curr_inp->s_lap_out.i1_weighted_pred_flag; in ihevce_pre_enc_manage_ref_pics() 582 for(ref_pics = 0; ref_pics < ps_curr_inp->s_lap_out.i4_num_ref_pics; ref_pics++) in ihevce_pre_enc_manage_ref_pics() 588 ref_poc = curr_poc + ps_curr_inp->s_lap_out.as_ref_pics[ref_pics].i4_ref_pic_delta_poc; in ihevce_pre_enc_manage_ref_pics() 611 while(i4_loop != ps_curr_inp->s_lap_out.as_ref_pics[ref_pics] in ihevce_pre_enc_manage_ref_pics() 627 &ps_curr_inp->s_lap_out.as_ref_pics[ref_pics].as_wght_off[0], in ihevce_pre_enc_manage_ref_pics() [all …]
|
D | ihevce_entropy_interface.c | 137 WORD32 ihevce_entropy_size_of_out_buffer(frm_proc_ent_cod_ctxt_t *ps_curr_inp) in ihevce_entropy_size_of_out_buffer() argument 142 ps_curr_inp->ps_sps->i2_pic_height_in_luma_samples * in ihevce_entropy_size_of_out_buffer() 143 ps_curr_inp->ps_sps->i2_pic_width_in_luma_samples); in ihevce_entropy_size_of_out_buffer() 308 frm_proc_ent_cod_ctxt_t *ps_curr_inp, in ihevce_entropy_encode_frame() argument 316 WORD32 slice_type = ps_curr_inp->s_slice_hdr.i1_slice_type; in ihevce_entropy_encode_frame() 319 WORD32 nal_type = ps_curr_inp->i4_slice_nal_type; in ihevce_entropy_encode_frame() 322 vps_t *ps_vps = ps_curr_inp->ps_vps; in ihevce_entropy_encode_frame() 323 sps_t *ps_sps = ps_curr_inp->ps_sps; in ihevce_entropy_encode_frame() 324 pps_t *ps_pps = ps_curr_inp->ps_pps; in ihevce_entropy_encode_frame() 325 sei_params_t *ps_sei = &ps_curr_inp->s_sei; in ihevce_entropy_encode_frame() [all …]
|
D | ihevce_plugin.c | 1545 iv_input_data_ctrl_buffs_t *ps_curr_inp; in ihevce_close() local 1549 ps_curr_inp = (iv_input_data_ctrl_buffs_t *)ihevce_q_get_free_inp_data_buff( in ihevce_close() 1552 if(NULL != ps_curr_inp) in ihevce_close() 1556 ps_curr_inp->i4_buf_id = buf_id; in ihevce_close() 1559 ps_curr_inp->i4_inp_frm_data_valid_flag = 0; in ihevce_close() 1561 pi4_ctrl_ptr = (WORD32 *)ps_curr_inp->pv_synch_ctrl_bufs; in ihevce_close() 1567 ps_curr_inp->i4_cmd_buf_size = 4 * 3; /* 4 bytes */ in ihevce_close() 1677 iv_input_data_ctrl_buffs_t *ps_curr_inp, in ihevce_copy_inp_8bit() argument 1687 WORD32 buf_height = ps_curr_inp->s_input_buf.i4_y_ht; in ihevce_copy_inp_8bit() 1688 WORD32 buf_width = ps_curr_inp->s_input_buf.i4_y_wd; in ihevce_copy_inp_8bit() [all …]
|
D | ihevce_frame_process.h | 80 ihevce_lap_enc_buf_t *ps_curr_inp, 86 ihevce_lap_enc_buf_t *ps_curr_inp, 106 ihevce_lap_enc_buf_t *ps_curr_inp,
|
D | ihevce_lap_interface.c | 415 ihevce_lap_enc_buf_t *ps_curr_inp, WORD32 align_pic_wd, WORD32 align_pic_ht) in ihevce_lap_pad_input_bufs() argument 421 if(align_pic_wd != ps_curr_inp->s_lap_out.s_input_buf.i4_y_wd) in ihevce_lap_pad_input_bufs() 430 pad_ht = ps_curr_inp->s_lap_out.s_input_buf.i4_y_ht; in ihevce_lap_pad_input_bufs() 431 pad_wd = align_pic_wd - ps_curr_inp->s_lap_out.s_input_buf.i4_y_wd; in ihevce_lap_pad_input_bufs() 432 pu1_inp = (UWORD8 *)ps_curr_inp->s_lap_out.s_input_buf.pv_y_buf; in ihevce_lap_pad_input_bufs() 433 pu1_inp += ps_curr_inp->s_lap_out.s_input_buf.i4_y_wd; in ihevce_lap_pad_input_bufs() 445 pu1_inp += ps_curr_inp->s_lap_out.s_input_buf.i4_y_strd; in ihevce_lap_pad_input_bufs() 450 pad_ht = ps_curr_inp->s_lap_out.s_input_buf.i4_uv_ht; in ihevce_lap_pad_input_bufs() 451 pad_wd = align_pic_wd - ps_curr_inp->s_lap_out.s_input_buf.i4_uv_wd; in ihevce_lap_pad_input_bufs() 453 pu1_inp = (UWORD8 *)ps_curr_inp->s_lap_out.s_input_buf.pv_u_buf; in ihevce_lap_pad_input_bufs() [all …]
|
D | ihevce_entropy_interface.h | 74 WORD32 ihevce_entropy_size_of_out_buffer(frm_proc_ent_cod_ctxt_t *ps_curr_inp); 91 frm_proc_ent_cod_ctxt_t *ps_curr_inp,
|
D | ihevce_multi_thrd_funcs.h | 80 void *pv_enc_ctxt, ihevce_lap_enc_buf_t *ps_curr_inp, WORD32 i4_curr_frm_id); 83 void *pv_enc_ctxt, ihevce_lap_enc_buf_t *ps_curr_inp, WORD32 i4_ping_pong);
|
D | ihevce_frame_process_utils.c | 337 ihevce_lap_enc_buf_t *ps_curr_inp, in ihevce_fill_sei_payload() argument 344 pu4_tag = ((UWORD32 *)(ps_curr_inp->s_input_buf.pv_synch_ctrl_bufs)); in ihevce_fill_sei_payload() 346 i4_pic_type = ps_curr_inp->s_lap_out.i4_pic_type; in ihevce_fill_sei_payload()
|
D | ihevce_enc_loop_pass.c | 2971 ihevce_lap_enc_buf_t *ps_curr_inp, in ihevce_enc_loop_process() argument 3010 ps_ctxt->u1_is_refPic = ps_curr_inp->s_lap_out.i4_is_ref_pic; in ihevce_enc_loop_process() 3043 ps_curr_inp->s_lap_out.i4_temporal_lyr_id, in ihevce_enc_loop_process() 3056 memcpy(&s_curr_src_bufs, &ps_curr_inp->s_lap_out.s_input_buf, sizeof(iv_enc_yuv_buf_t)); in ihevce_enc_loop_process() 3138 pu1_tmp = (UWORD8 *)ps_curr_inp->s_lap_out.s_input_buf.pv_y_buf + in ihevce_enc_loop_process() 3139 (ps_curr_inp->s_lap_out.s_input_buf.i4_start_offset_y * in ihevce_enc_loop_process() 3140 ps_curr_inp->s_lap_out.s_input_buf.i4_y_strd) + in ihevce_enc_loop_process() 3141 ps_curr_inp->s_lap_out.s_input_buf.i4_start_offset_x; in ihevce_enc_loop_process() 3145 ps_curr_inp->s_lap_out.s_input_buf.i4_y_strd); in ihevce_enc_loop_process() 3152 pu1_tmp = (UWORD8 *)ps_curr_inp->s_lap_out.s_input_buf.pv_u_buf; in ihevce_enc_loop_process() [all …]
|
D | ihevce_frame_process_utils.h | 81 ihevce_lap_enc_buf_t *ps_curr_inp,
|
D | ihevce_multi_thrd_funcs.c | 444 void *pv_enc_ctxt, ihevce_lap_enc_buf_t *ps_curr_inp, WORD32 i4_curr_frm_id) in ihevce_prepare_job_queue() argument 498 i4_pic_type = ps_curr_inp->s_lap_out.i4_pic_type; in ihevce_prepare_job_queue() 717 void *pv_enc_ctxt, ihevce_lap_enc_buf_t *ps_curr_inp, WORD32 i4_ping_pong) in ihevce_prepare_pre_enc_job_queue() argument 752 (void)ps_curr_inp; in ihevce_prepare_pre_enc_job_queue() 836 ps_curr_inp, in ihevce_prepare_pre_enc_job_queue()
|
D | ihevce_lap_interface.h | 97 ihevce_lap_process(void *pv_interface_ctxt, ihevce_lap_enc_buf_t *ps_curr_inp);
|
D | ihevce_coarse_me_pass.h | 380 ihevce_lap_enc_buf_t *ps_curr_inp,
|
D | ihevce_enc_loop_pass.h | 122 ihevce_lap_enc_buf_t *ps_curr_inp,
|
D | ihevce_ipe_pass.h | 130 ihevce_lap_enc_buf_t *ps_curr_inp,
|
D | ihevce_ipe_pass.c | 999 ihevce_lap_enc_buf_t *ps_curr_inp, in ihevce_ipe_process() argument 1014 iv_enc_yuv_buf_t *ps_inp = &ps_curr_inp->s_lap_out.s_input_buf; in ihevce_ipe_process() 1064 ps_curr_inp->s_lap_out.i4_temporal_lyr_id, in ihevce_ipe_process() 1120 pu1_tmp = (UWORD8 *)ps_curr_inp->s_lap_out.s_input_buf.pv_y_buf; in ihevce_ipe_process() 1126 pu1_tmp = (UWORD8 *)ps_curr_inp->s_lap_out.s_input_buf.pv_u_buf; in ihevce_ipe_process()
|
D | ihevce_enc_structs.h | 1538 ihevce_lap_enc_buf_t *ps_curr_inp; member 1855 ihevce_lap_enc_buf_t *ps_curr_inp; member
|
D | ihevce_coarse_me_pass.c | 1194 ihevce_lap_enc_buf_t *ps_curr_inp, in ihevce_coarse_me_get_lyr_prms_job_que() argument
|
D | hme_interface.c | 4528 ->ps_curr_inp->s_lap_out.i4_is_ref_pic; in hme_process_frm()
|