Home
last modified time | relevance | path

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

/third_party/openh264/codec/decoder/core/src/
Ddecoder_core.cpp611 pCtx->iMaxBsBufferSizeInByte = MIN_ACCESS_UNIT_CAPACITY * MAX_BUFFERED_NUM; in InitBsBuffer()
612 if ((pCtx->sRawData.pHead = static_cast<uint8_t*> (pMa->WelsMallocz (pCtx->iMaxBsBufferSizeInByte, in InitBsBuffer()
617 pCtx->sRawData.pEnd = pCtx->sRawData.pHead + pCtx->iMaxBsBufferSizeInByte; in InitBsBuffer()
631 …f ((pCtx->sSavedData.pHead = static_cast<uint8_t*> (pMa->WelsMallocz (pCtx->iMaxBsBufferSizeInByte, in InitBsBuffer()
636 pCtx->sSavedData.pEnd = pCtx->sSavedData.pHead + pCtx->iMaxBsBufferSizeInByte; in InitBsBuffer()
652 …int32_t iNewBuffLen = WELS_MAX ((kiSrcLen * MAX_BUFFERED_NUM), (pCtx->iMaxBsBufferSizeInByte << iE… in ExpandBsBuffer()
673 memcpy (pNewBsBuff, pCtx->sRawData.pHead, pCtx->iMaxBsBufferSizeInByte); in ExpandBsBuffer()
690 memcpy (pNewSavedBsBuff, pCtx->sSavedData.pHead, pCtx->iMaxBsBufferSizeInByte); in ExpandBsBuffer()
698 pCtx->iMaxBsBufferSizeInByte = iNewBuffLen; in ExpandBsBuffer()
740 } else if (kiSrcLen > pCtx->iMaxBsBufferSizeInByte / in CheckBsBuffer()
/third_party/openh264/codec/decoder/core/inc/
Ddecoder_context.h387 int32_t iMaxBsBufferSizeInByte; //actual memory size for BS buffer member