Searched refs:MAX_THREADS_NUM (Results 1 – 11 of 11) sorted by relevance
71 WELS_THREAD_HANDLE pThreadHandles[MAX_THREADS_NUM];// thread handles, [iThreadIdx]72 WELS_EVENT pSliceCodedEvent[MAX_THREADS_NUM];// events for slice coded state, …74 WELS_EVENT pReadySliceCodingEvent[MAX_THREADS_NUM]; // events for slice…75 WELS_EVENT pUpdateMbListEvent[MAX_THREADS_NUM]; // signal to update…76 WELS_EVENT pFinUpdateMbListEvent[MAX_THREADS_NUM]; // signal to indicate finis…84 uint8_t* pThreadBsBuffer[MAX_THREADS_NUM]; //actual memory for slice buffer85 bool bThreadBsBufferUsage[MAX_THREADS_NUM];
86 SSliceBufferInfo sSliceBufferInfo[MAX_THREADS_NUM];117 int32_t NumSliceCodedOfPartition[MAX_THREADS_NUM]; // for dynamic slicing mode118 int32_t LastCodedMbIdxOfPartition[MAX_THREADS_NUM]; // for dynamic slicing mode119 int32_t FirstMbIdxOfPartition[MAX_THREADS_NUM]; // for dynamic slicing mode120 int32_t EndMbIdxOfPartition[MAX_THREADS_NUM]; // for dynamic slicing mode
69 #define MAX_THREADS_NUM 4 // assume to support up to 4 logical cores(threads) macro
237 uint8_t* pDynamicBsBuffer[MAX_THREADS_NUM];
179 int32_t iRunLen[MAX_THREADS_NUM] = {0}; in DynamicAdjustSlicing()339 …2_t iThreadBufferNum = WELS_MIN ((*ppCtx)->pTaskManage->GetThreadPoolThreadNum(), MAX_THREADS_NUM); in RequestMtResource()406 for (int i = 0; i < MAX_THREADS_NUM; i++) { in ReleaseMtResource()412 memset (&pSmt->bThreadBsBufferUsage, 0, MAX_THREADS_NUM * sizeof (bool)); in ReleaseMtResource()
88 for (int32_t k = 0; k < MAX_THREADS_NUM; k++) { in QueryEmptyThread()
645 assert (iCountSliceNumInFrame <= MAX_THREADS_NUM); in DynamicAdjustSlicePEncCtxAll()
944 for (; iIdx < MAX_THREADS_NUM; iIdx ++) { in FreeSliceInLayer()1643 for (int32_t iIdx = 0; iIdx < MAX_THREADS_NUM; iIdx++) { in RequestMemorySvc()1851 for (int32_t iIdx = 0; iIdx < MAX_THREADS_NUM; iIdx++) { in FreeMemorySvc()2224 …odingParam->iMultipleThreadIdc = WELS_CLIP3 (pCodingParam->iMultipleThreadIdc, 1, MAX_THREADS_NUM); in GetMultipleThreadIdc()2466 while (i < MAX_THREADS_NUM) { in UpdateSlicepEncCtxWithPartition()
1062 for (; iIdx < MAX_THREADS_NUM; iIdx++) { in InitSliceThreadInfo()1468 int32_t aiPartitionOffset[MAX_THREADS_NUM] = {0}; in ReOrderSliceInLayer()
22 int32_t aiThrdList[MAX_THREADS_NUM] = { -1 }; in RandAvailableThread()88 for (int32_t iPartIdx = iPartNum; iPartIdx < MAX_THREADS_NUM; iPartIdx++) { in SetPartitonMBNum()208 pCtx->pSvcParam->iMultipleThreadIdc = (rand() % MAX_THREADS_NUM) + 1; in InitParam()
311 else if (pSvcParam.iMultipleThreadIdc > MAX_THREADS_NUM) in ParseConfig()312 pSvcParam.iMultipleThreadIdc = MAX_THREADS_NUM; in ParseConfig()