Searched refs:kiValue (Results 1 – 2 of 2) sorted by relevance
58 static inline uint32_t BsSizeUE (const uint32_t kiValue) { in BsSizeUE() argument59 if (256 > kiValue) { in BsSizeUE()60 return g_kuiGolombUELength[kiValue]; in BsSizeUE()63 uint32_t iTmpValue = kiValue + 1; in BsSizeUE()84 static inline uint32_t BsSizeSE (const int32_t kiValue) { in BsSizeSE() argument86 if (0 == kiValue) { in BsSizeSE()88 } else if (0 < kiValue) { in BsSizeSE()89 iTmpValue = (kiValue << 1) - 1; in BsSizeSE()92 iTmpValue = ((-kiValue) << 1); in BsSizeSE()
140 static inline int32_t BsWriteSE (PBitStringAux pBitString, const int32_t kiValue) { in BsWriteSE() argument142 if (0 == kiValue) { in BsWriteSE()144 } else if (0 < kiValue) { in BsWriteSE()145 iTmpValue = (kiValue << 1) - 1; in BsWriteSE()148 iTmpValue = ((-kiValue) << 1); in BsWriteSE()