Lines Matching refs:iThreadIndex
143 int32_t iThreadIndex, int32_t iPartitionNum) { in SetParamForReallocateTest() argument
147 int32_t iCodedSlcNum = pCtx->pCurDqLayer->sSliceBufferInfo[iThreadIndex].iMaxSliceNum - 1; in SetParamForReallocateTest()
149 …SSlice* pLastCodedSlc = &pCtx->pCurDqLayer->sSliceBufferInfo[iThreadIndex].pSliceBuffer[iCodedSlcN… in SetParamForReallocateTest()
156 pCtx->pCurDqLayer->sSliceBufferInfo[iThreadIndex].iCodedSliceNum = iCodedSlcNum; in SetParamForReallocateTest()
454 int32_t iThreadIndex = rand() % pCtx->iActiveThreadsNum; in TEST_F() local
456 int32_t iSlcBufferNum = pCtx->pCurDqLayer->sSliceBufferInfo[iThreadIndex].iMaxSliceNum; in TEST_F()
458 SetParamForReallocateTest (pCtx, iLayerIdx, iThreadIndex, iPartitionNum); in TEST_F()
459 iRet = ReallocateSliceInThread (pCtx, pCtx->pCurDqLayer, iLayerIdx, iThreadIndex); in TEST_F()
461 EXPECT_TRUE (NULL != pCtx->pCurDqLayer->sSliceBufferInfo[iThreadIndex].pSliceBuffer); in TEST_F()
462 EXPECT_TRUE (iSlcBufferNum < pCtx->pCurDqLayer->sSliceBufferInfo[iThreadIndex].iMaxSliceNum); in TEST_F()
483 int32_t iThreadIndex = rand() % pCtx->iActiveThreadsNum; in TEST_F() local
487 SetParamForReallocateTest (pCtx, iLayerIdx, iThreadIndex, iPartitionNum); in TEST_F()
490 iSlcBufferNum = pCtx->pCurDqLayer->sSliceBufferInfo[iThreadIndex].iMaxSliceNum; in TEST_F()
492 iRet = ReallocateSliceInThread (pCtx, pCtx->pCurDqLayer, iLayerIdx, iThreadIndex); in TEST_F()
494 EXPECT_TRUE (NULL != pCtx->pCurDqLayer->sSliceBufferInfo[iThreadIndex].pSliceBuffer); in TEST_F()
495 EXPECT_TRUE (iSlcBufferNum < pCtx->pCurDqLayer->sSliceBufferInfo[iThreadIndex].iMaxSliceNum); in TEST_F()