Home
last modified time | relevance | path

Searched refs:MAX_THREADS_NUM (Results 1 – 11 of 11) sorted by relevance

/third_party/openh264/codec/encoder/core/inc/
Dmt_defs.h71 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 buffer
85 bool bThreadBsBufferUsage[MAX_THREADS_NUM];
Dsvc_enc_frame.h86 SSliceBufferInfo sSliceBufferInfo[MAX_THREADS_NUM];
117 int32_t NumSliceCodedOfPartition[MAX_THREADS_NUM]; // for dynamic slicing mode
118 int32_t LastCodedMbIdxOfPartition[MAX_THREADS_NUM]; // for dynamic slicing mode
119 int32_t FirstMbIdxOfPartition[MAX_THREADS_NUM]; // for dynamic slicing mode
120 int32_t EndMbIdxOfPartition[MAX_THREADS_NUM]; // for dynamic slicing mode
Dwels_const.h69 #define MAX_THREADS_NUM 4 // assume to support up to 4 logical cores(threads) macro
Dencoder_context.h237 uint8_t* pDynamicBsBuffer[MAX_THREADS_NUM];
/third_party/openh264/codec/encoder/core/src/
Dslice_multi_threading.cpp179 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()
Dwels_task_encoder.cpp88 for (int32_t k = 0; k < MAX_THREADS_NUM; k++) { in QueryEmptyThread()
Dsvc_enc_slice_segment.cpp645 assert (iCountSliceNumInFrame <= MAX_THREADS_NUM); in DynamicAdjustSlicePEncCtxAll()
Dencoder_ext.cpp944 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()
Dsvc_encode_slice.cpp1062 for (; iIdx < MAX_THREADS_NUM; iIdx++) { in InitSliceThreadInfo()
1468 int32_t aiPartitionOffset[MAX_THREADS_NUM] = {0}; in ReOrderSliceInLayer()
/third_party/openh264/test/encoder/
DEncUT_SliceBufferReallocate.cpp22 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()
/third_party/openh264/codec/console/enc/src/
Dwelsenc.cpp311 else if (pSvcParam.iMultipleThreadIdc > MAX_THREADS_NUM) in ParseConfig()
312 pSvcParam.iMultipleThreadIdc = MAX_THREADS_NUM; in ParseConfig()