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.h230 ihevce_hle_ctxt_t *ps_hle_ctxt; member
258 IHEVCE_DLL IV_API_CALL_STATUS_T ihevce_hle_interface_create(ihevce_hle_ctxt_t *ps_hle_ctxt);
271 ihevce_hle_ctxt_t *ps_hle_ctxt,
291 ihevce_hle_ctxt_t *ps_hle_ctxt,
333 ihevce_hle_ctxt_t *ps_hle_ctxt, WORD32 *pi4_buff_id, WORD32 i4_blocking_mode);
345 ihevce_hle_ctxt_t *ps_hle_ctxt, WORD32 *pi4_buff_id, WORD32 i4_blocking_mode);
348 ihevce_hle_ctxt_t *ps_hle_ctxt,
355 ihevce_hle_ctxt_t *ps_hle_ctxt,
367 ihevce_q_set_inp_data_buff_prod(ihevce_hle_ctxt_t *ps_hle_ctxt, WORD32 i4_buff_id);
375 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()
522 ps_hle_ctxt->ihevce_output_strm_fill_done( in ihevce_ent_coding_thrd()
523 ps_hle_ctxt->pv_out_cb_handle, in ihevce_ent_coding_thrd()
567 &ps_hle_ctxt->profile_entropy[ps_enc_ctxt->i4_resolution_id][i4_bitrate_instance_num], in ihevce_ent_coding_thrd()
629 ps_hle_ctxt->ihevce_output_strm_fill_done( in ihevce_ent_coding_thrd()
630 ps_hle_ctxt->pv_out_cb_handle, in ihevce_ent_coding_thrd()
672 ihevce_hle_ctxt_t *ps_hle_ctxt, WORD32 i4_bitrate_instance_id, WORD32 i4_resolution_id) in ihevce_entropy_encode_header() argument
686 if((ps_hle_ctxt == NULL) || (ps_hle_ctxt->i4_size != sizeof(ihevce_hle_ctxt_t)) || in ihevce_entropy_encode_header()
[all …]
Dihevce_lap_interface.c541 ihevce_hle_ctxt_t *ps_hle_ctxt, in ihevce_lap_parse_sync_cmd() argument
561 ps_hle_ctxt->ihevce_cmds_error_report( in ihevce_lap_parse_sync_cmd()
562 ps_hle_ctxt->pv_cmd_err_cb_handle, in ihevce_lap_parse_sync_cmd()
576 ps_hle_ctxt->ihevce_cmds_error_report( in ihevce_lap_parse_sync_cmd()
577 ps_hle_ctxt->pv_cmd_err_cb_handle, in ihevce_lap_parse_sync_cmd()
593 ps_hle_ctxt->ihevce_cmds_error_report( in ihevce_lap_parse_sync_cmd()
594 ps_hle_ctxt->pv_cmd_err_cb_handle, IHEVCE_SYNCH_ERR_TLV_ERROR, 1, i4_buf_id); in ihevce_lap_parse_sync_cmd()
601 ps_hle_ctxt->ihevce_cmds_error_report( in ihevce_lap_parse_sync_cmd()
602 ps_hle_ctxt->pv_cmd_err_cb_handle, IHEVCE_SYNCH_ERR_TOO_MANY_SEI_MSG, 1, i4_buf_id); in ihevce_lap_parse_sync_cmd()
605 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.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_memory_init.c2525 ihevce_hle_ctxt_t *ps_hle_ctxt, in ihevce_mem_manager_que_init() argument
2541 enc_ctxt_t *ps_enc_ctxt_base = (enc_ctxt_t *)ps_hle_ctxt->apv_enc_hdl[0]; in ihevce_mem_manager_que_init()
2589 if(ps_hle_ctxt->ps_static_cfg_prms->i4_save_recon) in ihevce_mem_manager_que_init()
2611 ps_hle_ctxt->ihevce_mem_alloc( in ihevce_mem_manager_que_init()
2612 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()
2615 ps_hle_ctxt->i4_error_code = IHEVCE_CANNOT_ALLOCATE_MEMORY; in ihevce_mem_manager_que_init()
2718 if(ps_hle_ctxt->ps_static_cfg_prms->i4_save_recon) in ihevce_mem_manager_que_init()
2760 ps_hle_ctxt->ihevce_mem_alloc( in ihevce_mem_manager_que_init()
2761 ps_hle_ctxt->pv_mem_mgr_hdl, in ihevce_mem_manager_que_init()
2762 &ps_hle_ctxt->ps_static_cfg_prms->s_sys_api, in ihevce_mem_manager_que_init()
[all …]
Dihevce_frame_process.c2899 ihevce_hle_ctxt_t *ps_hle_ctxt; in ihevce_enc_frm_proc_slave_thrd() local
2910 ps_hle_ctxt = ps_thrd_ctxt->ps_hle_ctxt; in ihevce_enc_frm_proc_slave_thrd()
3219 PROFILE_START(&ps_hle_ctxt->profile_enc_me[ps_enc_ctxt->i4_resolution_id]); in ihevce_enc_frm_proc_slave_thrd()
3282 PROFILE_STOP(&ps_hle_ctxt->profile_enc_me[ps_enc_ctxt->i4_resolution_id], NULL); in ihevce_enc_frm_proc_slave_thrd()
3906 &ps_hle_ctxt->profile_enc[ps_enc_ctxt->i4_resolution_id][i]); in ihevce_enc_frm_proc_slave_thrd()
3993 &ps_hle_ctxt->profile_enc[ps_enc_ctxt->i4_resolution_id][i], NULL); in ihevce_enc_frm_proc_slave_thrd()
4442 ps_hle_ctxt->ihevce_output_recon_fill_done( in ihevce_enc_frm_proc_slave_thrd()
4443 ps_hle_ctxt->pv_recon_cb_handle, in ihevce_enc_frm_proc_slave_thrd()
4760 ps_hle_ctxt->ihevce_output_recon_fill_done( in ihevce_enc_frm_proc_slave_thrd()
4761 ps_hle_ctxt->pv_recon_cb_handle, in ihevce_enc_frm_proc_slave_thrd()
[all …]