Lines Matching refs:bit
26 int bit = (symbol >>> bitIndex) & 1; in Encode() local
27 rangeEncoder.Encode(Models, m, bit); in Encode()
28 m = (m << 1) | bit; in Encode()
37 int bit = symbol & 1; in ReverseEncode() local
38 rangeEncoder.Encode(Models, m, bit); in ReverseEncode()
39 m = (m << 1) | bit; in ReverseEncode()
51 int bit = (symbol >>> bitIndex) & 1; in GetPrice() local
52 price += Encoder.GetPrice(Models[m], bit); in GetPrice()
53 m = (m << 1) + bit; in GetPrice()
64 int bit = symbol & 1; in ReverseGetPrice() local
66 price += Encoder.GetPrice(Models[m], bit); in ReverseGetPrice()
67 m = (m << 1) | bit; in ReverseGetPrice()
79 int bit = symbol & 1; in ReverseGetPrice() local
81 price += Encoder.GetPrice(Models[startIndex + m], bit); in ReverseGetPrice()
82 m = (m << 1) | bit; in ReverseGetPrice()
93 int bit = symbol & 1; in ReverseEncode() local
94 rangeEncoder.Encode(Models, startIndex + m, bit); in ReverseEncode()
95 m = (m << 1) | bit; in ReverseEncode()