Home
last modified time | relevance | path

Searched refs:ps_buf_mgr (Results 1 – 13 of 13) sorted by relevance

/external/libavc/common/
Dih264_buf_mgr.c107 IH264_ERROR_T ih264_buf_mgr_lock(buf_mgr_t *ps_buf_mgr) in ih264_buf_mgr_lock() argument
110 retval = ithread_mutex_lock(ps_buf_mgr->pv_mutex); in ih264_buf_mgr_lock()
137 IH264_ERROR_T ih264_buf_mgr_unlock(buf_mgr_t *ps_buf_mgr) in ih264_buf_mgr_unlock() argument
140 retval = ithread_mutex_unlock(ps_buf_mgr->pv_mutex); in ih264_buf_mgr_unlock()
170 IH264_ERROR_T ih264_buf_mgr_yield(buf_mgr_t *ps_buf_mgr) in ih264_buf_mgr_yield() argument
176 rettmp = ih264_buf_mgr_unlock(ps_buf_mgr); in ih264_buf_mgr_yield()
182 rettmp = ih264_buf_mgr_lock(ps_buf_mgr); in ih264_buf_mgr_yield()
206 IH264_ERROR_T ih264_buf_mgr_free(buf_mgr_t *ps_buf_mgr) in ih264_buf_mgr_free() argument
209 ret = ithread_mutex_destroy(ps_buf_mgr->pv_mutex); in ih264_buf_mgr_free()
241 buf_mgr_t *ps_buf_mgr; in ih264_buf_mgr_init() local
[all …]
Dih264_buf_mgr.h83 IH264_ERROR_T ih264_buf_mgr_free(buf_mgr_t *ps_buf_mgr);
92 IH264_ERROR_T ih264_buf_mgr_add(buf_mgr_t *ps_buf_mgr,
97 void* ih264_buf_mgr_get_next_free(buf_mgr_t *ps_buf_mgr, WORD32 *pi4_id);
100 IH264_ERROR_T ih264_buf_mgr_check_free(buf_mgr_t *ps_buf_mgr);
103 IH264_ERROR_T ih264_buf_mgr_release(buf_mgr_t *ps_buf_mgr,
108 IH264_ERROR_T ih264_buf_mgr_set_status(buf_mgr_t *ps_buf_mgr,
113 WORD32 ih264_buf_mgr_get_status(buf_mgr_t *ps_buf_mgr, WORD32 id);
116 void* ih264_buf_mgr_get_buf(buf_mgr_t *ps_buf_mgr, WORD32 id);
118 WORD32 ih264_buf_mgr_get_bufid(buf_mgr_t *ps_buf_mgr, void *pv_buf);
121 UWORD32 ih264_buf_mgr_get_num_active_buf(buf_mgr_t *ps_buf_mgr);
Dih264_dpb_mgr.h171 buf_mgr_t *ps_buf_mgr,
182 void ih264_dpb_mgr_reset(dpb_mgr_t *ps_dpb_mgr, buf_mgr_t *ps_buf_mgr);
184 void ih264_dpb_mgr_release_pics(buf_mgr_t *ps_buf_mgr, UWORD8 u1_disp_bufs);
Dih264_dpb_mgr.c1110 void ih264_dpb_mgr_reset(dpb_mgr_t *ps_dpb_mgr, buf_mgr_t *ps_buf_mgr) in ih264_dpb_mgr_reset() argument
1126 ih264_buf_mgr_release(ps_buf_mgr, ps_dpb_info[i].ps_pic_buf->i4_buf_id, in ih264_dpb_mgr_reset()
1162 void ih264_dpb_mgr_release_pics(buf_mgr_t *ps_buf_mgr, UWORD8 u1_disp_bufs) in ih264_dpb_mgr_release_pics() argument
1170 buf_status = ih264_buf_mgr_get_status(ps_buf_mgr, i); in ih264_dpb_mgr_release_pics()
1173 ih264_buf_mgr_release((buf_mgr_t *)ps_buf_mgr, i, BUF_MGR_REF); in ih264_dpb_mgr_release_pics()
/external/libmpeg2/common/
Dimpeg2_buf_mgr.c77 buf_mgr_t *ps_buf_mgr) in impeg2_buf_mgr_init() argument
81 ps_buf_mgr->u4_max_buf_cnt = BUF_MGR_MAX_CNT; in impeg2_buf_mgr_init()
82 ps_buf_mgr->u4_active_buf_cnt = 0; in impeg2_buf_mgr_init()
86 ps_buf_mgr->au4_status[id] = 0; in impeg2_buf_mgr_init()
87 ps_buf_mgr->apv_ptr[id] = NULL; in impeg2_buf_mgr_init()
112 buf_mgr_t *ps_buf_mgr) in impeg2_buf_mgr_reset() argument
116 ps_buf_mgr->u4_max_buf_cnt = BUF_MGR_MAX_CNT; in impeg2_buf_mgr_reset()
117 ps_buf_mgr->u4_active_buf_cnt = 0; in impeg2_buf_mgr_reset()
121 ps_buf_mgr->au4_status[id] = 0; in impeg2_buf_mgr_reset()
149 buf_mgr_t *ps_buf_mgr, in impeg2_buf_mgr_add() argument
[all …]
Dimpeg2_buf_mgr.h70 buf_mgr_t *ps_buf_mgr);
74 buf_mgr_t *ps_buf_mgr);
78 buf_mgr_t *ps_buf_mgr,
84 buf_mgr_t *ps_buf_mgr,
89 buf_mgr_t *ps_buf_mgr);
93 buf_mgr_t *ps_buf_mgr,
99 buf_mgr_t *ps_buf_mgr,
105 buf_mgr_t *ps_buf_mgr,
110 buf_mgr_t *ps_buf_mgr,
115 buf_mgr_t *ps_buf_mgr);
/external/libhevc/common/
Dihevc_buf_mgr.c75 buf_mgr_t *ps_buf_mgr) in ihevc_buf_mgr_init() argument
79 ps_buf_mgr->u4_max_buf_cnt = BUF_MGR_MAX_CNT; in ihevc_buf_mgr_init()
80 ps_buf_mgr->u4_active_buf_cnt = 0; in ihevc_buf_mgr_init()
84 ps_buf_mgr->au4_status[id] = 0; in ihevc_buf_mgr_init()
85 ps_buf_mgr->apv_ptr[id] = NULL; in ihevc_buf_mgr_init()
114 buf_mgr_t *ps_buf_mgr, in ihevc_buf_mgr_add() argument
120 if(buf_id >= (WORD32)ps_buf_mgr->u4_max_buf_cnt) in ihevc_buf_mgr_add()
126 if((ps_buf_mgr->apv_ptr[buf_id] != NULL) && in ihevc_buf_mgr_add()
127 (ps_buf_mgr->apv_ptr[buf_id] != pv_ptr)) in ihevc_buf_mgr_add()
131 ps_buf_mgr->apv_ptr[buf_id] = pv_ptr; in ihevc_buf_mgr_add()
[all …]
Dihevc_buf_mgr.h68 buf_mgr_t *ps_buf_mgr);
72 buf_mgr_t *ps_buf_mgr,
78 buf_mgr_t *ps_buf_mgr,
83 buf_mgr_t *ps_buf_mgr);
87 buf_mgr_t *ps_buf_mgr,
93 buf_mgr_t *ps_buf_mgr,
99 buf_mgr_t *ps_buf_mgr,
104 buf_mgr_t *ps_buf_mgr,
109 buf_mgr_t *ps_buf_mgr);
Dihevc_dpb_mgr.c197 buf_mgr_t *ps_buf_mgr, in ihevc_dpb_mgr_del_ref() argument
243 ihevc_buf_mgr_release((buf_mgr_t *)ps_buf_mgr, ps_unmark_node->ps_pic_buf->u1_buf_id, in ihevc_dpb_mgr_del_ref()
445 void ihevc_dpb_mgr_reset(dpb_mgr_t *ps_dpb_mgr, buf_mgr_t *ps_buf_mgr) in ihevc_dpb_mgr_reset() argument
459 ihevc_buf_mgr_release(ps_buf_mgr, ps_dpb_info[i].ps_pic_buf->u1_buf_id, in ihevc_dpb_mgr_reset()
493 void ihevc_dpb_mgr_release_pics(buf_mgr_t *ps_buf_mgr, UWORD8 u1_disp_bufs) in ihevc_dpb_mgr_release_pics() argument
500 buf_status = ihevc_buf_mgr_get_status(ps_buf_mgr, i); in ihevc_dpb_mgr_release_pics()
503 ihevc_buf_mgr_release((buf_mgr_t *)ps_buf_mgr, i, BUF_MGR_REF); in ihevc_dpb_mgr_release_pics()
Dihevc_dpb_mgr.h96 buf_mgr_t *ps_buf_mgr,
105 void ihevc_dpb_mgr_reset(dpb_mgr_t *ps_dpb_mgr, buf_mgr_t *ps_buf_mgr);
107 void ihevc_dpb_mgr_release_pics(buf_mgr_t *ps_buf_mgr, UWORD8 u1_disp_bufs);
/external/libhevc/encoder/
Dhme_utils.h578 void *hme_get_wkg_mem(buf_mgr_t *ps_buf_mgr, S32 i4_size);
580 void hme_reset_wkg_mem(buf_mgr_t *ps_buf_mgr);
582 void hme_init_wkg_mem(buf_mgr_t *ps_buf_mgr, U08 *pu1_mem, S32 size);
601 buf_mgr_t *ps_buf_mgr);
606 buf_mgr_t *ps_buf_mgr,
Dhme_utils.c193 void *hme_get_wkg_mem(buf_mgr_t *ps_buf_mgr, S32 i4_size) in hme_get_wkg_mem() argument
197 if(ps_buf_mgr->i4_used + i4_size > ps_buf_mgr->i4_total) in hme_get_wkg_mem()
200 pu1_mem = ps_buf_mgr->pu1_wkg_mem + ps_buf_mgr->i4_used; in hme_get_wkg_mem()
201 ps_buf_mgr->i4_used += i4_size; in hme_get_wkg_mem()
1943 void hme_reset_wkg_mem(buf_mgr_t *ps_buf_mgr) in hme_reset_wkg_mem() argument
1945 ps_buf_mgr->i4_used = 0; in hme_reset_wkg_mem()
1947 void hme_init_wkg_mem(buf_mgr_t *ps_buf_mgr, U08 *pu1_mem, S32 size) in hme_init_wkg_mem() argument
1949 ps_buf_mgr->pu1_wkg_mem = pu1_mem; in hme_init_wkg_mem()
1950 ps_buf_mgr->i4_total = size; in hme_init_wkg_mem()
1951 hme_reset_wkg_mem(ps_buf_mgr); in hme_init_wkg_mem()
Dhme_defs.h2120 buf_mgr_t *ps_buf_mgr; member