Lines Matching refs:posSlot
764 At first stage the distance decoder decodes 6-bit "posSlot" value with bit
766 "posSlot" values.
768 unsigned posSlot = PosSlotDecoder[lenState].Decode(&RangeDec);
772 posSlot (decimal) /
800 "Reverse" scheme. It uses separated binary tree for each posSlot from 4 to 13.
804 is used for all posSlot values.
806 If (posSlot < 4), the "dist" value is equal to posSlot value.
808 If (posSlot >= 4), the decoder uses "posSlot" value to calculate the value of
811 If (4 <= posSlot < kEndPosModelIndex), the decoder uses bit tree decoders.
812 (one separated bit tree decoder per one posSlot value) and "Reverse" scheme.
816 if (posSlot >= kEndPosModelIndex), the middle bits are decoded as direct
828 unsigned posSlot = PosSlotDecoder[lenState].Decode(&RangeDec);
829 if (posSlot < 4)
830 return posSlot;
832 unsigned numDirectBits = (unsigned)((posSlot >> 1) - 1);
833 UInt32 dist = ((2 | (posSlot & 1)) << numDirectBits);
834 if (posSlot < kEndPosModelIndex)
835 dist += BitTreeReverseDecode(PosDecoders + dist - posSlot, numDirectBits, &RangeDec);