Lines Matching refs:StackPtr
773 Private->StackPtr = 0; /* No pixels on the pixel stack. */
795 int j, CrntCode, EOFCode, ClearCode, CrntPrefix, LastCode, StackPtr;
800 StackPtr = Private->StackPtr;
808 if (StackPtr > LZ_MAX_CODE) {
812 if (StackPtr != 0) {
814 while (StackPtr != 0 && i < LineLen)
815 Line[i++] = Stack[--StackPtr];
857 Stack[StackPtr++] = DGifGetPrefixChar(Prefix,
862 Stack[StackPtr++] = DGifGetPrefixChar(Prefix,
871 * defective image, we use StackPtr as loop counter and stop
873 while (StackPtr < LZ_MAX_CODE &&
875 Stack[StackPtr++] = Suffix[CrntPrefix];
878 if (StackPtr >= LZ_MAX_CODE || CrntPrefix > LZ_MAX_CODE) {
883 Stack[StackPtr++] = CrntPrefix;
886 while (StackPtr != 0 && i < LineLen)
887 Line[i++] = Stack[--StackPtr];
909 Private->StackPtr = StackPtr;