Lines Matching refs:ps_disp_mgr
67 disp_mgr_t *ps_disp_mgr) in impeg2_disp_mgr_init() argument
74 ps_disp_mgr->apv_ptr[id] = NULL; in impeg2_disp_mgr_init()
77 ps_disp_mgr->i4_wr_idx = 0; in impeg2_disp_mgr_init()
78 ps_disp_mgr->i4_rd_idx = 0; in impeg2_disp_mgr_init()
110 WORD32 impeg2_disp_mgr_add(disp_mgr_t *ps_disp_mgr, in impeg2_disp_mgr_add() argument
117 id = ps_disp_mgr->i4_wr_idx % DISP_MGR_MAX_CNT; in impeg2_disp_mgr_add()
119 ps_disp_mgr->apv_ptr[id] = pv_ptr; in impeg2_disp_mgr_add()
120 ps_disp_mgr->ai4_buf_id[id] = i4_buf_id; in impeg2_disp_mgr_add()
121 ps_disp_mgr->i4_wr_idx++; in impeg2_disp_mgr_add()
149 void* impeg2_disp_mgr_get(disp_mgr_t *ps_disp_mgr, WORD32 *pi4_buf_id) in impeg2_disp_mgr_get() argument
155 if(ps_disp_mgr->i4_rd_idx < ps_disp_mgr->i4_wr_idx) in impeg2_disp_mgr_get()
157 id = ps_disp_mgr->i4_rd_idx % DISP_MGR_MAX_CNT; in impeg2_disp_mgr_get()
158 if(NULL == ps_disp_mgr->apv_ptr[id]) in impeg2_disp_mgr_get()
163 *pi4_buf_id = ps_disp_mgr->ai4_buf_id[id]; in impeg2_disp_mgr_get()
165 ps_disp_mgr->i4_rd_idx++; in impeg2_disp_mgr_get()
167 return ps_disp_mgr->apv_ptr[id]; in impeg2_disp_mgr_get()