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

Function WelsCabacEncodeInit

codec/encoder/core/src/set_mb_syn_cabac.cpp:94–102  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

92}
93
94void WelsCabacEncodeInit (SCabacCtx* pCbCtx, uint8_t* pBuf, uint8_t* pEnd) {
95 pCbCtx->m_uiLow = 0;
96 pCbCtx->m_iLowBitCnt = 9;
97 pCbCtx->m_iRenormCnt = 0;
98 pCbCtx->m_uiRange = 510;
99 pCbCtx->m_pBufStart = pBuf;
100 pCbCtx->m_pBufEnd = pEnd;
101 pCbCtx->m_pBufCur = pBuf;
102}
103
104void WelsCabacEncodeUpdateLowNontrivial_ (SCabacCtx* pCbCtx) {
105 int32_t iLowBitCnt = pCbCtx->m_iLowBitCnt;

Callers 1

WelsInitSliceCabacFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected