Home | History | Annotate | Download | only in common

Lines Matching refs:buf_id

290                                 WORD32 buf_id)
298 if(buf_id >= ps_buf_mgr->i4_max_buf_cnt)
307 if((ps_buf_mgr->apv_ptr[buf_id] != NULL) &&
308 (ps_buf_mgr->apv_ptr[buf_id] !=pv_ptr))
315 ps_buf_mgr->apv_ptr[buf_id] = pv_ptr;
433 * @param[in] buf_id
447 WORD32 buf_id,
456 if(buf_id >= ps_buf_mgr->i4_active_buf_cnt)
463 ps_buf_mgr->au4_status[buf_id] &= ~mask;
467 if(ps_buf_mgr->au4_status[buf_id] == 1)
469 ps_buf_mgr->au4_status[buf_id] = 0;
494 * @param[in] buf_id
509 WORD32 buf_id,
516 if(buf_id >= ps_buf_mgr->i4_active_buf_cnt)
524 if((ps_buf_mgr->au4_status[buf_id] & mask) != 0)
531 ps_buf_mgr->au4_status[buf_id] |= mask;
551 * @param[in] buf_id
561 WORD32 ih264_buf_mgr_get_status( buf_mgr_t *ps_buf_mgr, WORD32 buf_id )
569 status = ps_buf_mgr->au4_status[buf_id];
590 * @param[in] buf_id
600 void* ih264_buf_mgr_get_buf(buf_mgr_t *ps_buf_mgr, WORD32 buf_id)
607 pv_buf = ps_buf_mgr->apv_ptr[buf_id];
642 WORD32 buf_id = -1;
651 buf_id = id;
658 return buf_id;