Searched refs:curBit (Results 1 – 2 of 2) sorted by relevance
/third_party/openh264/test/api/ |
D | BaseThreadDecoderTest.cpp | 8 static int32_t readBit (uint8_t* pBufPtr, int32_t& curBit) { in readBit() argument 9 int nIndex = curBit / 8; in readBit() 10 int nOffset = curBit % 8 + 1; in readBit() 12 curBit++; 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() 37 int32_t curBit = 0; in readFirstMbInSlice() local [all …]
|
/third_party/openh264/codec/console/dec/src/ |
D | h264dec.cpp | 71 int32_t readBit (uint8_t* pBufPtr, int32_t& curBit) { in readBit() argument 72 int nIndex = curBit / 8; in readBit() 73 int nOffset = curBit % 8 + 1; in readBit() 75 curBit++; 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() 100 int32_t curBit = 0; in readFirstMbInSlice() local [all …]
|