Home
last modified time | relevance | path

Searched refs:CrntCode (Results 1 – 3 of 3) sorted by relevance

/external/giflib/
Degif_lib.c860 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()
[all …]
Ddgif_lib.c805 int j, CrntCode, EOFCode, ClearCode, CrntPrefix, LastCode, StackPtr; in DGifDecompressLine() local
829 if (DGifDecompressInput(GifFile, &CrntCode) == GIF_ERROR) in DGifDecompressLine()
832 if (CrntCode == EOFCode) { in DGifDecompressLine()
838 } else if (CrntCode == ClearCode) { in DGifDecompressLine()
850 if (CrntCode < ClearCode) { in DGifDecompressLine()
852 Line[i++] = CrntCode; in DGifDecompressLine()
858 if (Prefix[CrntCode] == NO_SUCH_CODE) { in DGifDecompressLine()
865 if (CrntCode == Private->RunningCode - 2) { in DGifDecompressLine()
873 CrntCode, in DGifDecompressLine()
877 CrntPrefix = CrntCode; in DGifDecompressLine()
[all …]
Dgif_lib_private.h41 CrntCode, /* Current algorithm code. */ member