Searched refs:pEsHandleQueue (Results 1 – 1 of 1) sorted by relevance
365 …VDEC_ESMap_Table *pEsHandleQueue = (VDEC_ESMap_Table *) HAL_HVD_EX_GetVpuShmAddr(u8Idx, pVPUCodecA… in _MDrv_HVD_EX_TEE_AllocateEsBufHandle_() local366 const MS_U32 u32QueueSize = sizeof(pEsHandleQueue->stEntry) / sizeof(VDEC_ESMap_Entry); in _MDrv_HVD_EX_TEE_AllocateEsBufHandle_()370 if (pEsHandleQueue->u32WrPtr == pEsHandleQueue->u32RdPtr) in _MDrv_HVD_EX_TEE_AllocateEsBufHandle_()372 pEsHandleQueue->stEntry[pEsHandleQueue->u32WrPtr].u32Offset = 0; in _MDrv_HVD_EX_TEE_AllocateEsBufHandle_()373 pEsHandleQueue->stEntry[pEsHandleQueue->u32WrPtr].u32Length = u32ReqSize; in _MDrv_HVD_EX_TEE_AllocateEsBufHandle_()380 if (pEsHandleQueue->u32WrPtr == 0) in _MDrv_HVD_EX_TEE_AllocateEsBufHandle_()383 u32PrevWptr = pEsHandleQueue->u32WrPtr - 1; in _MDrv_HVD_EX_TEE_AllocateEsBufHandle_()385 if (pEsHandleQueue->u32WrPtr == pEsHandleQueue->u32RdPtr) in _MDrv_HVD_EX_TEE_AllocateEsBufHandle_()389 else if (pEsHandleQueue->u32WrPtr > pEsHandleQueue->u32RdPtr) in _MDrv_HVD_EX_TEE_AllocateEsBufHandle_()391 u32Vacancy = u32QueueSize - (pEsHandleQueue->u32WrPtr - pEsHandleQueue->u32RdPtr); in _MDrv_HVD_EX_TEE_AllocateEsBufHandle_()[all …]