Home
last modified time | relevance | path

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

/external/giflib/
Degif_lib.c853 Private->CrntCode = FIRST_CODE; /* Signal that this is first one! */ in EGifSetupCompress()
878 int i = 0, CrntCode, NewCode; in EGifCompressLine() local
886 if (Private->CrntCode == FIRST_CODE) /* Its first time! */ in EGifCompressLine()
887 CrntCode = Line[i++]; in EGifCompressLine()
889 CrntCode = Private->CrntCode; /* Get last code in compression. */ in EGifCompressLine()
896 NewKey = (((uint32_t) CrntCode) << 8) + Pixel; in EGifCompressLine()
901 CrntCode = NewCode; in EGifCompressLine()
906 if (EGifCompressOutput(GifFile, CrntCode) == GIF_ERROR) { in EGifCompressLine()
910 CrntCode = Pixel; in EGifCompressLine()
935 Private->CrntCode = CrntCode; in EGifCompressLine()
[all …]
Ddgif_lib.c783 int j, CrntCode, EOFCode, ClearCode, CrntPrefix, LastCode, StackPtr; in DGifDecompressLine() local
807 if (DGifDecompressInput(GifFile, &CrntCode) == GIF_ERROR) in DGifDecompressLine()
810 if (CrntCode == EOFCode) { in DGifDecompressLine()
816 } else if (CrntCode == ClearCode) { in DGifDecompressLine()
828 if (CrntCode < ClearCode) { in DGifDecompressLine()
830 Line[i++] = CrntCode; in DGifDecompressLine()
836 if (Prefix[CrntCode] == NO_SUCH_CODE) { in DGifDecompressLine()
841 if (CrntCode == Private->RunningCode - 2) { in DGifDecompressLine()
852 CrntPrefix = CrntCode; in DGifDecompressLine()
877 if (CrntCode == Private->RunningCode - 2) { in DGifDecompressLine()
[all …]
Dgif_lib_private.h41 CrntCode, /* Current algorithm code. */ member