Lines Matching refs:CrntCode
860 Private->CrntCode = FIRST_CODE; /* Signal that this is first one! */ in EGifSetupCompress()
885 int i = 0, CrntCode, NewCode; in EGifCompressLine() local
893 if (Private->CrntCode == FIRST_CODE) /* Its first time! */ in EGifCompressLine()
894 CrntCode = Line[i++]; in EGifCompressLine()
896 CrntCode = Private->CrntCode; /* Get last code in compression. */ in EGifCompressLine()
903 NewKey = (((uint32_t) CrntCode) << 8) + Pixel; in EGifCompressLine()
908 CrntCode = NewCode; in EGifCompressLine()
913 if (EGifCompressOutput(GifFile, CrntCode) == GIF_ERROR) { in EGifCompressLine()
917 CrntCode = Pixel; in EGifCompressLine()
942 Private->CrntCode = CrntCode; in EGifCompressLine()
946 if (EGifCompressOutput(GifFile, CrntCode) == GIF_ERROR) { in EGifCompressLine()