Home
last modified time | relevance | path

Searched refs:ps_hle_ctxt (Results 1 – 11 of 11) sorted by relevance

/external/libhevc/encoder/
Dihevce_hle_interface.c176 IV_API_CALL_STATUS_T ihevce_hle_interface_create(ihevce_hle_ctxt_t *ps_hle_ctxt) in ihevce_hle_interface_create() argument
182 WORD32 i4_num_resolutions = ps_hle_ctxt->ps_static_cfg_prms->s_tgt_lyr_prms.i4_num_res_layers; in ihevce_hle_interface_create()
185 ihevce_sys_api_t *ps_sys_api = &ps_hle_ctxt->ps_static_cfg_prms->s_sys_api; in ihevce_hle_interface_create()
192 status = ihevce_osal_init((void *)ps_hle_ctxt); in ihevce_hle_interface_create()
204 ps_hle_ctxt->i4_error_code = 0; in ihevce_hle_interface_create()
207 ps_hle_ctxt->i4_error_code = ihevce_hle_validate_static_params(ps_hle_ctxt->ps_static_cfg_prms); in ihevce_hle_interface_create()
216 ps_hle_ctxt->ihevce_mem_alloc( in ihevce_hle_interface_create()
217 ps_hle_ctxt->pv_mem_mgr_hdl, &ps_hle_ctxt->ps_static_cfg_prms->s_sys_api, &s_memtab); in ihevce_hle_interface_create()
225 ps_hle_ctxt->ps_static_cfg_prms, in ihevce_hle_interface_create()
234 ps_hle_ctxt->i4_error_code = IHEVCE_INVALID_MEM_CTRL_FLAG; in ihevce_hle_interface_create()
[all …]
Dihevce_hle_interface.h228 ihevce_hle_ctxt_t *ps_hle_ctxt; member
256 IHEVCE_DLL IV_API_CALL_STATUS_T ihevce_hle_interface_create(ihevce_hle_ctxt_t *ps_hle_ctxt);
269 ihevce_hle_ctxt_t *ps_hle_ctxt,
289 ihevce_hle_ctxt_t *ps_hle_ctxt,
331 ihevce_hle_ctxt_t *ps_hle_ctxt, WORD32 *pi4_buff_id, WORD32 i4_blocking_mode);
343 ihevce_hle_ctxt_t *ps_hle_ctxt, WORD32 *pi4_buff_id, WORD32 i4_blocking_mode);
346 ihevce_hle_ctxt_t *ps_hle_ctxt,
353 ihevce_hle_ctxt_t *ps_hle_ctxt,
365 ihevce_q_set_inp_data_buff_prod(ihevce_hle_ctxt_t *ps_hle_ctxt, WORD32 i4_buff_id);
373 ihevce_q_set_inp_ctrl_buff_prod(ihevce_hle_ctxt_t *ps_hle_ctxt, WORD32 i4_buff_id);
[all …]
Dihevce_common_utils.c652 ihevce_hle_ctxt_t *ps_hle_ctxt = (ihevce_hle_ctxt_t *)pv_handle; in ihevce_osal_alloc() local
663 ps_hle_ctxt->ihevce_mem_alloc( in ihevce_osal_alloc()
664 ps_hle_ctxt->pv_mem_mgr_hdl, &ps_hle_ctxt->ps_static_cfg_prms->s_sys_api, &s_mem_tab); in ihevce_osal_alloc()
689 ihevce_hle_ctxt_t *ps_hle_ctxt = (ihevce_hle_ctxt_t *)pv_handle; in ihevce_osal_free() local
700 ps_hle_ctxt->ihevce_mem_free(ps_hle_ctxt->pv_mem_mgr_hdl, &s_mem_tab); in ihevce_osal_free()
723 ihevce_hle_ctxt_t *ps_hle_ctxt; in ihevce_osal_init() local
729 ps_hle_ctxt = (ihevce_hle_ctxt_t *)pv_hle_ctxt; in ihevce_osal_init()
743 ps_hle_ctxt->ihevce_mem_alloc( in ihevce_osal_init()
744 ps_hle_ctxt->pv_mem_mgr_hdl, &ps_hle_ctxt->ps_static_cfg_prms->s_sys_api, &s_mem_tab); in ihevce_osal_init()
747 ps_hle_ctxt->ps_static_cfg_prms->s_sys_api.ihevce_printf( in ihevce_osal_init()
[all …]
Dihevce_entropy_cod.c149 ihevce_hle_ctxt_t *ps_hle_ctxt; in ihevce_ent_coding_thrd() local
171 ps_hle_ctxt = (ihevce_hle_ctxt_t *)ps_thrd_ctxt->ps_hle_ctxt; in ihevce_ent_coding_thrd()
284 &ps_hle_ctxt->profile_entropy[ps_enc_ctxt->i4_resolution_id][i4_bitrate_instance_num]); in ihevce_ent_coding_thrd()
518 ps_hle_ctxt->ihevce_output_strm_fill_done( in ihevce_ent_coding_thrd()
519 ps_hle_ctxt->pv_out_cb_handle, in ihevce_ent_coding_thrd()
563 &ps_hle_ctxt->profile_entropy[ps_enc_ctxt->i4_resolution_id][i4_bitrate_instance_num], in ihevce_ent_coding_thrd()
625 ps_hle_ctxt->ihevce_output_strm_fill_done( in ihevce_ent_coding_thrd()
626 ps_hle_ctxt->pv_out_cb_handle, in ihevce_ent_coding_thrd()
668 ihevce_hle_ctxt_t *ps_hle_ctxt, WORD32 i4_bitrate_instance_id, WORD32 i4_resolution_id) in ihevce_entropy_encode_header() argument
682 if((ps_hle_ctxt == NULL) || (ps_hle_ctxt->i4_size != sizeof(ihevce_hle_ctxt_t)) || in ihevce_entropy_encode_header()
[all …]
Dihevce_lap_interface.c535 ihevce_hle_ctxt_t *ps_hle_ctxt, in ihevce_lap_parse_sync_cmd() argument
570 ps_hle_ctxt->ihevce_cmds_error_report( in ihevce_lap_parse_sync_cmd()
571 ps_hle_ctxt->pv_cmd_err_cb_handle, in ihevce_lap_parse_sync_cmd()
583 ps_hle_ctxt->ihevce_cmds_error_report( in ihevce_lap_parse_sync_cmd()
584 ps_hle_ctxt->pv_cmd_err_cb_handle, in ihevce_lap_parse_sync_cmd()
590 ps_hle_ctxt->ihevce_cmds_error_report( in ihevce_lap_parse_sync_cmd()
591 ps_hle_ctxt->pv_cmd_err_cb_handle, in ihevce_lap_parse_sync_cmd()
605 ps_hle_ctxt->ihevce_cmds_error_report( in ihevce_lap_parse_sync_cmd()
606 ps_hle_ctxt->pv_cmd_err_cb_handle, in ihevce_lap_parse_sync_cmd()
613 ps_hle_ctxt->ihevce_cmds_error_report( in ihevce_lap_parse_sync_cmd()
[all …]
Dihevce_frame_process_utils.c414 ihevce_hle_ctxt_t *ps_hle_ctxt = (ihevce_hle_ctxt_t *)pv_hle_ctxt; in ihevce_dyn_bitrate() local
417 (enc_ctxt_t *)ps_hle_ctxt->apv_enc_hdl[ps_dyn_bitrate_prms->i4_tgt_res_id]; in ihevce_dyn_bitrate()
418 ihevce_static_cfg_params_t *ps_static_cfg_params = ps_hle_ctxt->ps_static_cfg_prms; in ihevce_dyn_bitrate()
Dihevce_hle_q_func.c646 void ihevce_force_end(ihevce_hle_ctxt_t *ps_hle_ctxt) in ihevce_force_end() argument
651 ps_enc_ctxt = (enc_ctxt_t *)ps_hle_ctxt->apv_enc_hdl[0]; in ihevce_force_end()
656 ps_enc_ctxt = (enc_ctxt_t *)ps_hle_ctxt->apv_enc_hdl[i4_resolution_id]; in ihevce_force_end()
Dihevce_memory_init.c2567 ihevce_hle_ctxt_t *ps_hle_ctxt, in ihevce_mem_manager_que_init() argument
2583 enc_ctxt_t *ps_enc_ctxt_base = (enc_ctxt_t *)ps_hle_ctxt->apv_enc_hdl[0]; in ihevce_mem_manager_que_init()
2631 if(ps_hle_ctxt->ps_static_cfg_prms->i4_save_recon) in ihevce_mem_manager_que_init()
2653 ps_hle_ctxt->ihevce_mem_alloc( in ihevce_mem_manager_que_init()
2654 ps_hle_ctxt->pv_mem_mgr_hdl, &ps_hle_ctxt->ps_static_cfg_prms->s_sys_api, &s_memtab); in ihevce_mem_manager_que_init()
2657 ps_hle_ctxt->i4_error_code = IHEVCE_CANNOT_ALLOCATE_MEMORY; in ihevce_mem_manager_que_init()
2760 if(ps_hle_ctxt->ps_static_cfg_prms->i4_save_recon) in ihevce_mem_manager_que_init()
2802 ps_hle_ctxt->ihevce_mem_alloc( in ihevce_mem_manager_que_init()
2803 ps_hle_ctxt->pv_mem_mgr_hdl, in ihevce_mem_manager_que_init()
2804 &ps_hle_ctxt->ps_static_cfg_prms->s_sys_api, in ihevce_mem_manager_que_init()
[all …]
Dihevce_memory_init.h70 ihevce_hle_ctxt_t *ps_hle_ctxt,
Dihevce_hle_q_func.h77 void ihevce_force_end(ihevce_hle_ctxt_t *ps_hle_ctxt);
Dihevce_frame_process.c2885 ihevce_hle_ctxt_t *ps_hle_ctxt; in ihevce_enc_frm_proc_slave_thrd() local
2896 ps_hle_ctxt = ps_thrd_ctxt->ps_hle_ctxt; in ihevce_enc_frm_proc_slave_thrd()
3890 &ps_hle_ctxt->profile_enc[ps_enc_ctxt->i4_resolution_id][i]); in ihevce_enc_frm_proc_slave_thrd()
3977 &ps_hle_ctxt->profile_enc[ps_enc_ctxt->i4_resolution_id][i], NULL); in ihevce_enc_frm_proc_slave_thrd()
4426 ps_hle_ctxt->ihevce_output_recon_fill_done( in ihevce_enc_frm_proc_slave_thrd()
4427 ps_hle_ctxt->pv_recon_cb_handle, in ihevce_enc_frm_proc_slave_thrd()
4744 ps_hle_ctxt->ihevce_output_recon_fill_done( in ihevce_enc_frm_proc_slave_thrd()
4745 ps_hle_ctxt->pv_recon_cb_handle, in ihevce_enc_frm_proc_slave_thrd()
6093 ihevce_hle_ctxt_t *ps_hle_ctxt = ps_thrd_ctxt->ps_hle_ctxt; in ihevce_pre_enc_process_frame_thrd() local
6111 (void)ps_hle_ctxt; in ihevce_pre_enc_process_frame_thrd()
[all …]