예제 #1
0
Int32 SclrLink_getFullFrames(Utils_TskHndl * pTsk, UInt16 queId,
                             FVID2_FrameList * pFrameList)
{
    SclrLink_Obj *pObj = (SclrLink_Obj *) pTsk->appData;

    return Utils_bufGetFull(&pObj->outObj.bufOutQue, pFrameList, BIOS_NO_WAIT);
}
예제 #2
0
Int32 MpSclrLink_getFullFrames(Utils_TskHndl * pTsk, UInt16 queId,
                             FVID2_FrameList * pFrameList)
{
    Int32 status;

    MpSclrLink_Obj *pObj = (MpSclrLink_Obj *) pTsk->appData;
    status =  Utils_bufGetFull(&pObj->linkBufQ, pFrameList, BIOS_NO_WAIT);
    return status;
}
예제 #3
0
Int32 DupLink_getFullFrames(Utils_TskHndl * pTsk, UInt16 queId,
                            FVID2_FrameList * pFrameList)
{
    DupLink_Obj *pObj = (DupLink_Obj *) pTsk->appData;

    UTILS_assert(queId < DUP_LINK_MAX_OUT_QUE);
    UTILS_assert(queId < pObj->createArgs.numOutQue);

    return Utils_bufGetFull(&pObj->outFrameQue[queId], pFrameList,
                            BIOS_NO_WAIT);
}
예제 #4
0
Int32 AlgLink_getFullFrames(Utils_TskHndl * pTsk, UInt16 queId,
                           FVID2_FrameList * pBufList)
{
    AlgLink_Obj *pObj = (AlgLink_Obj *) pTsk->appData;
    Int32 status = FVID2_EFAIL;

    pBufList->numFrames = 0;

    if(queId==ALG_LINK_FRAMES_OUT_QUE)
    {
        status = Utils_bufGetFull(&pObj->framesOutBufQue,
                    pBufList,
                    BIOS_NO_WAIT
                    );
    }

    return status;
}