Home
last modified time | relevance | path

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

/external/libpng/contrib/gregbook/
Dreadppm.c83 static uch ppmline[256]; in readpng_init() local
89 fgets(ppmline, 256, infile); in readpng_init()
90 if (ppmline[0] != 'P' || ppmline[1] != '6') { in readpng_init()
95 if (ppmline[1] == '6') { in readpng_init()
98 } else if (ppmline[1] == '8') { in readpng_init()
107 fgets(ppmline, 256, infile); in readpng_init()
108 } while (ppmline[0] == '#'); in readpng_init()
109 sscanf(ppmline, "%lu %lu", &width, &height); in readpng_init()
112 fgets(ppmline, 256, infile); in readpng_init()
113 } while (ppmline[0] == '#'); in readpng_init()
[all …]