/external/libavc/decoder/mvc/ |
D | imvcd_utils.c | 696 WORD32 i4_mem_size; in imvcd_allocate_dynamic_bufs() local 706 i4_mem_size = u4_total_mbs * sizeof(ps_view_ctxt->pu1_dec_mb_map[0]); in imvcd_allocate_dynamic_bufs() 707 pv_buf = ps_view_ctxt->pf_aligned_alloc(pv_mem_ctxt, i4_default_alignment, i4_mem_size); in imvcd_allocate_dynamic_bufs() 709 memset(pv_buf, 0, i4_mem_size); in imvcd_allocate_dynamic_bufs() 712 i4_mem_size = u4_total_mbs * sizeof(ps_view_ctxt->pu1_recon_mb_map[0]); in imvcd_allocate_dynamic_bufs() 713 pv_buf = ps_view_ctxt->pf_aligned_alloc(pv_mem_ctxt, i4_default_alignment, i4_mem_size); in imvcd_allocate_dynamic_bufs() 715 memset(pv_buf, 0, i4_mem_size); in imvcd_allocate_dynamic_bufs() 718 i4_mem_size = u4_total_mbs * sizeof(ps_view_ctxt->pu2_slice_num_map[0]); in imvcd_allocate_dynamic_bufs() 719 pv_buf = ps_view_ctxt->pf_aligned_alloc(pv_mem_ctxt, i4_default_alignment, i4_mem_size); in imvcd_allocate_dynamic_bufs() 721 memset(pv_buf, 0, i4_mem_size); in imvcd_allocate_dynamic_bufs() [all …]
|
D | imvcd_api.c | 158 WORD32 i4_mem_size; in imvcd_view_ctxt_init() local 173 i4_mem_size = ((sizeof(dec_seq_params_t)) * MAX_NUM_SEQ_PARAMS); in imvcd_view_ctxt_init() 174 pv_buf = pf_aligned_alloc(pv_mem_ctxt, i4_default_alignment, i4_mem_size); in imvcd_view_ctxt_init() 176 memset(pv_buf, 0, i4_mem_size); in imvcd_view_ctxt_init() 179 i4_mem_size = (sizeof(dec_pic_params_t)) * MAX_NUM_PIC_PARAMS; in imvcd_view_ctxt_init() 180 pv_buf = pf_aligned_alloc(pv_mem_ctxt, i4_default_alignment, i4_mem_size); in imvcd_view_ctxt_init() 182 memset(pv_buf, 0, i4_mem_size); in imvcd_view_ctxt_init() 185 i4_mem_size = ithread_get_handle_size(); in imvcd_view_ctxt_init() 186 pv_buf = pf_aligned_alloc(pv_mem_ctxt, i4_default_alignment, i4_mem_size); in imvcd_view_ctxt_init() 188 memset(pv_buf, 0, i4_mem_size); in imvcd_view_ctxt_init() [all …]
|
/external/libhevc/encoder/ |
D | ihevce_memory_init.c | 600 s_memtab.i4_mem_size = total_memtabs_req * sizeof(iv_mem_rec_t); in ihevce_mem_manager_init() 701 ps_memtab[total_memtabs_used].i4_mem_size = in ihevce_mem_manager_init() 708 ps_memtab[total_memtabs_used].i4_mem_size = sizeof(tile_t); in ihevce_mem_manager_init() 722 ps_memtab[total_memtabs_used].i4_mem_size = in ihevce_mem_manager_init() 737 ps_memtab[total_memtabs_used].i4_mem_size = in ihevce_mem_manager_init() 761 ps_memtab[total_memtabs_used].i4_mem_size = in ihevce_mem_manager_init() 778 ps_memtab[total_memtabs_used].i4_mem_size = in ihevce_mem_manager_init() 795 ps_memtab[total_memtabs_used].i4_mem_size = buf_size; in ihevce_mem_manager_init() 812 ps_memtab[total_memtabs_used].i4_mem_size = buf_size; in ihevce_mem_manager_init() 827 ps_memtab[total_memtabs_used].i4_mem_size = buf_size; in ihevce_mem_manager_init() [all …]
|
D | ihevce_buffer_que.c | 89 ps_mem_tab[BUFFER_QUE_CTXT].i4_mem_size = sizeof(buf_que_t); 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() 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() 104 ps_mem_tab[BUFFER_QUE_ENC_SEQ_MEM].i4_mem_size = (sizeof(UWORD32) * max_num_bufs_in_que); in ihevce_buff_que_get_mem_recs() 109 ps_mem_tab[BUFFER_QUE_QUED_SEQ_MEM].i4_mem_size = (sizeof(UWORD32) * max_num_bufs_in_que); in ihevce_buff_que_get_mem_recs()
|
D | ihevce_dep_mngr.c | 123 ps_mem_tab[DEP_MNGR_CTXT].i4_mem_size = sizeof(dep_mngr_state_t); 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() 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() 180 ps_mem_tab[DEP_MNGR_SEM_HANDLE_MEM].i4_mem_size = (sizeof(void *) * num_threads); in ihevce_dmgr_get_mem_recs() 211 ps_mem_tab[DEP_MNGR_CTXT].i4_mem_size = sizeof(dep_mngr_state_t); in ihevce_dmgr_map_get_mem_recs() 216 ps_mem_tab[DEP_MNGR_UNITS_PRCSD_MEM].i4_mem_size = (sizeof(WORD8) * num_units); in ihevce_dmgr_map_get_mem_recs() 222 ps_mem_tab[DEP_MNGR_WAIT_THRD_ID_MEM].i4_mem_size = (sizeof(WORD32) * num_threads); in ihevce_dmgr_map_get_mem_recs() 227 ps_mem_tab[DEP_MNGR_SEM_HANDLE_MEM].i4_mem_size = (sizeof(void *) * num_threads); in ihevce_dmgr_map_get_mem_recs()
|
D | ihevce_hle_interface.c | 213 s_memtab.i4_mem_size = sizeof(ihevce_static_cfg_params_t); in ihevce_hle_interface_create() 276 s_memtab.i4_mem_size = sizeof(WORD32) * (IHEVCE_MAX_NUM_RESOLUTIONS + 1); in ihevce_hle_interface_create() 296 s_memtab.i4_mem_size = sizeof(enc_ctxt_t); in ihevce_hle_interface_create() 1175 s_memtab.i4_mem_size = sizeof(lap_intface_t); in ihevce_hle_interface_thrd() 1220 s_memtab.i4_mem_size = sizeof(frm_proc_thrd_ctxt_t); in ihevce_hle_interface_thrd() 1312 s_memtab.i4_mem_size = sizeof(frm_proc_thrd_ctxt_t); in ihevce_hle_interface_thrd() 1430 s_memtab.i4_mem_size = sizeof(frm_proc_thrd_ctxt_t); in ihevce_hle_interface_thrd() 1527 s_memtab.i4_mem_size = sizeof(frm_proc_thrd_ctxt_t); in ihevce_hle_interface_thrd() 1551 s_memtab.i4_mem_size = sizeof(frm_proc_thrd_ctxt_t); in ihevce_hle_interface_thrd() 1579 s_memtab.i4_mem_size = sizeof(frm_proc_thrd_ctxt_t); in ihevce_hle_interface_thrd() [all …]
|
D | ihevce_enc_loop_pass.c | 3494 ps_mem_tab[ENC_LOOP_CTXT].i4_mem_size = sizeof(ihevce_enc_loop_master_ctxt_t); in ihevce_enc_loop_get_mem_recs() 3501 ps_mem_tab[ENC_LOOP_THRDS_CTXT].i4_mem_size = in ihevce_enc_loop_get_mem_recs() 3509 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() 3516 ps_mem_tab[ENC_LOOP_RESCALE_MAT].i4_mem_size = 2 * MAX_TU_SIZE * MAX_TU_SIZE * sizeof(WORD16); in ihevce_enc_loop_get_mem_recs() 3525 ps_mem_tab[ENC_LOOP_TOP_LUMA].i4_mem_size = (u4_ctb_rows_in_a_frame + 1) * in ihevce_enc_loop_get_mem_recs() 3531 ps_mem_tab[ENC_LOOP_TOP_LUMA].i4_mem_size = (u4_ctb_rows_in_a_frame + 1) * in ihevce_enc_loop_get_mem_recs() 3543 ps_mem_tab[ENC_LOOP_TOP_CHROMA].i4_mem_size = in ihevce_enc_loop_get_mem_recs() 3549 ps_mem_tab[ENC_LOOP_TOP_CHROMA].i4_mem_size = in ihevce_enc_loop_get_mem_recs() 3559 ps_mem_tab[ENC_LOOP_TOP_NBR4X4].i4_mem_size = in ihevce_enc_loop_get_mem_recs() 3569 ps_mem_tab[ENC_LOOP_RC_PARAMS].i4_mem_size = i4_num_bitrate_inst * i4_num_enc_loop_frm_pllel * in ihevce_enc_loop_get_mem_recs() [all …]
|
D | ihevce_entropy_interface.c | 181 ps_mem_tab[ENTROPY_CTXT].i4_mem_size = sizeof(entropy_context_t); 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() 191 ps_mem_tab[ENTROPY_TOP_CU_DEPTH].i4_mem_size = (max_align_width >> 3); in ihevce_entropy_get_mem_recs() 196 ps_mem_tab[ENTROPY_DUMMY_OUT_BUF].i4_mem_size = (max_align_width * max_align_height * 2); in ihevce_entropy_get_mem_recs() 238 ps_entropy_ctxt->i4_bitstream_buf_size = ps_mem_tab[ENTROPY_DUMMY_OUT_BUF].i4_mem_size; in ihevce_entropy_init()
|
D | ihevce_tile_interface.c | 380 ps_memtab[0].i4_mem_size = i4_num_tiles * sizeof(ihevce_tile_params_t); in ihevce_tiles_get_mem_recs() 415 ps_memtab[1].i4_mem_size = in ihevce_tiles_get_mem_recs()
|
D | ihevce_plugin.c | 137 ps_memtab->pv_base = _aligned_malloc(ps_memtab->i4_mem_size, 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() 877 ps_ctxt->s_memtab_inp_data_buf.i4_mem_size = in ihevce_init() 921 ps_ctxt->as_memtab_out_data_buf[i4_res_id][i4_br_id].i4_mem_size = in ihevce_init() 929 ps_ctxt->as_memtab_out_data_buf[i4_res_id][i4_br_id].i4_mem_size = in ihevce_init() 1025 ps_ctxt->s_memtab_inp_sync_ctrl_buf.i4_mem_size = in ihevce_init()
|
D | itt_video_api.h | 192 WORD32 i4_mem_size; member
|
D | ihevce_common_utils.c | 661 s_mem_tab.i4_mem_size = u4_size; in ihevce_osal_alloc() 741 s_mem_tab.i4_mem_size = OSAL_HANDLE_SIZE; in ihevce_osal_init()
|
D | ihevce_coarse_me_pass.c | 195 ps_mem_tab[i].i4_mem_size = as_memtabs[i].size; in ihevce_coarse_me_get_mem_recs() 276 as_memtabs[i].size = ps_mem_tab[i].i4_mem_size; in ihevce_coarse_me_init()
|
D | ihevce_ipe_pass.c | 330 ps_mem_tab[IPE_CTXT].i4_mem_size = sizeof(ihevce_ipe_master_ctxt_t); 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()
|
D | ihevce_me_pass.c | 381 ps_mem_tab[i].i4_mem_size = as_memtabs[i].size; in ihevce_me_get_mem_recs() 462 as_memtabs[i].size = ps_mem_tab[i].i4_mem_size; in ihevce_me_init()
|
D | ihevce_decomp_pre_intra_pass.c | 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() 1702 ps_mem_tab[DECOMP_PRE_INTRA_THRDS_CTXT].i4_mem_size = 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()
|
D | ihevce_rc_interface.c | 287 ps_mem_tab[RC_CTXT].i4_mem_size = sizeof(rc_context_t); 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() 301 ps_mem_tab[RC_QP_TO_QSCALE_Q_FACTOR].i4_mem_size = (i4_temp_size + 1) * 4; in ihevce_rc_get_mem_recs() 310 ps_mem_tab[RC_QSCALE_TO_QP].i4_mem_size = (i4_temp_size + 1) * sizeof(UWORD32); in ihevce_rc_get_mem_recs() 315 ps_mem_tab[RC_MULTI_PASS_GOP_STAT].i4_mem_size = sizeof(gop_level_stat_t); in ihevce_rc_get_mem_recs() 327 ps_mem_tab[i + NUM_RC_MEM_RECS].i4_mem_size = as_rc_mem_tab[i].u4_size; in ihevce_rc_get_mem_recs()
|
D | ihevce_lap_interface.c | 128 ps_mem_tab[LAP_CTXT].i4_mem_size = sizeof(lap_struct_t); 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()
|
D | hme_interface.c | 2591 ps_mem_tab[i].i4_mem_size = 4; in hme_coarse_dep_mngr_alloc()
|