Home
last modified time | relevance | path

Searched refs:iLevelCode (Results 1 – 2 of 2) sorted by relevance

/third_party/openh264/codec/encoder/core/src/
Dset_mb_syn_cavlc.cpp118 …int32_t iLevelCode = 0, iLevelPrefix = 0, iLevelSuffix = 0, uiSuffixLength = 0, iLevelSuffixSize =… in WriteBlockResidualCavlc() local
168 iLevelCode = (iVal - 1) * (1 << 1); in WriteBlockResidualCavlc()
169 uiSign = (iLevelCode >> 31); in WriteBlockResidualCavlc()
170 iLevelCode = (iLevelCode ^ uiSign) + (uiSign << 1); in WriteBlockResidualCavlc()
171 iLevelCode -= ((i == iTrailingOnes) && (iTrailingOnes < 3)) << 1; in WriteBlockResidualCavlc()
173 iLevelPrefix = iLevelCode >> uiSuffixLength; in WriteBlockResidualCavlc()
175 iLevelSuffix = iLevelCode - (iLevelPrefix << uiSuffixLength); in WriteBlockResidualCavlc()
179 iLevelSuffix = iLevelCode - iLevelPrefix; in WriteBlockResidualCavlc()
183 iLevelSuffix = iLevelCode - (iLevelPrefix << uiSuffixLength); in WriteBlockResidualCavlc()
/third_party/openh264/codec/decoder/core/src/
Dparse_mb_syn_cavlc.cpp734 int32_t iSuffixLength, iSuffixLengthSize, iLevelPrefix, iPrefixBits, iLevelCode, iThreshold; in CavlcGetLevelVal() local
752 iLevelCode = iLevelPrefix << iSuffixLength; //differ in CavlcGetLevelVal()
761 iLevelCode += 15; in CavlcGetLevelVal()
767 iLevelCode += (pBitsCache->uiCache32Bit >> (32 - iSuffixLengthSize)); in CavlcGetLevelVal()
772 iLevelCode += ((i == uiTrailingOnes) && (uiTrailingOnes < 3)) << 1; in CavlcGetLevelVal()
773 iLevel[i] = ((iLevelCode + 2) >> 1); in CavlcGetLevelVal()
774 iLevel[i] -= (iLevel[i] << 1) & (- (iLevelCode & 0x01)); in CavlcGetLevelVal()