/external/libavc/common/ |
D | ih264_buf_mgr.c | 107 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 …]
|
D | ih264_buf_mgr.h | 83 IH264_ERROR_T ih264_buf_mgr_free(buf_mgr_t *ps_buf_mgr); 89 IH264_ERROR_T ih264_buf_mgr_add(buf_mgr_t *ps_buf_mgr, 94 void* ih264_buf_mgr_get_next_free(buf_mgr_t *ps_buf_mgr, WORD32 *pi4_id); 97 IH264_ERROR_T ih264_buf_mgr_check_free(buf_mgr_t *ps_buf_mgr); 100 IH264_ERROR_T ih264_buf_mgr_release(buf_mgr_t *ps_buf_mgr, 105 IH264_ERROR_T ih264_buf_mgr_set_status(buf_mgr_t *ps_buf_mgr, 110 WORD32 ih264_buf_mgr_get_status(buf_mgr_t *ps_buf_mgr, WORD32 id); 113 void* ih264_buf_mgr_get_buf(buf_mgr_t *ps_buf_mgr, WORD32 id); 115 WORD32 ih264_buf_mgr_get_bufid(buf_mgr_t *ps_buf_mgr, void *pv_buf); 118 UWORD32 ih264_buf_mgr_get_num_active_buf(buf_mgr_t *ps_buf_mgr);
|
D | ih264_dpb_mgr.h | 171 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);
|
D | ih264_dpb_mgr.c | 1110 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/libhevc/common/ |
D | ihevc_buf_mgr.c | 75 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 …]
|
D | ihevc_buf_mgr.h | 68 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);
|
D | ihevc_dpb_mgr.c | 197 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()
|
D | ihevc_dpb_mgr.h | 96 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/libmpeg2/common/ |
D | impeg2_buf_mgr.c | 77 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() 116 buf_mgr_t *ps_buf_mgr, in impeg2_buf_mgr_add() argument 122 if(i4_buf_id >= (WORD32)ps_buf_mgr->u4_max_buf_cnt) in impeg2_buf_mgr_add() 128 if((ps_buf_mgr->apv_ptr[i4_buf_id] != NULL) && in impeg2_buf_mgr_add() 129 (ps_buf_mgr->apv_ptr[i4_buf_id] != pv_ptr)) in impeg2_buf_mgr_add() 133 ps_buf_mgr->apv_ptr[i4_buf_id] = pv_ptr; in impeg2_buf_mgr_add() [all …]
|
D | impeg2_buf_mgr.h | 70 buf_mgr_t *ps_buf_mgr); 74 buf_mgr_t *ps_buf_mgr, 80 buf_mgr_t *ps_buf_mgr, 85 buf_mgr_t *ps_buf_mgr); 89 buf_mgr_t *ps_buf_mgr, 95 buf_mgr_t *ps_buf_mgr, 101 buf_mgr_t *ps_buf_mgr, 106 buf_mgr_t *ps_buf_mgr, 111 buf_mgr_t *ps_buf_mgr);
|