Lines Matching defs:bit
124 IF (SRC != 0) ZF = 0; DEST is index of top non-zero bit
734 #define RC_BIT(p, prob, bit) { \
736 if (bit == 0) { range = newBound; ttt += (kBitModelTotal - ttt) >> kNumMoveBits; } \
744 #define RC_BIT(p, prob, bit) { \
747 mask = 0 - (UInt32)bit; \
752 mask = (UInt32)bit - 1; \
798 UInt32 bit = (sym >> 7) & 1;
800 RC_BIT(p, prob, bit)
815 UInt32 bit;
819 bit = (sym >> 7) & 1;
822 RC_BIT(p, prob, bit)
855 #define GET_PRICE(prob, bit) \
856 p->ProbPrices[((prob) ^ (unsigned)(((-(int)(bit))) & (kBitModelTotal - 1))) >> kNumMoveReducingBits]
858 #define GET_PRICEa(prob, bit) \
859 ProbPrices[((prob) ^ (unsigned)((-((int)(bit))) & (kBitModelTotal - 1))) >> kNumMoveReducingBits]
874 unsigned bit = sym & 1;
876 price += GET_PRICEa(probs[sym], bit);
907 unsigned bit = sym & 1;
908 // RangeEnc_EncodeBit(rc, probs + m, bit);
910 RC_BIT(rc, probs + m, bit)
911 m = (m << 1) | bit;
953 unsigned bit;
956 bit = (sym >> 2) ; RC_BIT(rc, probs + 1, bit) m = (1 << 1) + bit;
957 bit = (sym >> 1) & 1; RC_BIT(rc, probs + m, bit) m = (m << 1) + bit;
958 bit = sym & 1; RC_BIT(rc, probs + m, bit)
1043 unsigned bit = sym & 1;
1045 price += GET_PRICEa(probs[sym], bit);
2213 unsigned bit;
2215 bit = sym & 1; sym >>= 1; price += GET_PRICEa(probs[m], bit); m = (m << 1) + bit;
2216 bit = sym & 1; sym >>= 1; price += GET_PRICEa(probs[m], bit); m = (m << 1) + bit;
2217 bit = sym & 1; sym >>= 1; price += GET_PRICEa(probs[m], bit); m = (m << 1) + bit;
2252 unsigned bit = sym & 1;
2254 price += GET_PRICEa(probs[m], bit);
2255 m = (m << 1) + bit;
2277 unsigned bit;
2280 bit = sym & 1; sym >>= 1; price = GET_PRICEa(probs[sym], bit);
2281 bit = sym & 1; sym >>= 1; price += GET_PRICEa(probs[sym], bit);
2282 bit = sym & 1; sym >>= 1; price += GET_PRICEa(probs[sym], bit);
2283 bit = sym & 1; sym >>= 1; price += GET_PRICEa(probs[sym], bit);
2284 bit = sym & 1; sym >>= 1; price += GET_PRICEa(probs[sym], bit);
2570 UInt32 bit = (sym >> (kNumPosSlotBits - 1)) & 1;
2572 RC_BIT(&p->rc, prob, bit)
2615 unsigned bit;
2616 bit = dist & 1; dist >>= 1; RC_BIT(&p->rc, p->posAlignEncoder + m, bit) m = (m << 1) + bit;
2617 bit = dist & 1; dist >>= 1; RC_BIT(&p->rc, p->posAlignEncoder + m, bit) m = (m << 1) + bit;
2618 bit = dist & 1; dist >>= 1; RC_BIT(&p->rc, p->posAlignEncoder + m, bit) m = (m << 1) + bit;
2619 bit = dist & 1; RC_BIT(&p->rc, p->posAlignEncoder + m, bit)
2722 1) we don't want 32-bit back_distance matches in decoder for 2 GB dictionary.