Home
last modified time | relevance | path

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

/third_party/openh264/test/encoder/
DEncUT_SliceBufferReallocate.cpp267 int32_t iCountNals = 0; in InitFrameBsBuffer() local
269 …iRet = AcquireLayersNals (&pCtx, pCtx->pSvcParam, &pCtx->pSvcParam->iSpatialLayerNum, &iCountNals); in InitFrameBsBuffer()
278 …pCtx->pOut->sNalList = (SWelsNalRaw*)pCtx->pMemAlign->WelsMallocz (iCountNals * sizeof (SWelsNalRa… in InitFrameBsBuffer()
280 …pCtx->pOut->pNalLen = (int32_t*)pCtx->pMemAlign->WelsMallocz (iCountNals * sizeof (int32_t), "pOut… in InitFrameBsBuffer()
282 pCtx->pOut->iCountNals = iCountNals; in InitFrameBsBuffer()
557 int32_t iCodedNalCount = pCtx->pOut->iCountNals; in TEST_F()
561 EXPECT_TRUE (iCodedNalCount < pCtx->pOut->iCountNals); in TEST_F()
/third_party/openh264/codec/encoder/core/inc/
Dnal_encap.h77 int32_t iCountNals; // count number of NAL in list member
/third_party/openh264/codec/encoder/core/src/
Dsvc_encode_slice.cpp1549 int32_t iCountNals = pCtx->pOut->iCountNals; in FrameBsRealloc() local
1550 iCountNals += kiMaxSliceNumOld * (pCtx->pSvcParam->iSpatialLayerNum + pCtx->bNeedPrefixNalFlag); in FrameBsRealloc()
1552 …SWelsNalRaw* pNalList = (SWelsNalRaw*)pMA->WelsMallocz (iCountNals * sizeof (SWelsNalRaw), "pOut->… in FrameBsRealloc()
1557 memcpy (pNalList, pCtx->pOut->sNalList, sizeof (SWelsNalRaw) * pCtx->pOut->iCountNals); in FrameBsRealloc()
1561 int32_t* pNalLen = (int32_t*)pMA->WelsMallocz (iCountNals * sizeof (int32_t), "pOut->pNalLen"); in FrameBsRealloc()
1566 memcpy (pNalLen, pCtx->pOut->pNalLen, sizeof (int32_t) * pCtx->pOut->iCountNals); in FrameBsRealloc()
1570 pCtx->pOut->iCountNals = iCountNals; in FrameBsRealloc()
1618 if (iCodedNalCount > pCtx->pOut->iCountNals) { in SliceLayerInfoUpdate()
Dencoder_ext.cpp1538 int32_t iCountNals = 0; in RequestMemorySvc() local
1569 iResult = AcquireLayersNals (ppCtx, pParam, &iCountLayers, &iCountNals); in RequestMemorySvc()
1628 …(*ppCtx)->pOut->sNalList = (SWelsNalRaw*)pMa->WelsMallocz (iCountNals * sizeof (SWelsNalRaw), "pOu… in RequestMemorySvc()
1630 …(*ppCtx)->pOut->pNalLen = (int32_t*)pMa->WelsMallocz (iCountNals * sizeof (int32_t), "pOut->pNalLe… in RequestMemorySvc()
1632 (*ppCtx)->pOut->iCountNals = iCountNals; in RequestMemorySvc()
3006 if ((pBs->pEndBuf - pBs->pCurBuf) < iLen || iNal >= pCtx->pOut->iCountNals) { in WritePadding()
3010 … static_cast<long long int> (pBs->pEndBuf - pBs->pCurBuf), iLen, iNal, pCtx->pOut->iCountNals); in WritePadding()
4145 if (iTotalNal > pCtx->pOut->iCountNals) { in WelsEncoderEncodeExt()
4147 iTotalNal, pCtx->pOut->iCountNals); in WelsEncoderEncodeExt()