Home
last modified time | relevance | path

Searched refs:ras_maplength (Results 1 - 1 of 1) sorted by relevance

/third_party/cups-filters/cupsfilters/
H A Dimage-sun.c37 #define RMT_NONE 0 /* ras_maplength is expected to be 0 */
38 #define RMT_EQUAL_RGB 1 /* red[ras_maplength/3],green[],blue[] */
88 ras_maplength; /* length (bytes) of following map */ in _cupsImageReadSunRaster() local
106 ras_maplength = read_unsigned(fp); in _cupsImageReadSunRaster()
108 fprintf(stderr, "DEBUG: ras_width=%d, ras_height=%d, ras_depth=%d, ras_type=%d, ras_maplength=%d\n", in _cupsImageReadSunRaster()
109 img->xsize, img->ysize, ras_depth, ras_type, ras_maplength); in _cupsImageReadSunRaster()
111 if (ras_maplength > 768 || in _cupsImageReadSunRaster()
121 if (ras_maplength > 0) in _cupsImageReadSunRaster()
127 if (fread(cmap[0], 1, ras_maplength / 3, fp) == 0 && ferror(fp)) in _cupsImageReadSunRaster()
129 if (fread(cmap[1], 1, ras_maplength / in _cupsImageReadSunRaster()
[all...]

Completed in 1 milliseconds