Home
last modified time | relevance | path

Searched refs:pv_base (Results 1 – 25 of 28) sorted by relevance

12

/external/libhevc/encoder/
Dihevce_memory_init.c606 if(s_memtab.pv_base == NULL) in ihevce_mem_manager_init()
612 ps_memtab = (iv_mem_rec_t *)s_memtab.pv_base; in ihevce_mem_manager_init()
1511 pu1_mem = (UWORD8 *)ps_memtab[ctr].pv_base; in ihevce_mem_manager_init()
1686 ps_enc_ctxt->as_pps[i].ps_tile = (tile_t *)ps_memtab->pv_base; in ihevce_mem_manager_init()
1694 pps_pic_bufs[i] = (recon_pic_buf_t **)ps_memtab->pv_base; in ihevce_mem_manager_init()
1701 ps_pic_bufs[i] = (recon_pic_buf_t *)ps_memtab->pv_base; in ihevce_mem_manager_init()
1708 pv_recon_buf[i] = ps_memtab->pv_base; in ihevce_mem_manager_init()
1712 pu1_subpel_buf = (UWORD8 *)ps_memtab->pv_base; in ihevce_mem_manager_init()
1716 ps_col_mv = (pu_col_mv_t *)ps_memtab->pv_base; in ihevce_mem_manager_init()
1721 pu1_col_mv_map = (UWORD8 *)ps_memtab->pv_base; in ihevce_mem_manager_init()
[all …]
Dmem_req_and_acq.h70 void *pv_base; /* Base pointer for allocated memory */ member
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()
Dihevce_buffer_que.c128 ps_buf_que = (buf_que_t *)ps_mem_tab[BUFFER_QUE_CTXT].pv_base; in ihevce_buff_que_init()
131 ps_buf_que->pi4_num_users = (WORD32 *)ps_mem_tab[BUFFER_QUE_NUM_USER_MEM].pv_base; in ihevce_buff_que_init()
133 ps_buf_que->pi4_produced_sts = (WORD32 *)ps_mem_tab[BUFFER_QUE_PROD_STS_MEM].pv_base; in ihevce_buff_que_init()
135 ps_buf_que->pu4_enc_seq = (UWORD32 *)ps_mem_tab[BUFFER_QUE_ENC_SEQ_MEM].pv_base; in ihevce_buff_que_init()
137 ps_buf_que->pu4_que_seq = (UWORD32 *)ps_mem_tab[BUFFER_QUE_QUED_SEQ_MEM].pv_base; in ihevce_buff_que_init()
Dihevce_hle_interface.c218 if(s_memtab.pv_base == NULL) in ihevce_hle_interface_create()
222 ps_enc_static_cfg_params = (ihevce_static_cfg_params_t *)s_memtab.pv_base; in ihevce_hle_interface_create()
281 if(s_memtab.pv_base == NULL) in ihevce_hle_interface_create()
286 pi4_active_res_id = (WORD32 *)s_memtab.pv_base; in ihevce_hle_interface_create()
301 if(s_memtab.pv_base == NULL) in ihevce_hle_interface_create()
306 ps_enc_ctxt = (enc_ctxt_t *)s_memtab.pv_base; in ihevce_hle_interface_create()
1180 if(s_memtab.pv_base == NULL) in ihevce_hle_interface_thrd()
1185 ps_lap_interface_ctxt = (lap_intface_t *)s_memtab.pv_base; in ihevce_hle_interface_thrd()
1224 if(s_memtab.pv_base == NULL) in ihevce_hle_interface_thrd()
1229 aps_entropy_thrd_ctxt[res_ctr][ctr] = (frm_proc_thrd_ctxt_t *)s_memtab.pv_base; in ihevce_hle_interface_thrd()
[all …]
Dihevce_dep_mngr.c441 ps_dep_mngr_state = (dep_mngr_state_t *)ps_mem_tab[DEP_MNGR_CTXT].pv_base; in ihevce_dmgr_init()
444 ps_dep_mngr_state->ppv_thrd_sem_handles = (void **)ps_mem_tab[DEP_MNGR_SEM_HANDLE_MEM].pv_base; in ihevce_dmgr_init()
445 ps_dep_mngr_state->pi4_wait_thrd_id = (WORD32 *)ps_mem_tab[DEP_MNGR_WAIT_THRD_ID_MEM].pv_base; in ihevce_dmgr_init()
446 ps_dep_mngr_state->pv_units_prcsd_in_row = ps_mem_tab[DEP_MNGR_UNITS_PRCSD_MEM].pv_base; in ihevce_dmgr_init()
522 ps_dep_mngr_state = (dep_mngr_state_t *)ps_mem_tab[DEP_MNGR_CTXT].pv_base; in ihevce_dmgr_map_init()
530 ps_dep_mngr_state->pv_units_prcsd_in_row = ps_mem_tab[DEP_MNGR_UNITS_PRCSD_MEM].pv_base; in ihevce_dmgr_map_init()
531 ps_dep_mngr_state->pi4_wait_thrd_id = (WORD32 *)ps_mem_tab[DEP_MNGR_WAIT_THRD_ID_MEM].pv_base; in ihevce_dmgr_map_init()
532 ps_dep_mngr_state->ppv_thrd_sem_handles = (void **)ps_mem_tab[DEP_MNGR_SEM_HANDLE_MEM].pv_base; in ihevce_dmgr_map_init()
Dihevce_common_utils.c666 return (s_mem_tab.pv_base); in ihevce_osal_alloc()
698 s_mem_tab.pv_base = pv_mem; in ihevce_osal_free()
745 if(NULL == s_mem_tab.pv_base) in ihevce_osal_init()
753 pv_osal_handle = s_mem_tab.pv_base; in ihevce_osal_init()
821 s_mem_tab.pv_base = pv_osal_handle; in ihevce_osal_delete()
Dihevce_enc_loop_pass.c4315 ps_master_ctxt = (ihevce_enc_loop_master_ctxt_t *)ps_mem_tab[ENC_LOOP_CTXT].pv_base; in ihevce_enc_loop_init()
4319 ps_ctxt = (ihevce_enc_loop_ctxt_t *)ps_mem_tab[ENC_LOOP_THRDS_CTXT].pv_base; in ihevce_enc_loop_init()
4320 ps_enc_loop_rc_params = (enc_loop_rc_params_t *)ps_mem_tab[ENC_LOOP_RC_PARAMS].pv_base; in ihevce_enc_loop_init()
4359 pu1_deblk_base = (UWORD8 *)ps_mem_tab[ENC_LOOP_DEBLOCKING].pv_base; in ihevce_enc_loop_init()
4363 pu1_sao_base = (UWORD8 *)ps_mem_tab[ENC_LOOP_SAO].pv_base; in ihevce_enc_loop_init()
4399 ps_ctxt->pi2_scal_mat = (WORD16 *)ps_mem_tab[ENC_LOOP_SCALE_MAT].pv_base; in ihevce_enc_loop_init()
4401 ps_ctxt->pi2_rescal_mat = (WORD16 *)ps_mem_tab[ENC_LOOP_RESCALE_MAT].pv_base; in ihevce_enc_loop_init()
4439 (UWORD8 *)ps_mem_tab[ENC_LOOP_TOP_LUMA].pv_base + 1 + in ihevce_enc_loop_init()
4449 (UWORD8 *)ps_mem_tab[ENC_LOOP_TOP_CHROMA].pv_base + 2 + in ihevce_enc_loop_init()
4466 (nbr_4x4_t *)ps_mem_tab[ENC_LOOP_TOP_NBR4X4].pv_base + 1 + in ihevce_enc_loop_init()
[all …]
Dihevce_entropy_interface.c232 ps_entropy_ctxt = (entropy_context_t *)ps_mem_tab[ENTROPY_CTXT].pv_base; in ihevce_entropy_init()
235 ps_entropy_ctxt->pu1_skip_cu_top = (UWORD8 *)ps_mem_tab[ENTROPY_TOP_SKIP_FLAGS].pv_base; in ihevce_entropy_init()
236 ps_entropy_ctxt->pu1_cu_depth_top = (UWORD8 *)ps_mem_tab[ENTROPY_TOP_CU_DEPTH].pv_base; in ihevce_entropy_init()
237 ps_entropy_ctxt->pv_dummy_out_buf = ps_mem_tab[ENTROPY_DUMMY_OUT_BUF].pv_base; in ihevce_entropy_init()
Dihevce_plugin.c137 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()
155 if(ps_memtab->pv_base == NULL) in mem_mngr_alloc()
212 _aligned_free(ps_memtab->pv_base); in mem_mngr_free()
214 free(ps_memtab->pv_base); in mem_mngr_free()
884 pu1_tmp_buf = (UWORD8 *)ps_ctxt->s_memtab_inp_data_buf.pv_base; in ihevce_init()
943 (UWORD8 *)ps_ctxt->as_memtab_out_data_buf[i4_res_id][i4_br_id].pv_base; in ihevce_init()
1034 pu1_tmp_buf = (UWORD8 *)ps_ctxt->s_memtab_inp_sync_ctrl_buf.pv_base; in ihevce_init()
Dihevce_tile_interface.c472 ps_tile_params_base = (ihevce_tile_params_t *)ps_memtab->pv_base; in ihevce_tiles_mem_init()
507 pi4_tile_id_map_base = (WORD32 *)ps_memtab->pv_base; in ihevce_tiles_mem_init()
Ditt_video_api.h189 void *pv_base; member
Dihevce_ipe_pass.c381 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()
Dihevce_rc_interface.c366 ps_rc_ctxt = (rc_context_t *)ps_mem_tab[RC_CTXT].pv_base; in ihevce_rc_mem_init()
380 ps_rc_quant->pi4_qscale_to_qp = (WORD32 *)ps_mem_tab[RC_QSCALE_TO_QP].pv_base; in ihevce_rc_mem_init()
382 ps_rc_quant->pi4_qp_to_qscale_q_factor = (WORD32 *)ps_mem_tab[RC_QP_TO_QSCALE_Q_FACTOR].pv_base; in ihevce_rc_mem_init()
384 ps_rc_quant->pi4_qp_to_qscale = (WORD32 *)ps_mem_tab[RC_QP_TO_QSCALE].pv_base; in ihevce_rc_mem_init()
386 ps_rc_ctxt->pv_gop_stat = (void *)ps_mem_tab[RC_MULTI_PASS_GOP_STAT].pv_base; in ihevce_rc_mem_init()
396 as_rc_mem_tab[i].pv_base = ps_mem_tab[i + NUM_RC_MEM_RECS].pv_base; in ihevce_rc_mem_init()
Dihevce_decomp_pre_intra_pass.c1729 ihevce_decomp_pre_intra_master_ctxt_t *ps_mstr_ctxt = ps_mem_tab[DECOMP_PRE_INTRA_CTXT].pv_base; in ihevce_decomp_pre_intra_init()
1730 ihevce_decomp_pre_intra_ctxt_t *ps_ctxt = ps_mem_tab[DECOMP_PRE_INTRA_THRDS_CTXT].pv_base; in ihevce_decomp_pre_intra_init()
1731 ihevce_ed_ctxt_t *ps_ed_ctxt = ps_mem_tab[DECOMP_PRE_INTRA_ED_CTXT].pv_base; in ihevce_decomp_pre_intra_init()
/external/libavc/encoder/
Dih264e_rc_mem_interface.c196 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()
297 rc_memtab->pv_base = ps_mem->pv_base; in ih264e_map_itt_mem_rec_to_rc_mem_rec()
Dih264e_api.c673 if (ps_mem_rec[i].pv_base == NULL) in api_check_struct_sanity()
687 start[0] = (ps_mem_rec[0].pv_base); in api_check_struct_sanity()
688 end[0] = ((UWORD8 *) ps_mem_rec[0].pv_base) in api_check_struct_sanity()
694 start[i] = (ps_mem_rec[i].pv_base); in api_check_struct_sanity()
695 end[i] = ((UWORD8 *) ps_mem_rec[i].pv_base) in api_check_struct_sanity()
4139 ps_codec_obj->pv_codec_handle = ps_mem_rec->pv_base; in ih264e_init_mem_rec()
4145 ps_cabac = (cabac_ctxt_t *)(ps_mem_rec->pv_base); in ih264e_init_mem_rec()
4151 ps_mb_map_ctxt_inc = (mb_info_ctxt_t *)(ps_mem_rec->pv_base); in ih264e_init_mem_rec()
4214 ps_codec->ps_mem_rec_backup = (iv_mem_rec_t *) ps_mem_rec->pv_base; in ih264e_init_mem_rec()
4230 UWORD8 *pu1_buf = ps_mem_rec->pv_base; in ih264e_init_mem_rec()
[all …]
Dirc_mem_req_and_acq.h115 void *pv_base; member
Dih264e_rc_mem_interface.h115 void *pv_base; member
Div2.h223 void *pv_base; member
/external/libmpeg2/decoder/
Dimpeg2d_api_main.c1674 memset(ps_mem_rec->pv_base,0,ps_mem_rec->u4_mem_size); in impeg2d_api_init()
1683 ps_dec_handle = ps_mem_rec->pv_base; in impeg2d_api_init()
1692 ps_dec_state_multi_core = ps_mem_rec->pv_base; in impeg2d_api_init()
1710 ps_dec_state = ps_mem_rec->pv_base; in impeg2d_api_init()
1722 ps_dec_state->pv_codec_thread_handle = ps_mem_rec->pv_base; in impeg2d_api_init()
1729 pv = ps_mem_rec->pv_base; in impeg2d_api_init()
1802 ps_dec_state->pv_stack_cntxt = ps_mem_rec->pv_base; in impeg2d_api_init()
1817 ps_dec_state->pv_pic_buf_mg = ps_mem_rec->pv_base; in impeg2d_api_init()
1818 ps_dec_state->pv_pic_buf_base = (UWORD8 *)ps_mem_rec->pv_base + sizeof(buf_mgr_t); in impeg2d_api_init()
1888 memset(ps_frm_buf->pv_base, 128, ps_frm_buf->u4_mem_size); in impeg2d_api_init()
[all …]
/external/libmpeg2/fuzzer/
Dmpeg2_dec_fuzzer.cpp157 if (0 != posix_memalign(&ps_mem_rec->pv_base, ps_mem_rec->u4_mem_alignment, in createCodec()
162 if (ps_mem_rec->pv_base == NULL) { in createCodec()
169 mCodec = (iv_obj_t *)(iv_obj_t *)mMemRecords[0].pv_base; in createCodec()
212 free(ps_mem_rec->pv_base); in deleteCodec()
/external/libmpeg2/common/
Div.h196 void *pv_base; member
/external/libavc/fuzzer/
Davc_enc_fuzzer.cpp251 psMemRec->pv_base = nullptr; in initEncoder()
283 posix_memalign(&psMemRec->pv_base, psMemRec->u4_mem_alignment, psMemRec->u4_mem_size); in initEncoder()
284 if (!psMemRec->pv_base) { in initEncoder()
294 mCodecCtx = (iv_obj_t *)mMemRecords[0].pv_base; in initEncoder()
1038 free(ps_mem_rec->pv_base); in deInitEncoder()
/external/libavc/test/encoder/
Dmain.c2548 ps_mem_rec->pv_base = NULL; in h264enc_main()
2600 ps_mem_rec->pv_base = ih264a_aligned_malloc(ps_mem_rec->u4_mem_alignment, in h264enc_main()
2602 if(ps_mem_rec->pv_base == NULL) in h264enc_main()
2623 ps_enc = s_app_ctxt.ps_mem_rec[0].pv_base; in h264enc_main()
2906 ih264a_aligned_free(ps_mem_rec->pv_base); in h264enc_main()
/external/libmpeg2/test/decoder/
Dmain.c2166 ps_mem_rec->pv_base = app_aligned_malloc(ps_mem_rec->u4_mem_alignment, in vdec_main()
2168 if(ps_mem_rec->pv_base == NULL) in vdec_main()
2205 codec_obj = (iv_obj_t *)mem_tab[0].pv_base; in vdec_main()
3146 app_aligned_free(ps_mem_rec->pv_base); in vdec_main()

12