Lines Matching refs:posSlot
763 At first stage the distance decoder decodes 6-bit "posSlot" value with bit
765 "posSlot" values.
767 unsigned posSlot = PosSlotDecoder[lenState].Decode(&RangeDec);
771 posSlot (decimal) /
799 "Reverse" scheme. It uses separated binary tree for each posSlot from 4 to 13.
803 is used for all posSlot values.
805 If (posSlot < 4), the "dist" value is equal to posSlot value.
807 If (posSlot >= 4), the decoder uses "posSlot" value to calculate the value of
810 If (4 <= posSlot < kEndPosModelIndex), the decoder uses bit tree decoders.
811 (one separated bit tree decoder per one posSlot value) and "Reverse" scheme.
815 if (posSlot >= kEndPosModelIndex), the middle bits are decoded as direct
827 unsigned posSlot = PosSlotDecoder[lenState].Decode(&RangeDec);
828 if (posSlot < 4)
829 return posSlot;
831 unsigned numDirectBits = (unsigned)((posSlot >> 1) - 1);
832 UInt32 dist = ((2 | (posSlot & 1)) << numDirectBits);
833 if (posSlot < kEndPosModelIndex)
834 dist += BitTreeReverseDecode(PosDecoders + dist - posSlot, numDirectBits, &RangeDec);