Home
last modified time | relevance | path

Searched refs:CmdBufferPool (Results 1 – 6 of 6) sorted by relevance

/dports/multimedia/cmrt/cmrt-1.0.6/src/
H A Dos_interface.c248 GENOS_ZeroMemory(&pOsContext->CmdBufferPool, in Ctx_InitCmdBufferPool()
250 pOsContext->CmdBufferPool.iFetch = 0; in Ctx_InitCmdBufferPool()
267 cmd_bo = pOsContext->CmdBufferPool.pCmd_bo[index]; in Ctx_WaitAndReleaseCmdBuffer()
271 pOsContext->CmdBufferPool.pCmd_bo[index] = NULL; in Ctx_WaitAndReleaseCmdBuffer()
304 index = pOsContext->CmdBufferPool.iFetch; in Ctx_WaitForAvailableCmdBo()
322 index = pOsContext->CmdBufferPool.iFetch; in Ctx_InsertCmdBufferToPool()
324 pOsContext->CmdBufferPool.pCmd_bo[index] = bo; in Ctx_InsertCmdBufferToPool()
326 pOsContext->CmdBufferPool.iFetch++; in Ctx_InsertCmdBufferToPool()
327 if (pOsContext->CmdBufferPool.iFetch >= MAX_CMD_BUF_NUM) { in Ctx_InsertCmdBufferToPool()
328 pOsContext->CmdBufferPool.iFetch = 0; in Ctx_InsertCmdBufferToPool()
H A Dos_interface.h369 CMD_BUFFER_BO_POOL CmdBufferPool; member
/dports/multimedia/cmrtlib/media-driver-intel-media-20.1.1/media_driver/linux/common/os/
H A Dmos_os_specific.c381 MOS_ZeroMemory(&pOsContext->CmdBufferPool, sizeof(CMD_BUFFER_BO_POOL)); in Linux_InitCmdBufferPool()
382 pOsContext->CmdBufferPool.iFetch = 0; in Linux_InitCmdBufferPool()
418 cmd_bo = pOsContext->CmdBufferPool.pCmd_bo[index]; in Linux_WaitAndReleaseCmdBuffer()
423 pOsContext->CmdBufferPool.pCmd_bo[index] = nullptr; in Linux_WaitAndReleaseCmdBuffer()
478 index = pOsContext->CmdBufferPool.iFetch; in Linux_WaitForAvailableCmdBo()
510 index = pOsContext->CmdBufferPool.iFetch; in Linux_InsertCmdBufferToPool()
512 pOsContext->CmdBufferPool.pCmd_bo[index] = pCmdBuffer->OsResource.bo; in Linux_InsertCmdBufferToPool()
515 pOsContext->CmdBufferPool.iFetch++; in Linux_InsertCmdBufferToPool()
516 if (pOsContext->CmdBufferPool.iFetch >= MAX_CMD_BUF_NUM) in Linux_InsertCmdBufferToPool()
518 pOsContext->CmdBufferPool.iFetch = 0; in Linux_InsertCmdBufferToPool()
H A Dmos_os_specific.h528 CMD_BUFFER_BO_POOL CmdBufferPool; member
/dports/multimedia/libva-intel-media-driver/media-driver-intel-media-22.1.1/media_driver/linux/common/os/
H A Dmos_os_specific.c403 MOS_ZeroMemory(&pOsContext->CmdBufferPool, sizeof(CMD_BUFFER_BO_POOL)); in Linux_InitCmdBufferPool()
404 pOsContext->CmdBufferPool.iFetch = 0; in Linux_InitCmdBufferPool()
440 cmd_bo = pOsContext->CmdBufferPool.pCmd_bo[index]; in Linux_WaitAndReleaseCmdBuffer()
445 pOsContext->CmdBufferPool.pCmd_bo[index] = nullptr; in Linux_WaitAndReleaseCmdBuffer()
500 index = pOsContext->CmdBufferPool.iFetch; in Linux_WaitForAvailableCmdBo()
532 index = pOsContext->CmdBufferPool.iFetch; in Linux_InsertCmdBufferToPool()
534 pOsContext->CmdBufferPool.pCmd_bo[index] = pCmdBuffer->OsResource.bo; in Linux_InsertCmdBufferToPool()
537 pOsContext->CmdBufferPool.iFetch++; in Linux_InsertCmdBufferToPool()
538 if (pOsContext->CmdBufferPool.iFetch >= MAX_CMD_BUF_NUM) in Linux_InsertCmdBufferToPool()
540 pOsContext->CmdBufferPool.iFetch = 0; in Linux_InsertCmdBufferToPool()
/dports/multimedia/libva-intel-media-driver/media-driver-intel-media-22.1.1/media_common/linux/common/os/
H A Dmos_os_specific.h535 CMD_BUFFER_BO_POOL CmdBufferPool; member