| 43 | namespace WelsDec { |
| 44 | |
| 45 | inline 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 | |
| 51 | int32_t InitReadBits (PBitStringAux pBitString, intX_t iEndOffset) { |
| 52 | if (pBitString->pCurBuf >= (pBitString->pEndBuf - iEndOffset)) { |