Home
last modified time | relevance | path

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

/third_party/openh264/codec/decoder/core/inc/
Ddec_golomb.h57 #define GET_WORD(iCurBits, pBufPtr, iLeftBits, iAllowedBytes, iReadBytes) { \ argument
61 iCurBits |= ((uint32_t)((pBufPtr[0] << 8) | pBufPtr[1])) << (iLeftBits); \
63 pBufPtr +=2; \
65 #define NEED_BITS(iCurBits, pBufPtr, iLeftBits, iAllowedBytes, iReadBytes) { \ argument
67 GET_WORD(iCurBits, pBufPtr, iLeftBits, iAllowedBytes, iReadBytes); \
71 #define DUMP_BITS(iCurBits, pBufPtr, iLeftBits, iNumBits, iAllowedBytes, iReadBytes) { \ argument
74 NEED_BITS(iCurBits, pBufPtr, iLeftBits, iAllowedBytes, iReadBytes); \
/third_party/openh264/test/api/
DBaseThreadDecoderTest.cpp8 static int32_t readBit (uint8_t* pBufPtr, int32_t& curBit) { in readBit() argument
13 return (pBufPtr[nIndex] >> (8 - nOffset)) & 0x01; in readBit()
16 static int32_t readBits (uint8_t* pBufPtr, int32_t& n, int32_t& curBit) { in readBits() argument
20 r |= (readBit (pBufPtr, curBit) << (n - i - 1)); in readBits()
25 static int32_t bsGetUe (uint8_t* pBufPtr, int32_t& curBit) { in bsGetUe() argument
28 while ((readBit (pBufPtr, curBit) == 0) && (i < 32)) { in bsGetUe()
31 r = readBits (pBufPtr, i, curBit); in bsGetUe()
/third_party/openh264/codec/console/dec/src/
Dh264dec.cpp71 int32_t readBit (uint8_t* pBufPtr, int32_t& curBit) { in readBit() argument
76 return (pBufPtr[nIndex] >> (8 - nOffset)) & 0x01; in readBit()
79 int32_t readBits (uint8_t* pBufPtr, int32_t& n, int32_t& curBit) { in readBits() argument
83 r |= (readBit (pBufPtr, curBit) << (n - i - 1)); in readBits()
88 int32_t bsGetUe (uint8_t* pBufPtr, int32_t& curBit) { in bsGetUe() argument
91 while ((readBit (pBufPtr, curBit) == 0) && (i < 32)) { in bsGetUe()
94 r = readBits (pBufPtr, i, curBit); in bsGetUe()
/third_party/openh264/codec/encoder/core/src/
Dset_mb_syn_cavlc.cpp58 uint8_t * pBufPtr = pBs->pCurBuf; \
63 pBs->pCurBuf = pBufPtr; \
76 WRITE_BE_32(pBufPtr, uiCurBits);\
77 pBufPtr += 4;\