Home
last modified time | relevance | path

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

/third_party/openh264/test/encoder/
DEncUT_SliceBufferReallocate.cpp28 if (NULL == pCtx || NULL == pCtx->pCurDqLayer || pCtx->iActiveThreadsNum <= 0) { in RandAvailableThread()
32 for (int32_t iThrdIdx = 0; iThrdIdx < pCtx->iActiveThreadsNum; iThrdIdx++) { in RandAvailableThread()
113 SetPartitonMBNum (pCtx->ppDqLayerList[iLayerIdx], pLayerCfg, pCtx->iActiveThreadsNum); in InitParamForSizeLimitSlcMode()
211 pCtx->iActiveThreadsNum = pCtx->pSvcParam->iMultipleThreadIdc; in InitParam()
413 int32_t iPartNum = m_EncContext.iActiveThreadsNum; in SimulateSliceInOneLayer()
454 int32_t iThreadIndex = rand() % pCtx->iActiveThreadsNum; in TEST_F()
455 …int32_t iPartitionNum = rand() % pCtx->iActiveThreadsNum + 1; //include cases which part num less … in TEST_F()
483 int32_t iThreadIndex = rand() % pCtx->iActiveThreadsNum; in TEST_F()
484 int32_t iPartitionNum = pCtx->iActiveThreadsNum; in TEST_F()
516 int32_t iReallocateThrdIdx = rand() % pCtx->iActiveThreadsNum; in TEST_F()
[all …]
/third_party/openh264/codec/encoder/core/src/
Dsvc_encode_slice.cpp600 const int32_t kiPartitionId = (kiSliceIdx % pEncCtx->iActiveThreadsNum); in WelsISliceMdEncDynamic()
988 for (; iSlcBuffIdx < pCtx->iActiveThreadsNum; iSlcBuffIdx++) { in InitAllSlicesInThread()
1099 for (iSlcBuffIdx = 0; iSlcBuffIdx < pCtx->iActiveThreadsNum; iSlcBuffIdx++) { in InitSliceInLayer()
1131 for (iSlcBuffIdx = 0; iSlcBuffIdx < pCtx->iActiveThreadsNum; iSlcBuffIdx++) { in InitSliceInLayer()
1288 if (1 == pCtx->iActiveThreadsNum) { in CalculateNewSliceNum()
1293 int32_t iPartitionID = pLastCodedSlice->iSliceIdx % pCtx->iActiveThreadsNum; in CalculateNewSliceNum()
1416 for (iSlcBuffIdx = 0; iSlcBuffIdx < pCtx->iActiveThreadsNum; iSlcBuffIdx++) { in ReallocSliceBuffer()
1425 for (iSlcBuffIdx = 0; iSlcBuffIdx < pCtx->iActiveThreadsNum; iSlcBuffIdx++) { in ReallocSliceBuffer()
1592 for (int32_t iSlcBuffIdx = 0; iSlcBuffIdx < pCtx->iActiveThreadsNum; iSlcBuffIdx++) { in SliceLayerInfoUpdate()
1606 iRet = ReOrderSliceInLayer (pCtx, kuiSliceMode, pCtx->iActiveThreadsNum); in SliceLayerInfoUpdate()
[all …]
Dwels_task_management.cpp151 kiTaskCount = m_iTaskNum[kiCurDid] = pEncCtx->iActiveThreadsNum; in CreateTasks()
Dwels_task_encoder.cpp235 const int32_t kiSliceIdxStep = m_pCtx->iActiveThreadsNum; in ExecuteTask()
Dencoder_ext.cpp2341 pCtx->iActiveThreadsNum = pCodingParam->iMultipleThreadIdc; in WelsInitEncoderExt()
3584 pCtx->iActiveThreadsNum = in WelsEncoderEncodeExt()
3750 const int32_t kiPartitionCnt = pCtx->iActiveThreadsNum; in WelsEncoderEncodeExt()
4137 if ((pCtx->iActiveThreadsNum > 1) && (MAX_NAL_UNITS_IN_LAYER < pFbi->sLayerInfo[k].iNalCount)) { in WelsEncoderEncodeExt()
4140 pFbi->sLayerInfo[k].iNalCount, MAX_NAL_UNITS_IN_LAYER, pCtx->iActiveThreadsNum); in WelsEncoderEncodeExt()
4534 const int32_t kiSliceStep = pCtx->iActiveThreadsNum; in WelsCodeOnePicPartition()
4541 const int32_t kiSliceIdxStep = pCtx->iActiveThreadsNum; in WelsCodeOnePicPartition()
4553 if (pCtx->iActiveThreadsNum == 1) { in WelsCodeOnePicPartition()
/third_party/openh264/codec/encoder/core/inc/
Dencoder_context.h204 int16_t iActiveThreadsNum; // number of threads active so far member