Home
last modified time | relevance | path

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

/third_party/openh264/codec/encoder/core/inc/
Dsvc_enc_golomb.h58 static inline uint32_t BsSizeUE (const uint32_t kiValue) { in BsSizeUE() argument
59 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() argument
86 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()
/third_party/openh264/codec/common/inc/
Dgolomb_common.h140 static inline int32_t BsWriteSE (PBitStringAux pBitString, const int32_t kiValue) { in BsWriteSE() argument
142 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()