Lines Matching refs:matchByte
606 static void LitEnc_EncodeMatched(CRangeEnc *p, CLzmaProb *probs, UInt32 symbol, UInt32 matchByte) in LitEnc_EncodeMatched() argument
612 matchByte <<= 1; in LitEnc_EncodeMatched()
613 RangeEnc_EncodeBit(p, probs + (offs + (matchByte & offs) + (symbol >> 8)), (symbol >> 7) & 1); in LitEnc_EncodeMatched()
615 offs &= ~(matchByte ^ symbol); in LitEnc_EncodeMatched()
669 static UInt32 LitEnc_GetPriceMatched(const CLzmaProb *probs, UInt32 symbol, UInt32 matchByte, UInt3… in LitEnc_GetPriceMatched() argument
676 matchByte <<= 1; in LitEnc_GetPriceMatched()
677 price += GET_PRICEa(probs[offs + (matchByte & offs) + (symbol >> 8)], (symbol >> 7) & 1); in LitEnc_GetPriceMatched()
679 offs &= ~(matchByte ^ symbol); in LitEnc_GetPriceMatched()
956 Byte curByte, matchByte; in GetOptimum() local
1019 matchByte = *(data - (reps[0] + 1)); in GetOptimum()
1021 if (mainLen < 2 && curByte != matchByte && repLens[repMaxIndex] < 2) in GetOptimum()
1035 LitEnc_GetPriceMatched(probs, curByte, matchByte, p->ProbPrices) : in GetOptimum()
1044 if (matchByte == curByte) in GetOptimum()
1149 Byte curByte, matchByte; in GetOptimum() local
1239 matchByte = *(data - (reps[0] + 1)); in GetOptimum()
1248 LitEnc_GetPriceMatched(probs, curByte, matchByte, p->ProbPrices) : in GetOptimum()
1265 if (matchByte == curByte && !(nextOpt->posPrev < cur && nextOpt->backPrev == 0)) in GetOptimum()
1287 if (!nextIsChar && matchByte != curByte) /* speed optimization */ in GetOptimum()