Home
last modified time | relevance | path

Searched refs:ps_memtab (Results 1 – 25 of 52) sorted by relevance

123

/external/libhevc/encoder/
Dihevce_memory_init.c187 iv_mem_rec_t *ps_memtab; in ihevce_mem_manager_init() local
612 ps_memtab = (iv_mem_rec_t *)s_memtab.pv_base; in ihevce_mem_manager_init()
621 &ps_memtab[total_memtabs_used], in ihevce_mem_manager_init()
629 &ps_memtab[total_memtabs_used], in ihevce_mem_manager_init()
638 &ps_memtab[total_memtabs_used], in ihevce_mem_manager_init()
647 &ps_memtab[total_memtabs_used], in ihevce_mem_manager_init()
654 &ps_memtab[total_memtabs_used], in ihevce_mem_manager_init()
663 &ps_memtab[total_memtabs_used], in ihevce_mem_manager_init()
673 ihevce_lap_get_mem_recs(&ps_memtab[total_memtabs_used], space_for_mem_in_pre_enc_grp); in ihevce_mem_manager_init()
678 &ps_memtab[total_memtabs_used], in ihevce_mem_manager_init()
[all …]
Dihevce_tile_interface.c351 iv_mem_rec_t *ps_memtab, in ihevce_tiles_get_mem_recs() argument
379 ps_memtab[0].i4_size = sizeof(iv_mem_rec_t); in ihevce_tiles_get_mem_recs()
380 ps_memtab[0].i4_mem_size = i4_num_tiles * sizeof(ihevce_tile_params_t); in ihevce_tiles_get_mem_recs()
381 ps_memtab[0].e_mem_type = (IV_MEM_TYPE_T)i4_mem_space; in ihevce_tiles_get_mem_recs()
382 ps_memtab[0].i4_mem_alignment = 8; in ihevce_tiles_get_mem_recs()
414 ps_memtab[1].i4_size = sizeof(iv_mem_rec_t); in ihevce_tiles_get_mem_recs()
415 ps_memtab[1].i4_mem_size = in ihevce_tiles_get_mem_recs()
417 ps_memtab[1].e_mem_type = (IV_MEM_TYPE_T)i4_mem_space; in ihevce_tiles_get_mem_recs()
418 ps_memtab[1].i4_mem_alignment = 8; in ihevce_tiles_get_mem_recs()
443 iv_mem_rec_t *ps_memtab, in ihevce_tiles_mem_init() argument
[all …]
Drc_sad_acc.c59 sad_acc_handle *pps_sad_acc_handle, itt_memtab_t *ps_memtab, ITT_FUNC_TYPE_E e_func_type) in sad_acc_num_fill_use_free_memtab() argument
74 &ps_memtab[i4_mem_tab_idx], sizeof(sad_acc_t), MEM_TAB_ALIGNMENT, PERSISTENT, DDR); in sad_acc_num_fill_use_free_memtab()
75 use_or_fill_base(&ps_memtab[0], (void **)pps_sad_acc, e_func_type); in sad_acc_num_fill_use_free_memtab()
Dmb_model_based.c55 mb_rate_control_t **pps_mb_rate_control, itt_memtab_t *ps_memtab, ITT_FUNC_TYPE_E e_func_type) in mbrc_num_fill_use_free_memtab() argument
69 &ps_memtab[i4_mem_tab_idx], in mbrc_num_fill_use_free_memtab()
74 use_or_fill_base(&ps_memtab[0], (void **)pps_mb_rate_control, e_func_type); in mbrc_num_fill_use_free_memtab()
Dinit_qp.c58 init_qp_handle *pps_init_qp, itt_memtab_t *ps_memtab, ITT_FUNC_TYPE_E e_func_type) in init_qp_num_fill_use_free_memtab() argument
72 &ps_memtab[i4_mem_tab_idx], sizeof(init_qp_t), MEM_TAB_ALIGNMENT, PERSISTENT, DDR); in init_qp_num_fill_use_free_memtab()
73 use_or_fill_base(&ps_memtab[0], (void **)pps_init_qp, e_func_type); in init_qp_num_fill_use_free_memtab()
Dfixed_point_error_bits.c64 error_bits_t **pps_error_bits, itt_memtab_t *ps_memtab, ITT_FUNC_TYPE_E e_func_type) in error_bits_num_fill_use_free_memtab() argument
78 &ps_memtab[i4_mem_tab_idx], sizeof(error_bits_t), MEM_TAB_ALIGNMENT, PERSISTENT, DDR); in error_bits_num_fill_use_free_memtab()
79 use_or_fill_base(&ps_memtab[0], (void **)pps_error_bits, e_func_type); in error_bits_num_fill_use_free_memtab()
Dihevce_tile_interface.h56 iv_mem_rec_t *ps_memtab,
63 iv_mem_rec_t *ps_memtab,
Dvbr_storage_vbv.c73 vbr_storage_vbv_t **pps_vbr_storage_vbv, itt_memtab_t *ps_memtab, ITT_FUNC_TYPE_E e_func_type) in vbr_vbv_num_fill_use_free_memtab() argument
87 &ps_memtab[i4_mem_tab_idx], in vbr_vbv_num_fill_use_free_memtab()
92 use_or_fill_base(&ps_memtab[0], (void **)pps_vbr_storage_vbv, e_func_type); in vbr_vbv_num_fill_use_free_memtab()
97 &pps_vbr_storage_vbv[0]->ps_error_bits, &ps_memtab[i4_mem_tab_idx], e_func_type); in vbr_vbv_num_fill_use_free_memtab()
Dest_sad.c58 est_sad_t **pps_est_sad, itt_memtab_t *ps_memtab, ITT_FUNC_TYPE_E e_func_type) in est_sad_num_fill_use_free_memtab() argument
72 &ps_memtab[i4_mem_tab_idx], sizeof(est_sad_t), MEM_TAB_ALIGNMENT, PERSISTENT, DDR); in est_sad_num_fill_use_free_memtab()
73 use_or_fill_base(&ps_memtab[0], (void **)pps_est_sad, e_func_type); in est_sad_num_fill_use_free_memtab()
Dihevce_plugin.c128 void mem_mngr_alloc(void *pv_handle, ihevce_sys_api_t *ps_sys_api, iv_mem_rec_t *ps_memtab) in mem_mngr_alloc() argument
137 ps_memtab->pv_base = _aligned_malloc(ps_memtab->i4_mem_size, ps_memtab->i4_mem_alignment); in mem_mngr_alloc()
139 mem_alignment = ps_memtab->i4_mem_alignment; in mem_mngr_alloc()
143 error = posix_memalign(&ps_memtab->pv_base, sizeof(void *), ps_memtab->i4_mem_size); in mem_mngr_alloc()
147 error = posix_memalign(&ps_memtab->pv_base, mem_alignment, ps_memtab->i4_mem_size); in mem_mngr_alloc()
155 if(ps_memtab->pv_base == NULL) in mem_mngr_alloc()
208 void mem_mngr_free(void *pv_handle, iv_mem_rec_t *ps_memtab) in mem_mngr_free() argument
212 _aligned_free(ps_memtab->pv_base); in mem_mngr_free()
214 free(ps_memtab->pv_base); in mem_mngr_free()
Dihevce_hle_interface.h172 void *pv_mem_mgr_hdl, ihevce_sys_api_t *ps_sys_api, iv_mem_rec_t *ps_memtab);
177 void (*ihevce_mem_free)(void *pv_mem_mgr_hdl, iv_mem_rec_t *ps_memtab);
Drc_rd_model.c59 rc_rd_model_t **pps_rc_rd_model, itt_memtab_t *ps_memtab, ITT_FUNC_TYPE_E e_func_type) in rc_rd_model_num_fill_use_free_memtab() argument
73 &ps_memtab[i4_mem_tab_idx], sizeof(rc_rd_model_t), MEM_TAB_ALIGNMENT, PERSISTENT, DDR); in rc_rd_model_num_fill_use_free_memtab()
74 use_or_fill_base(&ps_memtab[0], (void **)pps_rc_rd_model, e_func_type); in rc_rd_model_num_fill_use_free_memtab()
1002 rc_rd_model_t **pps_rc_rd_model, itt_memtab_t *ps_memtab, ITT_FUNC_TYPE_E e_func_type) in rc_rd_model_dummy_for_avoiding_warnings() argument
1016 &ps_memtab[i4_mem_tab_idx], sizeof(rc_rd_model_t), MEM_TAB_ALIGNMENT, PERSISTENT, DDR); in rc_rd_model_dummy_for_avoiding_warnings()
1017 use_or_fill_base(&ps_memtab[0], (void **)pps_rc_rd_model, e_func_type); in rc_rd_model_dummy_for_avoiding_warnings()
Dhme_interface.c813 hme_memtab_t *ps_memtab, in hme_alloc_init_layer_mv_bank() argument
862 ASSERT(ps_memtab[count].size == size); in hme_alloc_init_layer_mv_bank()
863 *pps_mv_base = (hme_mv_t *)ps_memtab[count].pu1_mem; in hme_alloc_init_layer_mv_bank()
867 ps_memtab[count].size = size; in hme_alloc_init_layer_mv_bank()
868 ps_memtab[count].align = 4; in hme_alloc_init_layer_mv_bank()
869 ps_memtab[count].e_mem_attr = HME_PERSISTENT_MEM; in hme_alloc_init_layer_mv_bank()
878 ASSERT(ps_memtab[count].size == size); in hme_alloc_init_layer_mv_bank()
879 *pi1_ref_idx_base = (S08 *)ps_memtab[count].pu1_mem; in hme_alloc_init_layer_mv_bank()
883 ps_memtab[count].size = size; in hme_alloc_init_layer_mv_bank()
884 ps_memtab[count].align = 4; in hme_alloc_init_layer_mv_bank()
[all …]
Drc_sad_acc.h47 sad_acc_handle *pps_sad_acc, itt_memtab_t *ps_memtab, ITT_FUNC_TYPE_E e_func_type);
Dfixed_point_error_bits.h49 error_bits_handle *pps_error_bits, itt_memtab_t *ps_memtab, ITT_FUNC_TYPE_E e_func_type);
Dinit_qp.h48 init_qp_handle *pps_init_qp, itt_memtab_t *ps_memtab, ITT_FUNC_TYPE_E e_func_type);
/external/libavc/encoder/
Dih264e_time_stamp.c224 itt_memtab_t *ps_memtab, in ih264e_frame_time_get_init_free_memtab() argument
238 fill_memtab(&ps_memtab[i4_mem_tab_idx], sizeof(frame_time_t), in ih264e_frame_time_get_init_free_memtab()
240 use_or_fill_base(&ps_memtab[0], (void**) pps_frame_time, e_func_type); in ih264e_frame_time_get_init_free_memtab()
414 itt_memtab_t *ps_memtab, in ih264e_time_stamp_get_init_free_memtab() argument
428 fill_memtab(&ps_memtab[i4_mem_tab_idx], sizeof(time_stamp_t), in ih264e_time_stamp_get_init_free_memtab()
430 use_or_fill_base(&ps_memtab[0], (void**) pps_time_stamp, e_func_type); in ih264e_time_stamp_get_init_free_memtab()
Dih264e_modify_frm_rate.c105 itt_memtab_t *ps_memtab, in ih264e_pd_frm_rate_get_init_free_memtab() argument
119 fill_memtab(&ps_memtab[i4_mem_tab_idx], sizeof(pd_frm_rate_t), in ih264e_pd_frm_rate_get_init_free_memtab()
121 use_or_fill_base(&ps_memtab[0], (void**) pps_pd_frm_rate, e_func_type); in ih264e_pd_frm_rate_get_init_free_memtab()
Dirc_mb_model_based.c46 itt_memtab_t *ps_memtab, in irc_mbrc_num_fill_use_free_memtab() argument
64 fill_memtab(&ps_memtab[i4_mem_tab_idx], sizeof(mb_rate_control_t), in irc_mbrc_num_fill_use_free_memtab()
66 use_or_fill_base(&ps_memtab[0], (void**)pps_mb_rate_control, in irc_mbrc_num_fill_use_free_memtab()
Dirc_fixed_point_error_bits.c61 itt_memtab_t *ps_memtab, in irc_error_bits_num_fill_use_free_memtab() argument
77 fill_memtab(&ps_memtab[i4_mem_tab_idx], sizeof(error_bits_t), in irc_error_bits_num_fill_use_free_memtab()
79 use_or_fill_base(&ps_memtab[0], (void**)pps_error_bits, e_func_type); in irc_error_bits_num_fill_use_free_memtab()
Dirc_est_sad.c57 itt_memtab_t *ps_memtab, in irc_est_sad_num_fill_use_free_memtab() argument
72 fill_memtab(&ps_memtab[i4_mem_tab_idx], sizeof(est_sad_t), in irc_est_sad_num_fill_use_free_memtab()
74 use_or_fill_base(&ps_memtab[0], (void**)pps_est_sad, e_func_type); in irc_est_sad_num_fill_use_free_memtab()
Dirc_vbr_storage_vbv.c72 itt_memtab_t *ps_memtab, in irc_vbr_vbv_num_fill_use_free_memtab() argument
88 fill_memtab(&ps_memtab[i4_mem_tab_idx], sizeof(vbr_storage_vbv_t), in irc_vbr_vbv_num_fill_use_free_memtab()
90 use_or_fill_base(&ps_memtab[0], (void**)pps_vbr_storage_vbv, in irc_vbr_vbv_num_fill_use_free_memtab()
97 &ps_memtab[i4_mem_tab_idx], e_func_type); in irc_vbr_vbv_num_fill_use_free_memtab()
Dih264e_time_stamp.h273 itt_memtab_t *ps_memtab,
302 itt_memtab_t *ps_memtab,
Dirc_rate_control_api.c76 itt_memtab_t *ps_memtab, in irc_rate_control_num_fill_use_free_memtab() argument
92 fill_memtab(&ps_memtab[i4_mem_tab_idx], sizeof(rate_control_api_t), in irc_rate_control_num_fill_use_free_memtab()
94 use_or_fill_base(&ps_memtab[0], (void**)pps_rate_control_api, in irc_rate_control_num_fill_use_free_memtab()
102 &ps_memtab[i4_mem_tab_idx], e_func_type); in irc_rate_control_num_fill_use_free_memtab()
106 &ps_memtab[i4_mem_tab_idx], e_func_type); in irc_rate_control_num_fill_use_free_memtab()
110 &ps_memtab[i4_mem_tab_idx], e_func_type); in irc_rate_control_num_fill_use_free_memtab()
114 &ps_memtab[i4_mem_tab_idx], e_func_type); in irc_rate_control_num_fill_use_free_memtab()
118 &ps_memtab[i4_mem_tab_idx], e_func_type); in irc_rate_control_num_fill_use_free_memtab()
124 &ps_memtab[i4_mem_tab_idx], e_func_type); in irc_rate_control_num_fill_use_free_memtab()
128 &ps_memtab[i4_mem_tab_idx], e_func_type); in irc_rate_control_num_fill_use_free_memtab()
Dirc_cbr_buffer_control.c78 itt_memtab_t *ps_memtab, in irc_cbr_buffer_num_fill_use_free_memtab() argument
93 fill_memtab(&ps_memtab[i4_mem_tab_idx], sizeof(cbr_buffer_t), in irc_cbr_buffer_num_fill_use_free_memtab()
95 use_or_fill_base(&ps_memtab[0], (void**)pps_cbr_buffer, e_func_type); in irc_cbr_buffer_num_fill_use_free_memtab()
103 &ps_memtab[i4_mem_tab_idx], e_func_type); in irc_cbr_buffer_num_fill_use_free_memtab()

123