Home
last modified time | relevance | path

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

/third_party/openh264/test/encoder/
DEncUT_SliceBufferReallocate.cpp69 void SetPartitonMBNum (SDqLayer* pCurDqLayer, SSpatialLayerConfig* pLayerCfg, int32_t iPartNum) { in SetPartitonMBNum() argument
73 int32_t iMBPerPart = iMbNumInFrame / iPartNum; in SetPartitonMBNum()
76 iPartNum = 1; in SetPartitonMBNum()
80 for (int32_t iPartIdx = 0; iPartIdx < (iPartNum - 1); iPartIdx++) { in SetPartitonMBNum()
85 pCurDqLayer->FirstMbIdxOfPartition[iPartNum - 1] = iMBPerPart * (iPartNum - 1); in SetPartitonMBNum()
86 pCurDqLayer->EndMbIdxOfPartition[iPartNum - 1] = iMbNumInFrame - 1; in SetPartitonMBNum()
88 for (int32_t iPartIdx = iPartNum; iPartIdx < MAX_THREADS_NUM; iPartIdx++) { in SetPartitonMBNum()
413 int32_t iPartNum = m_EncContext.iActiveThreadsNum; in SimulateSliceInOneLayer() local
414 int32_t iSlicNumPerPart = iSimulateSliceNum / iPartNum; in SimulateSliceInOneLayer()
419 iLastPartSlcNum = iSimulateSliceNum - iSlicNumPerPart * (iPartNum - 1); in SimulateSliceInOneLayer()
[all …]