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

Function readFirstMbInSlice

test/api/BaseThreadDecoderTest.cpp:36–40  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

34}
35
36static int32_t readFirstMbInSlice (uint8_t* pSliceNalPtr) {
37 int32_t curBit = 0;
38 int32_t firstMBInSlice = bsGetUe (pSliceNalPtr + 1, curBit);
39 return firstMBInSlice;
40}
41
42static int32_t ReadFrame (uint8_t* pBuf, const int32_t& iFileSize, const int32_t& bufPos) {
43 int32_t bytes_available = iFileSize - bufPos;

Callers 1

ReadFrameFunction · 0.70

Calls 1

bsGetUeFunction · 0.70

Tested by

no test coverage detected