MCPcopy Create free account
hub / github.com/cisco/openh264 / readBits

Function readBits

test/api/BaseThreadDecoderTest.cpp:16–23  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

14}
15
16static int32_t readBits (uint8_t* pBufPtr, int32_t& n, int32_t& curBit) {
17 int r = 0;
18 int i;
19 for (i = 0; i < n; i++) {
20 r |= (readBit (pBufPtr, curBit) << (n - i - 1));
21 }
22 return r;
23}
24
25static int32_t bsGetUe (uint8_t* pBufPtr, int32_t& curBit) {
26 int r = 0;

Callers 1

bsGetUeFunction · 0.70

Calls 1

readBitFunction · 0.70

Tested by

no test coverage detected