Searched refs:SHIFT_BITS (Results 1 – 6 of 6) sorted by relevance
37 code = (code << SHIFT_BITS) | inData.readUnsignedByte(); in normalize()38 range <<= SHIFT_BITS; in normalize() local
57 code = (code << SHIFT_BITS) | (buf[pos++] & 0xFF); in normalize()58 range <<= SHIFT_BITS; in normalize() local
120 range <<= SHIFT_BITS; in encodeBit() local194 range <<= SHIFT_BITS; in encodeDirectBits() local
16 static final int SHIFT_BITS = 8; field in RangeCoder
109 sum = (sum + (1 << (SHIFT_BITS-1))) / (1 << SHIFT_BITS);111 sum = (sum + (1 << (SHIFT_BITS-1))) >> SHIFT_BITS;
190 sum = (sum + (1 << (SHIFT_BITS-1))) / (1 << SHIFT_BITS);192 sum = (sum + (1 << (SHIFT_BITS-1))) >> SHIFT_BITS;