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

Function GetValue4Bytes

codec/decoder/core/src/bit_stream.cpp:45–49  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

43namespace WelsDec {
44
45inline uint32_t GetValue4Bytes (uint8_t* pDstNal) {
46 uint32_t uiValue = 0;
47 uiValue = (pDstNal[0] << 24) | (pDstNal[1] << 16) | (pDstNal[2] << 8) | (pDstNal[3]);
48 return uiValue;
49}
50
51int32_t InitReadBits (PBitStringAux pBitString, intX_t iEndOffset) {
52 if (pBitString->pCurBuf >= (pBitString->pEndBuf - iEndOffset)) {

Callers 1

InitReadBitsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected