/external/libhevc/encoder/ |
D | ihevce_buffer_que.c | 86 iv_mem_rec_t *ps_mem_tab, WORD32 max_num_bufs_in_que, WORD32 i4_mem_space) in ihevce_buff_que_get_mem_recs() argument 89 ps_mem_tab[BUFFER_QUE_CTXT].i4_mem_size = sizeof(buf_que_t); in ihevce_buff_que_get_mem_recs() 90 ps_mem_tab[BUFFER_QUE_CTXT].e_mem_type = (IV_MEM_TYPE_T)i4_mem_space; in ihevce_buff_que_get_mem_recs() 91 ps_mem_tab[BUFFER_QUE_CTXT].i4_mem_alignment = 8; in ihevce_buff_que_get_mem_recs() 94 ps_mem_tab[BUFFER_QUE_NUM_USER_MEM].i4_mem_size = (sizeof(WORD32) * max_num_bufs_in_que); in ihevce_buff_que_get_mem_recs() 95 ps_mem_tab[BUFFER_QUE_NUM_USER_MEM].e_mem_type = (IV_MEM_TYPE_T)i4_mem_space; in ihevce_buff_que_get_mem_recs() 96 ps_mem_tab[BUFFER_QUE_NUM_USER_MEM].i4_mem_alignment = 8; in ihevce_buff_que_get_mem_recs() 99 ps_mem_tab[BUFFER_QUE_PROD_STS_MEM].i4_mem_size = (sizeof(WORD32) * max_num_bufs_in_que); in ihevce_buff_que_get_mem_recs() 100 ps_mem_tab[BUFFER_QUE_PROD_STS_MEM].e_mem_type = (IV_MEM_TYPE_T)i4_mem_space; in ihevce_buff_que_get_mem_recs() 101 ps_mem_tab[BUFFER_QUE_PROD_STS_MEM].i4_mem_alignment = 8; in ihevce_buff_que_get_mem_recs() [all …]
|
D | ihevce_dep_mngr.c | 112 iv_mem_rec_t *ps_mem_tab, in ihevce_dmgr_get_mem_recs() argument 123 ps_mem_tab[DEP_MNGR_CTXT].i4_mem_size = sizeof(dep_mngr_state_t); in ihevce_dmgr_get_mem_recs() 124 ps_mem_tab[DEP_MNGR_CTXT].e_mem_type = (IV_MEM_TYPE_T)i4_mem_space; in ihevce_dmgr_get_mem_recs() 125 ps_mem_tab[DEP_MNGR_CTXT].i4_mem_alignment = 8; in ihevce_dmgr_get_mem_recs() 154 ps_mem_tab[DEP_MNGR_UNITS_PRCSD_MEM].i4_mem_size = (sizeof(WORD32) * num_vert_units); in ihevce_dmgr_get_mem_recs() 155 ps_mem_tab[DEP_MNGR_UNITS_PRCSD_MEM].e_mem_type = (IV_MEM_TYPE_T)i4_mem_space; in ihevce_dmgr_get_mem_recs() 156 ps_mem_tab[DEP_MNGR_UNITS_PRCSD_MEM].i4_mem_alignment = 8; in ihevce_dmgr_get_mem_recs() 175 ps_mem_tab[DEP_MNGR_WAIT_THRD_ID_MEM].i4_mem_size = (sizeof(WORD32) * num_wait_thrd_ids); in ihevce_dmgr_get_mem_recs() 176 ps_mem_tab[DEP_MNGR_WAIT_THRD_ID_MEM].e_mem_type = (IV_MEM_TYPE_T)i4_mem_space; in ihevce_dmgr_get_mem_recs() 177 ps_mem_tab[DEP_MNGR_WAIT_THRD_ID_MEM].i4_mem_alignment = 8; in ihevce_dmgr_get_mem_recs() [all …]
|
D | mem_req_and_acq.h | 74 itt_memtab_t *ps_mem_tab, in fill_memtab() argument 84 ps_mem_tab->u4_size = i4_aligned_size; in fill_memtab() 85 ps_mem_tab->i4_alignment = i4_alignment; in fill_memtab() 86 ps_mem_tab->e_usage = e_usage; in fill_memtab() 87 ps_mem_tab->e_mem_region = e_mem_region; in fill_memtab() 91 use_or_fill_base(itt_memtab_t *ps_mem_tab, void **ptr_to_be_filled, ITT_FUNC_TYPE_E e_func_type) in use_or_fill_base() argument 98 ps_mem_tab->pv_base = ptr_to_be_filled[0]; in use_or_fill_base() 109 if(ps_mem_tab->pv_base != 0) in use_or_fill_base() 111 ptr_to_be_filled[0] = ps_mem_tab->pv_base; in use_or_fill_base()
|
D | ihevce_entropy_interface.c | 169 iv_mem_rec_t *ps_mem_tab, in ihevce_entropy_get_mem_recs() argument 181 ps_mem_tab[ENTROPY_CTXT].i4_mem_size = sizeof(entropy_context_t); in ihevce_entropy_get_mem_recs() 182 ps_mem_tab[ENTROPY_CTXT].e_mem_type = (IV_MEM_TYPE_T)i4_mem_space; in ihevce_entropy_get_mem_recs() 183 ps_mem_tab[ENTROPY_CTXT].i4_mem_alignment = 64; in ihevce_entropy_get_mem_recs() 186 ps_mem_tab[ENTROPY_TOP_SKIP_FLAGS].i4_mem_size = max_align_width >> 6; in ihevce_entropy_get_mem_recs() 187 ps_mem_tab[ENTROPY_TOP_SKIP_FLAGS].e_mem_type = (IV_MEM_TYPE_T)i4_mem_space; in ihevce_entropy_get_mem_recs() 188 ps_mem_tab[ENTROPY_TOP_SKIP_FLAGS].i4_mem_alignment = 64; in ihevce_entropy_get_mem_recs() 191 ps_mem_tab[ENTROPY_TOP_CU_DEPTH].i4_mem_size = (max_align_width >> 3); in ihevce_entropy_get_mem_recs() 192 ps_mem_tab[ENTROPY_TOP_CU_DEPTH].e_mem_type = (IV_MEM_TYPE_T)i4_mem_space; in ihevce_entropy_get_mem_recs() 193 ps_mem_tab[ENTROPY_TOP_CU_DEPTH].i4_mem_alignment = 64; in ihevce_entropy_get_mem_recs() [all …]
|
D | ihevce_enc_loop_pass.c | 3468 iv_mem_rec_t *ps_mem_tab, in ihevce_enc_loop_get_mem_recs() argument 3498 ps_mem_tab[ENC_LOOP_CTXT].i4_mem_size = sizeof(ihevce_enc_loop_master_ctxt_t); in ihevce_enc_loop_get_mem_recs() 3500 ps_mem_tab[ENC_LOOP_CTXT].e_mem_type = (IV_MEM_TYPE_T)i4_mem_space; in ihevce_enc_loop_get_mem_recs() 3502 ps_mem_tab[ENC_LOOP_CTXT].i4_mem_alignment = 8; in ihevce_enc_loop_get_mem_recs() 3505 ps_mem_tab[ENC_LOOP_THRDS_CTXT].i4_mem_size = in ihevce_enc_loop_get_mem_recs() 3508 ps_mem_tab[ENC_LOOP_THRDS_CTXT].e_mem_type = (IV_MEM_TYPE_T)i4_mem_space; in ihevce_enc_loop_get_mem_recs() 3510 ps_mem_tab[ENC_LOOP_THRDS_CTXT].i4_mem_alignment = 16; in ihevce_enc_loop_get_mem_recs() 3513 ps_mem_tab[ENC_LOOP_SCALE_MAT].i4_mem_size = 2 * MAX_TU_SIZE * MAX_TU_SIZE * sizeof(WORD16); in ihevce_enc_loop_get_mem_recs() 3515 ps_mem_tab[ENC_LOOP_SCALE_MAT].e_mem_type = (IV_MEM_TYPE_T)i4_mem_space; in ihevce_enc_loop_get_mem_recs() 3517 ps_mem_tab[ENC_LOOP_SCALE_MAT].i4_mem_alignment = 8; in ihevce_enc_loop_get_mem_recs() [all …]
|
D | ihevce_dep_mngr_interface.h | 117 iv_mem_rec_t *ps_mem_tab, 125 iv_mem_rec_t *ps_mem_tab, WORD32 num_units, WORD32 num_threads, WORD32 i4_mem_space); 128 iv_mem_rec_t *ps_mem_tab, 138 iv_mem_rec_t *ps_mem_tab,
|
D | ihevce_coarse_me_pass.c | 160 iv_mem_rec_t *ps_mem_tab, in ihevce_coarse_me_get_mem_recs() argument 195 ps_mem_tab[i].i4_mem_size = as_memtabs[i].size; in ihevce_coarse_me_get_mem_recs() 196 ps_mem_tab[i].i4_mem_alignment = as_memtabs[i].align; in ihevce_coarse_me_get_mem_recs() 197 ps_mem_tab[i].e_mem_type = (IV_MEM_TYPE_T)i4_mem_space; in ihevce_coarse_me_get_mem_recs() 198 ps_mem_tab[i].i4_size = sizeof(iv_mem_rec_t); in ihevce_coarse_me_get_mem_recs() 207 ps_mem_tab += n_tabs; in ihevce_coarse_me_get_mem_recs() 210 ps_mem_tab, ps_init_prms, i4_mem_space, i4_num_proc_thrds, i4_resolution_id); in ihevce_coarse_me_get_mem_recs() 241 iv_mem_rec_t *ps_mem_tab, in ihevce_coarse_me_init() argument 276 as_memtabs[i].size = ps_mem_tab[i].i4_mem_size; in ihevce_coarse_me_init() 277 as_memtabs[i].align = ps_mem_tab[i].i4_mem_alignment; in ihevce_coarse_me_init() [all …]
|
D | ihevce_entropy_interface.h | 77 iv_mem_rec_t *ps_mem_tab, 83 iv_mem_rec_t *ps_mem_tab,
|
D | ihevce_lap_interface.h | 87 WORD32 ihevce_lap_get_mem_recs(iv_mem_rec_t *ps_mem_tab, WORD32 i4_mem_space); 92 iv_mem_rec_t *ps_mem_tab,
|
D | ihevce_buffer_que_interface.h | 47 iv_mem_rec_t *ps_mem_tab, WORD32 max_num_bufs_in_que, WORD32 i4_mem_space); 49 void *ihevce_buff_que_init(iv_mem_rec_t *ps_mem_tab, WORD32 num_bufs_in_que, void **ppv_buff_ptrs);
|
D | ihevce_decomp_pre_intra_pass.h | 65 iv_mem_rec_t *ps_mem_tab, WORD32 i4_num_proc_thrds, WORD32 i4_mem_space); 68 iv_mem_rec_t *ps_mem_tab,
|
D | ihevce_coarse_me_pass.h | 106 iv_mem_rec_t *ps_mem_tab, 132 iv_mem_rec_t *ps_mem_tab,
|
D | ihevce_ipe_pass.h | 109 … ihevce_ipe_get_mem_recs(iv_mem_rec_t *ps_mem_tab, WORD32 i4_num_proc_thrds, WORD32 i4_mem_space); 112 iv_mem_rec_t *ps_mem_tab,
|
D | ihevce_enc_loop_pass.h | 69 iv_mem_rec_t *ps_mem_tab, 78 iv_mem_rec_t *ps_mem_tab,
|
D | ihevce_ipe_pass.c | 325 ihevce_ipe_get_mem_recs(iv_mem_rec_t *ps_mem_tab, WORD32 i4_num_proc_thrds, WORD32 i4_mem_space) in ihevce_ipe_get_mem_recs() argument 330 ps_mem_tab[IPE_CTXT].i4_mem_size = sizeof(ihevce_ipe_master_ctxt_t); in ihevce_ipe_get_mem_recs() 332 ps_mem_tab[IPE_CTXT].e_mem_type = (IV_MEM_TYPE_T)i4_mem_space; in ihevce_ipe_get_mem_recs() 334 ps_mem_tab[IPE_CTXT].i4_mem_alignment = 8; in ihevce_ipe_get_mem_recs() 337 ps_mem_tab[IPE_THRDS_CTXT].i4_mem_size = i4_num_proc_thrds * sizeof(ihevce_ipe_ctxt_t); in ihevce_ipe_get_mem_recs() 339 ps_mem_tab[IPE_THRDS_CTXT].e_mem_type = (IV_MEM_TYPE_T)i4_mem_space; in ihevce_ipe_get_mem_recs() 341 ps_mem_tab[IPE_THRDS_CTXT].i4_mem_alignment = 32; in ihevce_ipe_get_mem_recs() 365 iv_mem_rec_t *ps_mem_tab, in ihevce_ipe_init() argument 381 ps_master_ctxt = (ihevce_ipe_master_ctxt_t *)ps_mem_tab[IPE_CTXT].pv_base; in ihevce_ipe_init() 385 ps_ctxt = (ihevce_ipe_ctxt_t *)ps_mem_tab[IPE_THRDS_CTXT].pv_base; in ihevce_ipe_init()
|
D | ihevce_me_pass.h | 103 iv_mem_rec_t *ps_mem_tab, 130 iv_mem_rec_t *ps_mem_tab,
|
D | ihevce_me_pass.c | 339 iv_mem_rec_t *ps_mem_tab, in ihevce_me_get_mem_recs() argument 381 ps_mem_tab[i].i4_mem_size = as_memtabs[i].size; in ihevce_me_get_mem_recs() 382 ps_mem_tab[i].i4_mem_alignment = as_memtabs[i].align; in ihevce_me_get_mem_recs() 383 ps_mem_tab[i].e_mem_type = (IV_MEM_TYPE_T)i4_mem_space; in ihevce_me_get_mem_recs() 384 ps_mem_tab[i].i4_size = sizeof(iv_mem_rec_t); in ihevce_me_get_mem_recs() 390 ps_mem_tab += n_tabs; in ihevce_me_get_mem_recs() 415 iv_mem_rec_t *ps_mem_tab, in ihevce_me_init() argument 462 as_memtabs[i].size = ps_mem_tab[i].i4_mem_size; in ihevce_me_init() 463 as_memtabs[i].align = ps_mem_tab[i].i4_mem_alignment; in ihevce_me_init() 464 as_memtabs[i].pu1_mem = (U08 *)ps_mem_tab[i].pv_base; in ihevce_me_init() [all …]
|
D | hme_interface.h | 668 iv_mem_rec_t *ps_mem_tab, 781 iv_mem_rec_t *ps_mem_tab, 802 iv_mem_rec_t *ps_mem_tab,
|
D | ihevce_decomp_pre_intra_pass.c | 1692 iv_mem_rec_t *ps_mem_tab, WORD32 i4_num_proc_thrds, WORD32 i4_mem_space) in ihevce_decomp_pre_intra_get_mem_recs() argument 1697 ps_mem_tab[DECOMP_PRE_INTRA_CTXT].i4_mem_size = sizeof(ihevce_decomp_pre_intra_master_ctxt_t); in ihevce_decomp_pre_intra_get_mem_recs() 1698 ps_mem_tab[DECOMP_PRE_INTRA_CTXT].e_mem_type = (IV_MEM_TYPE_T)i4_mem_space; in ihevce_decomp_pre_intra_get_mem_recs() 1699 ps_mem_tab[DECOMP_PRE_INTRA_CTXT].i4_mem_alignment = 8; in ihevce_decomp_pre_intra_get_mem_recs() 1702 ps_mem_tab[DECOMP_PRE_INTRA_THRDS_CTXT].i4_mem_size = in ihevce_decomp_pre_intra_get_mem_recs() 1704 ps_mem_tab[DECOMP_PRE_INTRA_THRDS_CTXT].e_mem_type = (IV_MEM_TYPE_T)i4_mem_space; in ihevce_decomp_pre_intra_get_mem_recs() 1705 ps_mem_tab[DECOMP_PRE_INTRA_THRDS_CTXT].i4_mem_alignment = 8; in ihevce_decomp_pre_intra_get_mem_recs() 1708 ps_mem_tab[DECOMP_PRE_INTRA_ED_CTXT].i4_mem_size = i4_num_proc_thrds * sizeof(ihevce_ed_ctxt_t); in ihevce_decomp_pre_intra_get_mem_recs() 1709 ps_mem_tab[DECOMP_PRE_INTRA_ED_CTXT].e_mem_type = (IV_MEM_TYPE_T)i4_mem_space; in ihevce_decomp_pre_intra_get_mem_recs() 1710 ps_mem_tab[DECOMP_PRE_INTRA_ED_CTXT].i4_mem_alignment = 8; in ihevce_decomp_pre_intra_get_mem_recs() [all …]
|
D | ihevce_rc_interface.h | 76 iv_mem_rec_t *ps_mem_tab, 82 iv_mem_rec_t *ps_mem_tab,
|
D | ihevce_rc_interface.c | 273 iv_mem_rec_t *ps_mem_tab, in ihevce_rc_get_mem_recs() argument 287 ps_mem_tab[RC_CTXT].i4_mem_size = sizeof(rc_context_t); in ihevce_rc_get_mem_recs() 289 ps_mem_tab[RC_CTXT].e_mem_type = (IV_MEM_TYPE_T)mem_space; in ihevce_rc_get_mem_recs() 291 ps_mem_tab[RC_CTXT].i4_mem_alignment = 64; in ihevce_rc_get_mem_recs() 297 ps_mem_tab[RC_QP_TO_QSCALE].i4_mem_size = (i4_temp_size + 1) * 4; in ihevce_rc_get_mem_recs() 298 ps_mem_tab[RC_QP_TO_QSCALE].e_mem_type = (IV_MEM_TYPE_T)mem_space; in ihevce_rc_get_mem_recs() 299 ps_mem_tab[RC_QP_TO_QSCALE].i4_mem_alignment = 64; in ihevce_rc_get_mem_recs() 301 ps_mem_tab[RC_QP_TO_QSCALE_Q_FACTOR].i4_mem_size = (i4_temp_size + 1) * 4; in ihevce_rc_get_mem_recs() 302 ps_mem_tab[RC_QP_TO_QSCALE_Q_FACTOR].e_mem_type = (IV_MEM_TYPE_T)mem_space; in ihevce_rc_get_mem_recs() 303 ps_mem_tab[RC_QP_TO_QSCALE_Q_FACTOR].i4_mem_alignment = 64; in ihevce_rc_get_mem_recs() [all …]
|
D | ihevce_lap_interface.c | 123 WORD32 ihevce_lap_get_mem_recs(iv_mem_rec_t *ps_mem_tab, WORD32 i4_mem_space) in ihevce_lap_get_mem_recs() argument 128 ps_mem_tab[LAP_CTXT].i4_mem_size = sizeof(lap_struct_t); in ihevce_lap_get_mem_recs() 129 ps_mem_tab[LAP_CTXT].e_mem_type = (IV_MEM_TYPE_T)i4_mem_space; in ihevce_lap_get_mem_recs() 130 ps_mem_tab[LAP_CTXT].i4_mem_alignment = 8; in ihevce_lap_get_mem_recs() 133 ps_mem_tab[LAP_NODE_MEM].i4_mem_size = (max_nodes * sizeof(ihevce_encode_node_t)); in ihevce_lap_get_mem_recs() 135 ps_mem_tab[LAP_NODE_MEM].e_mem_type = (IV_MEM_TYPE_T)i4_mem_space; in ihevce_lap_get_mem_recs() 137 ps_mem_tab[LAP_NODE_MEM].i4_mem_alignment = 8; in ihevce_lap_get_mem_recs() 149 iv_mem_rec_t *ps_mem_tab, in ihevce_lap_init() argument 156 lap_struct_t *ps_lap_struct = (lap_struct_t *)ps_mem_tab[LAP_CTXT].pv_base; in ihevce_lap_init() 158 ps_lap_struct->aps_encode_node[0] = (ihevce_encode_node_t *)ps_mem_tab[LAP_NODE_MEM].pv_base; in ihevce_lap_init() [all …]
|
/external/libavc/encoder/ |
D | ih264e_rc_mem_interface.c | 150 void fill_memtab(itt_memtab_t *ps_mem_tab, in fill_memtab() argument 160 ps_mem_tab->u4_size = i4_aligned_size; in fill_memtab() 161 ps_mem_tab->i4_alignment = i4_alignment; in fill_memtab() 162 ps_mem_tab->e_usage = e_usage; in fill_memtab() 163 ps_mem_tab->e_mem_region = e_mem_region; in fill_memtab() 187 WORD32 use_or_fill_base(itt_memtab_t *ps_mem_tab, in use_or_fill_base() argument 196 ps_mem_tab->pv_base = ptr_to_be_filled[0]; in use_or_fill_base() 207 if (ps_mem_tab->pv_base != 0) in use_or_fill_base() 209 ptr_to_be_filled[0] = ps_mem_tab->pv_base; in use_or_fill_base()
|
D | irc_mem_req_and_acq.h | 150 void fill_memtab(itt_memtab_t *ps_mem_tab, WORD32 u4_size, WORD32 i4_alignment, 174 WORD32 use_or_fill_base(itt_memtab_t *ps_mem_tab, void **ptr_to_be_filled,
|
D | ih264e_rc_mem_interface.h | 150 void fill_memtab(itt_memtab_t *ps_mem_tab, WORD32 u4_size, WORD32 i4_alignment, 174 WORD32 use_or_fill_base(itt_memtab_t *ps_mem_tab, void **ptr_to_be_filled,
|