• Home
  • Raw
  • Download

Lines Matching refs:ps_hle_ctxt

176 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()
264 if(0 != ps_hle_ctxt->i4_error_code) in ihevce_hle_interface_create()
266 ps_hle_ctxt->ihevce_mem_free(ps_hle_ctxt->pv_mem_mgr_hdl, &s_memtab); in ihevce_hle_interface_create()
269 ps_hle_ctxt->ai4_num_core_per_res[0] = i4_total_cores; in ihevce_hle_interface_create()
279 ps_hle_ctxt->ihevce_mem_alloc( in ihevce_hle_interface_create()
280 ps_hle_ctxt->pv_mem_mgr_hdl, &ps_enc_static_cfg_params->s_sys_api, &s_memtab); in ihevce_hle_interface_create()
299 ps_hle_ctxt->ihevce_mem_alloc( in ihevce_hle_interface_create()
300 ps_hle_ctxt->pv_mem_mgr_hdl, &ps_enc_static_cfg_params->s_sys_api, &s_memtab); in ihevce_hle_interface_create()
336 ps_hle_ctxt->ai4_num_core_per_res[ctr]; in ihevce_hle_interface_create()
340 ps_hle_ctxt->ai4_num_core_per_res[ctr]; in ihevce_hle_interface_create()
350 ps_enc_ctxt->pv_hle_ctxt = (void *)ps_hle_ctxt; in ihevce_hle_interface_create()
388 ihevce_mem_manager_init(ps_enc_ctxt, ps_hle_ctxt); in ihevce_hle_interface_create()
390 if(0 != ps_hle_ctxt->i4_error_code) in ihevce_hle_interface_create()
396 ps_enc_ctxt->pv_rc_mutex_lock_hdl = osal_mutex_create(ps_hle_ctxt->pv_osal_handle); in ihevce_hle_interface_create()
404 osal_mutex_create(ps_hle_ctxt->pv_osal_handle); in ihevce_hle_interface_create()
411 osal_mutex_create(ps_hle_ctxt->pv_osal_handle); in ihevce_hle_interface_create()
421 ps_hle_ctxt->apv_enc_hdl[ctr] = ps_enc_ctxt; in ihevce_hle_interface_create()
424 PROFILE_INIT(&ps_hle_ctxt->profile_hle); in ihevce_hle_interface_create()
429 PROFILE_INIT(&ps_hle_ctxt->profile_enc_me[ctr]); in ihevce_hle_interface_create()
430 PROFILE_INIT(&ps_hle_ctxt->profile_pre_enc_l1l2[ctr]); in ihevce_hle_interface_create()
431 PROFILE_INIT(&ps_hle_ctxt->profile_pre_enc_l0ipe[ctr]); in ihevce_hle_interface_create()
434 PROFILE_INIT(&ps_hle_ctxt->profile_enc[ctr][i4_br_id]); in ihevce_hle_interface_create()
435 PROFILE_INIT(&ps_hle_ctxt->profile_entropy[ctr][i4_br_id]); in ihevce_hle_interface_create()
464 ihevce_hle_ctxt_t *ps_hle_ctxt, in ihevce_query_io_buf_req() argument
476 ps_enc_ctxt = (enc_ctxt_t *)ps_hle_ctxt->apv_enc_hdl[i4_resolution_id]; in ihevce_query_io_buf_req()
477 ps_src_prms = &ps_hle_ctxt->ps_static_cfg_prms->s_src_prms; in ihevce_query_io_buf_req()
478 i4_num_resolutions = ps_hle_ctxt->ps_static_cfg_prms->s_tgt_lyr_prms.i4_num_res_layers; in ihevce_query_io_buf_req()
480 ps_hle_ctxt->i4_error_code = 0; in ihevce_query_io_buf_req()
526 ps_enc_ctxt = (enc_ctxt_t *)ps_hle_ctxt->apv_enc_hdl[i4_resolution_id_ctr]; in ihevce_query_io_buf_req()
550 if((ps_hle_ctxt->ps_static_cfg_prms->s_tgt_lyr_prms.i4_internal_bit_depth == 12) || in ihevce_query_io_buf_req()
551 ((ps_hle_ctxt->ps_static_cfg_prms->s_tgt_lyr_prms.i4_internal_bit_depth > 8) && in ihevce_query_io_buf_req()
558 if((ps_hle_ctxt->ps_static_cfg_prms->s_tgt_lyr_prms.i4_internal_bit_depth == 10) && in ihevce_query_io_buf_req()
588 ((ps_hle_ctxt->ps_static_cfg_prms->s_tgt_lyr_prms.i4_internal_bit_depth > 8) in ihevce_query_io_buf_req()
633 ihevce_hle_ctxt_t *ps_hle_ctxt, in ihevce_create_ports() argument
642 i4_num_resolutions = ps_hle_ctxt->ps_static_cfg_prms->s_tgt_lyr_prms.i4_num_res_layers; in ihevce_create_ports()
646 ps_hle_ctxt->i4_error_code = 0; in ihevce_create_ports()
650 ps_enc_ctxt = (enc_ctxt_t *)ps_hle_ctxt->apv_enc_hdl[res_ctr]; in ihevce_create_ports()
656 ps_hle_ctxt, in ihevce_create_ports()
670 ps_enc_ctxt->s_enc_ques.pv_q_mutex_hdl = osal_mutex_create(ps_hle_ctxt->pv_osal_handle); in ihevce_create_ports()
710 ihevce_hle_ctxt_t *ps_hle_ctxt; in ihevce_hle_interface_thrd() local
749 ps_hle_ctxt = (ihevce_hle_ctxt_t *)pv_proc_intf_ctxt; in ihevce_hle_interface_thrd()
750 ps_enc_ctxt_base = (enc_ctxt_t *)ps_hle_ctxt->apv_enc_hdl[0]; in ihevce_hle_interface_thrd()
752 PROFILE_START(&ps_hle_ctxt->profile_hle); in ihevce_hle_interface_thrd()
779 ps_enc_ctxt = (enc_ctxt_t *)ps_hle_ctxt->apv_enc_hdl[res_ctr]; in ihevce_hle_interface_thrd()
796 ps_enc_ctxt = (enc_ctxt_t *)ps_hle_ctxt->apv_enc_hdl[res_ctr]; in ihevce_hle_interface_thrd()
803 pv_lap_sem_hdl = osal_sem_create(ps_hle_ctxt->pv_osal_handle, &attr); in ihevce_hle_interface_thrd()
815 pv_enc_frame_process_sem_hdl = osal_sem_create(ps_hle_ctxt->pv_osal_handle, &attr); in ihevce_hle_interface_thrd()
822 pv_pre_enc_frame_process_sem_hdl = osal_sem_create(ps_hle_ctxt->pv_osal_handle, &attr); in ihevce_hle_interface_thrd()
831 pv_inp_data_sem_hdl = osal_sem_create(ps_hle_ctxt->pv_osal_handle, &attr); in ihevce_hle_interface_thrd()
844 pv_lap_inp_data_sem_hdl = osal_sem_create(ps_hle_ctxt->pv_osal_handle, &attr); in ihevce_hle_interface_thrd()
851 pv_preenc_inp_data_sem_hdl = osal_sem_create(ps_hle_ctxt->pv_osal_handle, &attr); in ihevce_hle_interface_thrd()
860 pv_inp_ctrl_sem_hdl = osal_sem_create(ps_hle_ctxt->pv_osal_handle, &attr); in ihevce_hle_interface_thrd()
872 pv_out_ctrl_sts_sem_hdl = osal_sem_create(ps_hle_ctxt->pv_osal_handle, &attr); in ihevce_hle_interface_thrd()
886 pv_ent_common_mres_sem_hdl = osal_sem_create(ps_hle_ctxt->pv_osal_handle, &attr); in ihevce_hle_interface_thrd()
893 pv_out_common_mres_sem_hdl = osal_sem_create(ps_hle_ctxt->pv_osal_handle, &attr); in ihevce_hle_interface_thrd()
908 apv_ent_coding_sem_hdl[i] = osal_sem_create(ps_hle_ctxt->pv_osal_handle, &attr); in ihevce_hle_interface_thrd()
915 apv_out_stream_sem_hdl[i] = osal_sem_create(ps_hle_ctxt->pv_osal_handle, &attr); in ihevce_hle_interface_thrd()
922 apv_out_recon_sem_hdl[i] = osal_sem_create(ps_hle_ctxt->pv_osal_handle, &attr); in ihevce_hle_interface_thrd()
953 ps_enc_ctxt = (enc_ctxt_t *)ps_hle_ctxt->apv_enc_hdl[res_ctr]; in ihevce_hle_interface_thrd()
957 osal_mutex_create(ps_hle_ctxt->pv_osal_handle); in ihevce_hle_interface_thrd()
965 osal_mutex_create(ps_hle_ctxt->pv_osal_handle); in ihevce_hle_interface_thrd()
975 osal_mutex_create(ps_hle_ctxt->pv_osal_handle); in ihevce_hle_interface_thrd()
982 osal_mutex_create(ps_hle_ctxt->pv_osal_handle); in ihevce_hle_interface_thrd()
992 osal_mutex_create(ps_hle_ctxt->pv_osal_handle); in ihevce_hle_interface_thrd()
999 osal_mutex_create(ps_hle_ctxt->pv_osal_handle); in ihevce_hle_interface_thrd()
1008 osal_mutex_create(ps_hle_ctxt->pv_osal_handle); in ihevce_hle_interface_thrd()
1011 osal_mutex_create(ps_hle_ctxt->pv_osal_handle); in ihevce_hle_interface_thrd()
1014 osal_mutex_create(ps_hle_ctxt->pv_osal_handle); in ihevce_hle_interface_thrd()
1017 osal_mutex_create(ps_hle_ctxt->pv_osal_handle); in ihevce_hle_interface_thrd()
1020 osal_mutex_create(ps_hle_ctxt->pv_osal_handle); in ihevce_hle_interface_thrd()
1023 osal_mutex_create(ps_hle_ctxt->pv_osal_handle); in ihevce_hle_interface_thrd()
1026 osal_mutex_create(ps_hle_ctxt->pv_osal_handle); in ihevce_hle_interface_thrd()
1029 osal_mutex_create(ps_hle_ctxt->pv_osal_handle); in ihevce_hle_interface_thrd()
1032 osal_mutex_create(ps_hle_ctxt->pv_osal_handle); in ihevce_hle_interface_thrd()
1054 ps_enc_ctxt = (enc_ctxt_t *)ps_hle_ctxt->apv_enc_hdl[res_ctr]; in ihevce_hle_interface_thrd()
1055 ps_enc_ctxt_base = (enc_ctxt_t *)ps_hle_ctxt->apv_enc_hdl[0]; in ihevce_hle_interface_thrd()
1178 ps_hle_ctxt->ihevce_mem_alloc( in ihevce_hle_interface_thrd()
1179 ps_hle_ctxt->pv_mem_mgr_hdl, &ps_enc_ctxt_base->ps_stat_prms->s_sys_api, &s_memtab); in ihevce_hle_interface_thrd()
1188 ps_lap_interface_ctxt->pv_hle_ctxt = ps_hle_ctxt; in ihevce_hle_interface_thrd()
1189 ps_enc_ctxt = (enc_ctxt_t *)ps_hle_ctxt->apv_enc_hdl[0]; in ihevce_hle_interface_thrd()
1210 ps_enc_ctxt = (enc_ctxt_t *)ps_hle_ctxt->apv_enc_hdl[res_ctr]; in ihevce_hle_interface_thrd()
1222 ps_hle_ctxt->ihevce_mem_alloc( in ihevce_hle_interface_thrd()
1223 ps_hle_ctxt->pv_mem_mgr_hdl, &ps_enc_ctxt_base->ps_stat_prms->s_sys_api, &s_memtab); in ihevce_hle_interface_thrd()
1233 aps_entropy_thrd_ctxt[res_ctr][ctr]->ps_hle_ctxt = ps_hle_ctxt; in ihevce_hle_interface_thrd()
1252 ps_hle_ctxt->ps_static_cfg_prms->s_multi_thrd_prms.i4_num_proc_groups - 1; in ihevce_hle_interface_thrd()
1261 osal_thread_create(ps_hle_ctxt->pv_osal_handle, &s_thread_attr); in ihevce_hle_interface_thrd()
1277 ps_enc_ctxt = (enc_ctxt_t *)ps_hle_ctxt->apv_enc_hdl[res_ctr]; in ihevce_hle_interface_thrd()
1284 enc_ctr += ps_hle_ctxt->ai4_num_core_per_res[i4_loop_count]; in ihevce_hle_interface_thrd()
1314 ps_hle_ctxt->ihevce_mem_alloc( in ihevce_hle_interface_thrd()
1315 ps_hle_ctxt->pv_mem_mgr_hdl, &ps_enc_ctxt_base->ps_stat_prms->s_sys_api, &s_memtab); in ihevce_hle_interface_thrd()
1326 aps_enc_frm_proc_thrd_ctxt[res_ctr][ctr]->ps_hle_ctxt = ps_hle_ctxt; in ihevce_hle_interface_thrd()
1328 ps_enc_ctxt = (enc_ctxt_t *)ps_hle_ctxt->apv_enc_hdl[res_ctr]; in ihevce_hle_interface_thrd()
1374 osal_thread_create(ps_hle_ctxt->pv_osal_handle, &s_thread_attr); in ihevce_hle_interface_thrd()
1391 ps_enc_ctxt = (enc_ctxt_t *)ps_hle_ctxt->apv_enc_hdl[res_ctr]; in ihevce_hle_interface_thrd()
1396 pre_enc_ctr += ps_hle_ctxt->ai4_num_core_per_res[i4_loop_count]; in ihevce_hle_interface_thrd()
1432 ps_hle_ctxt->ihevce_mem_alloc( in ihevce_hle_interface_thrd()
1433 ps_hle_ctxt->pv_mem_mgr_hdl, &ps_enc_ctxt_base->ps_stat_prms->s_sys_api, &s_memtab); in ihevce_hle_interface_thrd()
1444 aps_pre_enc_frm_proc_thrd_ctxt[res_ctr][ctr]->ps_hle_ctxt = ps_hle_ctxt; in ihevce_hle_interface_thrd()
1445 ps_enc_ctxt = (enc_ctxt_t *)ps_hle_ctxt->apv_enc_hdl[res_ctr]; in ihevce_hle_interface_thrd()
1496 osal_thread_create(ps_hle_ctxt->pv_osal_handle, &s_thread_attr); in ihevce_hle_interface_thrd()
1506 ps_hle_ctxt->i4_hle_init_done = 1; in ihevce_hle_interface_thrd()
1517 ps_enc_ctxt = (enc_ctxt_t *)ps_hle_ctxt->apv_enc_hdl[res_ctr]; in ihevce_hle_interface_thrd()
1532 ps_hle_ctxt->ihevce_mem_free(ps_hle_ctxt->pv_mem_mgr_hdl, &s_memtab); in ihevce_hle_interface_thrd()
1541 ps_enc_ctxt = (enc_ctxt_t *)ps_hle_ctxt->apv_enc_hdl[res_ctr]; in ihevce_hle_interface_thrd()
1556 ps_hle_ctxt->ihevce_mem_free(ps_hle_ctxt->pv_mem_mgr_hdl, &s_memtab); in ihevce_hle_interface_thrd()
1584 ps_hle_ctxt->ihevce_mem_free(ps_hle_ctxt->pv_mem_mgr_hdl, &s_memtab); in ihevce_hle_interface_thrd()
1591 ps_hle_ctxt->ihevce_mem_free(ps_hle_ctxt->pv_mem_mgr_hdl, &s_memtab); in ihevce_hle_interface_thrd()
1593 PROFILE_STOP(&ps_hle_ctxt->profile_hle, NULL); in ihevce_hle_interface_thrd()
1617 ihevce_hle_ctxt_t *ps_hle_ctxt, WORD32 *pi4_buff_id, WORD32 i4_blocking_mode) in ihevce_q_get_free_inp_data_buff() argument
1623 ps_enc_ctxt = (enc_ctxt_t *)ps_hle_ctxt->apv_enc_hdl[i4_resolution_id]; in ihevce_q_get_free_inp_data_buff()
1630 ps_hle_ctxt->apv_enc_hdl[0], IHEVCE_INPUT_DATA_CTRL_Q, pi4_buff_id, i4_blocking_mode); in ihevce_q_get_free_inp_data_buff()
1655 ihevce_hle_ctxt_t *ps_hle_ctxt, WORD32 *pi4_buff_id, WORD32 i4_blocking_mode) in ihevce_q_get_free_inp_ctrl_buff() argument
1661 ps_hle_ctxt->apv_enc_hdl[0], IHEVCE_INPUT_ASYNCH_CTRL_Q, pi4_buff_id, i4_blocking_mode); in ihevce_q_get_free_inp_ctrl_buff()
1686 ihevce_hle_ctxt_t *ps_hle_ctxt, in ihevce_q_get_free_out_strm_buff() argument
1695 ps_hle_ctxt->apv_enc_hdl[i4_res_instance], in ihevce_q_get_free_out_strm_buff()
1722 ihevce_hle_ctxt_t *ps_hle_ctxt, in ihevce_q_get_free_out_recon_buff() argument
1731 ps_hle_ctxt->apv_enc_hdl[i4_res_instance], in ihevce_q_get_free_out_recon_buff()
1757 ihevce_q_set_inp_data_buff_prod(ihevce_hle_ctxt_t *ps_hle_ctxt, WORD32 i4_buff_id) in ihevce_q_set_inp_data_buff_prod() argument
1762 ihevce_q_set_buff_prod(ps_hle_ctxt->apv_enc_hdl[0], IHEVCE_INPUT_DATA_CTRL_Q, i4_buff_id); in ihevce_q_set_inp_data_buff_prod()
1786 ihevce_q_set_inp_ctrl_buff_prod(ihevce_hle_ctxt_t *ps_hle_ctxt, WORD32 i4_buff_id) in ihevce_q_set_inp_ctrl_buff_prod() argument
1792 ihevce_q_set_buff_prod(ps_hle_ctxt->apv_enc_hdl[0], IHEVCE_INPUT_ASYNCH_CTRL_Q, i4_buff_id); in ihevce_q_set_inp_ctrl_buff_prod()
1816 ihevce_hle_ctxt_t *ps_hle_ctxt, in ihevce_q_set_out_strm_buff_prod() argument
1824 ps_hle_ctxt->apv_enc_hdl[i4_resolution_id], in ihevce_q_set_out_strm_buff_prod()
1850 ihevce_hle_ctxt_t *ps_hle_ctxt, in ihevce_q_set_out_recon_buff_prod() argument
1858 ps_hle_ctxt->apv_enc_hdl[i4_resolution_id], in ihevce_q_set_out_recon_buff_prod()
1886 ihevce_hle_ctxt_t *ps_hle_ctxt, in ihevce_q_get_filled_recon_buff() argument
1895 ps_hle_ctxt->apv_enc_hdl[i4_resolution_id], in ihevce_q_get_filled_recon_buff()
1923 ihevce_hle_ctxt_t *ps_hle_ctxt, WORD32 *pi4_buff_id, WORD32 i4_blocking_mode) in ihevce_q_get_filled_ctrl_sts_buff() argument
1927 ps_hle_ctxt->apv_enc_hdl[0], IHEVCE_OUTPUT_STATUS_Q, pi4_buff_id, i4_blocking_mode); in ihevce_q_get_filled_ctrl_sts_buff()
1952 ihevce_hle_ctxt_t *ps_hle_ctxt, in ihevce_q_rel_recon_buf() argument
1960 ps_hle_ctxt->apv_enc_hdl[i4_resolution_id], in ihevce_q_rel_recon_buf()
1985 IV_API_CALL_STATUS_T ihevce_q_rel_ctrl_sts_buf(ihevce_hle_ctxt_t *ps_hle_ctxt, WORD32 i4_buff_id) in ihevce_q_rel_ctrl_sts_buf() argument
1989 ret_status = ihevce_q_rel_buf(ps_hle_ctxt->apv_enc_hdl[0], IHEVCE_OUTPUT_STATUS_Q, i4_buff_id); in ihevce_q_rel_ctrl_sts_buf()
2011 IV_API_CALL_STATUS_T ihevce_hle_interface_delete(ihevce_hle_ctxt_t *ps_hle_ctxt) in ihevce_hle_interface_delete() argument
2019 i4_num_resolutions = ps_hle_ctxt->ps_static_cfg_prms->s_tgt_lyr_prms.i4_num_res_layers; in ihevce_hle_interface_delete()
2023 ps_hle_ctxt->ps_static_cfg_prms->s_tgt_lyr_prms.as_tgt_params[ctr] in ihevce_hle_interface_delete()
2027 for(res_ctr = 0; res_ctr < i4_num_resolutions && ps_hle_ctxt->apv_enc_hdl[res_ctr]; res_ctr++) in ihevce_hle_interface_delete()
2029 ps_enc_ctxt = (enc_ctxt_t *)ps_hle_ctxt->apv_enc_hdl[res_ctr]; in ihevce_hle_interface_delete()
2036 if(1 == ps_hle_ctxt->ps_static_cfg_prms->s_tgt_lyr_prms.i4_mres_single_out) in ihevce_hle_interface_delete()
2051 for(i = 0; i < ps_hle_ctxt->ps_static_cfg_prms->s_tgt_lyr_prms.as_tgt_params[res_ctr] in ihevce_hle_interface_delete()
2103 ps_hle_ctxt->ps_static_cfg_prms, in ihevce_hle_interface_delete()
2190 ihevce_mem_manager_free(ps_enc_ctxt, ps_hle_ctxt); in ihevce_hle_interface_delete()
2191 if((1 == ps_hle_ctxt->ps_static_cfg_prms->s_tgt_lyr_prms.i4_mres_single_out) && in ihevce_hle_interface_delete()
2200 ps_hle_ctxt->ihevce_mem_free(ps_hle_ctxt->pv_mem_mgr_hdl, &s_memtab); in ihevce_hle_interface_delete()
2211 ps_hle_ctxt->ihevce_mem_free(ps_hle_ctxt->pv_mem_mgr_hdl, &s_memtab); in ihevce_hle_interface_delete()
2220 ps_hle_ctxt->ihevce_mem_free(ps_hle_ctxt->pv_mem_mgr_hdl, &s_memtab); in ihevce_hle_interface_delete()
2223 ps_hle_ctxt->apv_enc_hdl[res_ctr] = NULL; in ihevce_hle_interface_delete()
2226 PROFILE_END(&ps_hle_ctxt->profile_hle, "hle interface thread active time"); in ihevce_hle_interface_delete()
2231 PROFILE_END(&ps_hle_ctxt->profile_pre_enc_l1l2[res_ctr], "pre enc l1l2 process"); in ihevce_hle_interface_delete()
2232 PROFILE_END(&ps_hle_ctxt->profile_pre_enc_l0ipe[res_ctr], "pre enc l0 ipe process"); in ihevce_hle_interface_delete()
2233 PROFILE_END(&ps_hle_ctxt->profile_enc_me[res_ctr], "enc me process"); in ihevce_hle_interface_delete()
2236 PROFILE_END(&ps_hle_ctxt->profile_enc[res_ctr][i4_br_id], "enc loop process"); in ihevce_hle_interface_delete()
2237 PROFILE_END(&ps_hle_ctxt->profile_entropy[res_ctr][i4_br_id], "entropy process"); in ihevce_hle_interface_delete()
2242 ihevce_osal_delete((void *)ps_hle_ctxt); in ihevce_hle_interface_delete()