Searched refs:iPartitionNum (Results 1 – 3 of 3) sorted by relevance
/third_party/openh264/test/encoder/ |
D | EncUT_SliceBufferReallocate.cpp | 143 int32_t iThreadIndex, int32_t iPartitionNum) { in SetParamForReallocateTest() argument 145 int32_t iPartitionID = rand() % iPartitionNum; in SetParamForReallocateTest() 148 int32_t iLastCodeSlcIdx = iPartitionID + iCodedSlcNum * iPartitionNum; in SetParamForReallocateTest() 152 SetPartitonMBNum (pCtx->ppDqLayerList[iLayerIdx], pLayerCfg, iPartitionNum); in SetParamForReallocateTest() 455 …int32_t iPartitionNum = rand() % pCtx->iActiveThreadsNum + 1; //include cases which part num less … in TEST_F() local 458 SetParamForReallocateTest (pCtx, iLayerIdx, iThreadIndex, iPartitionNum); in TEST_F() 484 int32_t iPartitionNum = pCtx->iActiveThreadsNum; in TEST_F() local 487 SetParamForReallocateTest (pCtx, iLayerIdx, iThreadIndex, iPartitionNum); in TEST_F() 489 for (int32_t iPartIdx = 0; iPartIdx < iPartitionNum; iPartIdx++) { in TEST_F() 620 int32_t iPartitionNum = (SM_SIZELIMITED_SLICE == eSlcMode) ? pCtx->iActiveThreadsNum : 1; in TEST_F() local [all …]
|
/third_party/openh264/codec/encoder/core/src/ |
D | encoder_ext.cpp | 2409 int32_t iPartitionNum = 1; in PicPartitionNumDecision() local 2411 iPartitionNum = pCtx->pSvcParam->iMultipleThreadIdc; in PicPartitionNumDecision() 2413 return iPartitionNum; in PicPartitionNumDecision() 2423 void UpdateSlicepEncCtxWithPartition (SDqLayer* pCurDq, int32_t iPartitionNum) { in UpdateSlicepEncCtxWithPartition() argument 2432 if (iPartitionNum <= 0) in UpdateSlicepEncCtxWithPartition() 2433 iPartitionNum = 1; in UpdateSlicepEncCtxWithPartition() 2434 else if (iPartitionNum > AVERSLICENUM_CONSTRAINT) in UpdateSlicepEncCtxWithPartition() 2435 …iPartitionNum = AVERSLICENUM_CONSTRAINT; // AVERSLICENUM_CONSTRAINT might be variable, however not… in UpdateSlicepEncCtxWithPartition() 2436 iCountMbNumPerPartition /= iPartitionNum; in UpdateSlicepEncCtxWithPartition() 2439 iPartitionNum = 1; in UpdateSlicepEncCtxWithPartition() [all …]
|
D | svc_encode_slice.cpp | 1467 int32_t iPartitionNum = 0; in ReOrderSliceInLayer() local 1471 iPartitionNum = (SM_SIZELIMITED_SLICE == kuiSliceMode) ? kiThreadNum : 1; in ReOrderSliceInLayer() 1472 for (iPartitionIdx = 0; iPartitionIdx < iPartitionNum; iPartitionIdx++) { in ReOrderSliceInLayer() 1497 iPartitionID = pSliceBuffer->iSliceIdx % iPartitionNum; in ReOrderSliceInLayer() 1498 iActualSliceIdx = aiPartitionOffset[iPartitionID] + pSliceBuffer->iSliceIdx / iPartitionNum; in ReOrderSliceInLayer()
|