Home
last modified time | relevance | path

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

/third_party/openh264/codec/decoder/core/inc/
Ddec_golomb.h80 intX_t iReadBytes = pBs->pCurBuf - pBs->pStartBuf; in BsGetBits()
81 DUMP_BITS (pBs->uiCurBits, pBs->pCurBuf, pBs->iLeftBits, iNumBits, iAllowedBytes, iReadBytes); in BsGetBits()
168 iReadBytes = pBs->pCurBuf - pBs->pStartBuf; in BsGetUe()
169 DUMP_BITS (pBs->uiCurBits, pBs->pCurBuf, pBs->iLeftBits, 16, iAllowedBytes, iReadBytes); in BsGetUe()
170 iReadBytes = pBs->pCurBuf - pBs->pStartBuf; in BsGetUe()
171 …DUMP_BITS (pBs->uiCurBits, pBs->pCurBuf, pBs->iLeftBits, iLeadingZeroBits + 1 - 16, iAllowedBytes,… in BsGetUe()
173 iReadBytes = pBs->pCurBuf - pBs->pStartBuf; in BsGetUe()
174 …DUMP_BITS (pBs->uiCurBits, pBs->pCurBuf, pBs->iLeftBits, iLeadingZeroBits + 1, iAllowedBytes, iRea… in BsGetUe()
178 iReadBytes = pBs->pCurBuf - pBs->pStartBuf; in BsGetUe()
179 …DUMP_BITS (pBs->uiCurBits, pBs->pCurBuf, pBs->iLeftBits, iLeadingZeroBits, iAllowedBytes, iReadByt… in BsGetUe()
[all …]
/third_party/openh264/codec/common/inc/
Dgolomb_common.h71 pBs->pCurBuf = ptr; in InitBits()
86 WRITE_BE_32 (pBitString->pCurBuf, pBitString->uiCurBits); in BsWriteBits()
87 pBitString->pCurBuf += 4; in BsWriteBits()
103 WRITE_BE_32 (pBitString->pCurBuf, pBitString->uiCurBits << pBitString->iLeftBits); in BsFlush()
104 pBitString->pCurBuf += 4 - pBitString->iLeftBits / 8; in BsFlush()
Dwels_common_defs.h238 uint8_t* pCurBuf; // current reading position member
/third_party/openh264/codec/decoder/core/src/
Dbit_stream.cpp52 if (pBitString->pCurBuf >= (pBitString->pEndBuf - iEndOffset)) { in InitReadBits()
55 pBitString->uiCurBits = GetValue4Bytes (pBitString->pCurBuf); in InitReadBits()
56 pBitString->pCurBuf += 4; in InitReadBits()
80 pBitString->pCurBuf = pBitString->pStartBuf; in DecInitBits()
Dcabac_decoder.cpp76 pCurr = pBsAux->pCurBuf - iRemainingBytes; in InitCabacDecEngineFromBS()
99 pBsAux->pCurBuf = pDecEngine->pBuffCurr; in RestoreCabacDecEngineToBS()
Dparse_mb_syn_cavlc.cpp670 pBs->iIndex = ((pBs->pCurBuf - pBs->pStartBuf) << 3) - (16 - pBs->iLeftBits); in BsStartCavlc()
673 pBs->pCurBuf = pBs->pStartBuf + (pBs->iIndex >> 3); in BsEndCavlc()
674 uint32_t uiCache32Bit = (uint32_t) ((((pBs->pCurBuf[0] << 8) | pBs->pCurBuf[1]) << 16) | in BsEndCavlc()
675 (pBs->pCurBuf[2] << 8) | pBs->pCurBuf[3]); in BsEndCavlc()
677 pBs->pCurBuf += 4; in BsEndCavlc()
Ddecode_slice.cpp1846 pBs->pCurBuf -= iIndex; in WelsActualDecodeMbCavlcISlice()
1849 pTmpBsBuf = pBs->pCurBuf; in WelsActualDecodeMbCavlcISlice()
1868 pBs->pCurBuf += 384; in WelsActualDecodeMbCavlcISlice()
2092 iUsedBits = ((pBs->pCurBuf - pBs->pStartBuf) << 3) - (16 - pBs->iLeftBits); in WelsDecodeMbCavlcISlice()
2187 pBs->pCurBuf -= iIndex; in WelsActualDecodeMbCavlcPSlice()
2190 pTmpBsBuf = pBs->pCurBuf; in WelsActualDecodeMbCavlcPSlice()
2210 pBs->pCurBuf += 384; in WelsActualDecodeMbCavlcPSlice()
2522 iUsedBits = ((pBs->pCurBuf - pBs->pStartBuf) << 3) - (16 - pBs->iLeftBits); in WelsDecodeMbCavlcPSlice()
2639 iUsedBits = ((pBs->pCurBuf - pBs->pStartBuf) << 3) - (16 - pBs->iLeftBits); in WelsDecodeMbCavlcBSlice()
2734 pBs->pCurBuf -= iIndex; in WelsActualDecodeMbCavlcBSlice()
[all …]
Dparse_mb_syn_cabac.cpp1525 intX_t iBytesLeft = pBsAux->pEndBuf - pBsAux->pCurBuf; in ParseIPCMInfoCabac()
1529 pPtrSrc = pBsAux->pCurBuf; in ParseIPCMInfoCabac()
1548 pBsAux->pCurBuf += 384; in ParseIPCMInfoCabac()
Dau_parser.cpp1235 int32_t iRbspSize = (int32_t) (sSubsetSpsBs.pCurBuf - sSubsetSpsBs.pStartBuf); in ParseSps()
1237 pSpsBs->uiSpsBsLen = (uint16_t) (sSubsetSpsBs.pCurBuf - sSubsetSpsBs.pStartBuf + 5); in ParseSps()
Ddecoder_core.cpp669 pSliceBitsRead->pCurBuf = pSliceBitsRead->pCurBuf - pCtx->sRawData.pHead + pNewBsBuff; in ExpandBsBuffer()
/third_party/openh264/codec/encoder/core/src/
Dset_mb_syn_cavlc.cpp58 uint8_t * pBufPtr = pBs->pCurBuf; \
63 pBs->pCurBuf = pBufPtr; \
236 pDss->pBsStackBufPtr = pBs->pCurBuf; in StashMBStatusCavlc()
244 pBs->pCurBuf = pDss->pBsStackBufPtr; in StashPopMBStatusCavlc()
283 pBs->pCurBuf = WelsCabacEncodeGetPtr (&pSlice->sCabacCtx); in WelsWriteSliceEndSyn()
Dsvc_set_mb_syn_cavlc.cpp249 const intX_t iLeftLength = pBs->pEndBuf - pBs->pCurBuf - 1; in CheckBitstreamBuffer()
Dsvc_set_mb_syn_cabac.cpp633 WelsCabacEncodeInit (&pSlice->sCabacCtx, pBs->pCurBuf, pBs->pEndBuf); in WelsInitSliceCabac()
Dencoder_ext.cpp3006 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()
/third_party/openh264/codec/encoder/core/inc/
Dsvc_enc_golomb.h109 return (int32_t) (((pBs->pCurBuf - pBs->pStartBuf) << 3) + 32 - pBs->iLeftBits); in BsGetBitsPos()