Lines Matching refs:StackPtr
783 Private->StackPtr = 0; /* No pixels on the pixel stack. */ in DGifSetupDecompress()
805 int j, CrntCode, EOFCode, ClearCode, CrntPrefix, LastCode, StackPtr; in DGifDecompressLine() local
810 StackPtr = Private->StackPtr; in DGifDecompressLine()
818 if (StackPtr > LZ_MAX_CODE) { in DGifDecompressLine()
822 if (StackPtr != 0) { in DGifDecompressLine()
824 while (StackPtr != 0 && i < LineLen) in DGifDecompressLine()
825 Line[i++] = Stack[--StackPtr]; in DGifDecompressLine()
867 Stack[StackPtr++] = DGifGetPrefixChar(Prefix, in DGifDecompressLine()
872 Stack[StackPtr++] = DGifGetPrefixChar(Prefix, in DGifDecompressLine()
883 while (StackPtr < LZ_MAX_CODE && in DGifDecompressLine()
885 Stack[StackPtr++] = Suffix[CrntPrefix]; in DGifDecompressLine()
888 if (StackPtr >= LZ_MAX_CODE || CrntPrefix > LZ_MAX_CODE) { in DGifDecompressLine()
893 Stack[StackPtr++] = CrntPrefix; in DGifDecompressLine()
896 while (StackPtr != 0 && i < LineLen) in DGifDecompressLine()
897 Line[i++] = Stack[--StackPtr]; in DGifDecompressLine()
919 Private->StackPtr = StackPtr; in DGifDecompressLine()