Home
last modified time | relevance | path

Searched refs:uiRange (Results 1 – 4 of 4) sorted by relevance

/third_party/openh264/codec/decoder/core/src/
Dcabac_decoder.cpp86 pDecEngine->uiRange = WELS_CABAC_HALF; in InitCabacDecEngineFromBS()
143 uint64_t uiRange = pDecEngine->uiRange; in DecodeBinCabac() local
146 uint32_t uiRangeLPS = g_kuiCabacRangeLps[uiState][ (uiRange >> 6) & 0x03]; in DecodeBinCabac()
147 uiRange -= uiRangeLPS; in DecodeBinCabac()
148 if (uiOffset >= (uiRange << pDecEngine->iBitsLeft)) { //LPS in DecodeBinCabac()
149 uiOffset -= (uiRange << pDecEngine->iBitsLeft); in DecodeBinCabac()
155 uiRange = (uiRangeLPS << iRenorm); in DecodeBinCabac()
158 if (uiRange >= WELS_CABAC_QUARTER) { in DecodeBinCabac()
159 pDecEngine->uiRange = uiRange; in DecodeBinCabac()
162 uiRange <<= 1; in DecodeBinCabac()
[all …]
/third_party/openh264/codec/encoder/core/inc/
Dset_mb_syn_cabac.h106 uint32_t uiRange = pCbCtx->m_uiRange; in WelsCabacEncodeDecision() local
107 uint32_t uiRangeLps = g_kuiCabacRangeLps[kiState][(uiRange & 0xff) >> 6]; in WelsCabacEncodeDecision()
108 uiRange -= uiRangeLps; in WelsCabacEncodeDecision()
110 const int32_t kiRenormAmount = uiRange >> 8 ^ 1; in WelsCabacEncodeDecision()
111 pCbCtx->m_uiRange = uiRange << kiRenormAmount; in WelsCabacEncodeDecision()
/third_party/openh264/codec/encoder/core/src/
Dset_mb_syn_cabac.cpp135 uint32_t uiRange = pCbCtx->m_uiRange; in WelsCabacEncodeDecisionLps_() local
136 uint32_t uiRangeLps = g_kuiCabacRangeLps[kiState][ (uiRange & 0xff) >> 6]; in WelsCabacEncodeDecisionLps_()
137 uiRange -= uiRangeLps; in WelsCabacEncodeDecisionLps_()
142 pCbCtx->m_uiLow += uiRange; in WelsCabacEncodeDecisionLps_()
/third_party/openh264/codec/decoder/core/inc/
Ddecoder_context.h75 uint64_t uiRange; member