Lines Matching refs:i4_buf_id
118 WORD32 i4_buf_id) 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()
253 WORD32 i4_buf_id, in impeg2_buf_mgr_release() argument
257 if(i4_buf_id >= (WORD32)ps_buf_mgr->u4_max_buf_cnt) in impeg2_buf_mgr_release()
262 if(0 == (ps_buf_mgr->au4_status[i4_buf_id] & u4_mask)) in impeg2_buf_mgr_release()
267 ps_buf_mgr->au4_status[i4_buf_id] &= ~u4_mask; in impeg2_buf_mgr_release()
270 if(ps_buf_mgr->au4_status[i4_buf_id] == 1) in impeg2_buf_mgr_release()
272 ps_buf_mgr->au4_status[i4_buf_id] = 0; in impeg2_buf_mgr_release()
309 WORD32 i4_buf_id, in impeg2_buf_mgr_set_status() argument
312 if(i4_buf_id >= (WORD32)ps_buf_mgr->u4_max_buf_cnt) in impeg2_buf_mgr_set_status()
318 if((ps_buf_mgr->au4_status[i4_buf_id] & u4_mask) != 0) in impeg2_buf_mgr_set_status()
323 ps_buf_mgr->au4_status[i4_buf_id] |= u4_mask; in impeg2_buf_mgr_set_status()
352 WORD32 i4_buf_id) in impeg2_buf_mgr_get_status() argument
354 return ps_buf_mgr->au4_status[i4_buf_id]; in impeg2_buf_mgr_get_status()
382 WORD32 i4_buf_id) in impeg2_buf_mgr_get_buf() argument
384 return ps_buf_mgr->apv_ptr[i4_buf_id]; in impeg2_buf_mgr_get_buf()