Home
last modified time | relevance | path

Searched refs:iThreadIndex (Results 1 – 3 of 3) sorted by relevance

/third_party/openh264/test/encoder/
DEncUT_SliceBufferReallocate.cpp143 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()
[all …]
/third_party/openh264/codec/encoder/core/inc/
Dmt_defs.h64 int32_t iThreadIndex; // thread index, zero based member
/third_party/openh264/codec/encoder/core/src/
Dslice_multi_threading.cpp308 pSmt->pThreadPEncCtx[iIdx].iThreadIndex = iIdx; in RequestMtResource()