Searched refs:pBitString (Results 1 – 3 of 3) sorted by relevance
79 static inline int32_t BsWriteBits (PBitStringAux pBitString, int32_t iLen, const uint32_t kuiValue)… in BsWriteBits() argument80 if (iLen < pBitString->iLeftBits) { in BsWriteBits()81 pBitString->uiCurBits = (pBitString->uiCurBits << iLen) | kuiValue; in BsWriteBits()82 pBitString->iLeftBits -= iLen; in BsWriteBits()84 iLen -= pBitString->iLeftBits; in BsWriteBits()85 pBitString->uiCurBits = (pBitString->uiCurBits << pBitString->iLeftBits) | (kuiValue >> iLen); in BsWriteBits()86 WRITE_BE_32 (pBitString->pCurBuf, pBitString->uiCurBits); in BsWriteBits()87 pBitString->pCurBuf += 4; in BsWriteBits()88 pBitString->uiCurBits = kuiValue & ((1 << iLen) - 1); in BsWriteBits()89 pBitString->iLeftBits = 32 - iLen; in BsWriteBits()[all …]
51 int32_t InitReadBits (PBitStringAux pBitString, intX_t iEndOffset) { in InitReadBits() argument52 if (pBitString->pCurBuf >= (pBitString->pEndBuf - iEndOffset)) { in InitReadBits()55 pBitString->uiCurBits = GetValue4Bytes (pBitString->pCurBuf); in InitReadBits()56 pBitString->pCurBuf += 4; in InitReadBits()57 pBitString->iLeftBits = -16; in InitReadBits()70 int32_t DecInitBits (PBitStringAux pBitString, const uint8_t* kpBuf, const int32_t kiSize) { in DecInitBits() argument77 pBitString->pStartBuf = pTmp; // buffer to start position in DecInitBits()78 pBitString->pEndBuf = pTmp + kiSizeBuf; // buffer + length in DecInitBits()79 pBitString->iBits = kiSize; // count bits of overall bitstreaming inputindex; in DecInitBits()80 pBitString->pCurBuf = pBitString->pStartBuf; in DecInitBits()[all …]
54 int32_t DecInitBits (PBitStringAux pBitString, const uint8_t* kpBuf, const int32_t kiSize);56 int32_t InitReadBits (PBitStringAux pBitString, intX_t iEndOffset);