Lines Matching refs:entry
2146 png_uint_16p entry = png_voidcast(png_uint_16p, display->colormap);
2148 entry += ip * PNG_IMAGE_SAMPLE_CHANNELS(image->format);
2157 entry[afirst ? 0 : 3] = (png_uint_16)alpha;
2173 entry[afirst + (2 ^ bgr)] = (png_uint_16)blue;
2174 entry[afirst + 1] = (png_uint_16)green;
2175 entry[afirst + bgr] = (png_uint_16)red;
2179 entry[1 ^ afirst] = (png_uint_16)alpha;
2191 entry[afirst] = (png_uint_16)green;
2201 png_bytep entry = png_voidcast(png_bytep, display->colormap);
2203 entry += ip * PNG_IMAGE_SAMPLE_CHANNELS(image->format);
2208 entry[afirst ? 0 : 3] = (png_byte)alpha;
2211 entry[afirst + (2 ^ bgr)] = (png_byte)blue;
2212 entry[afirst + 1] = (png_byte)green;
2213 entry[afirst + bgr] = (png_byte)red;
2217 entry[1 ^ afirst] = (png_byte)alpha;
2220 entry[afirst] = (png_byte)green;
2266 * selected by six levels of alpha. One transparent entry, 6 gray
2270 * relevant entry.
2276 * entry = (231 * gray + 128) >> 8;
2281 * entry = 0;
2286 * entry = PNG_DIV51(gray);
2464 * corresponding color-map entry using the format from 'image',
2480 /* Else this entry is transparent. The colors don't matter if
2509 * entries are required. This means that the extra entry requires
2551 /* And make sure the corresponding palette entry
2588 * transparent entry or by the background color at full
2596 /* And set (overwrite) color-map entry 254 to the actual
2641 * background entry (for a transparent pixel) and a set of four six
2646 * If the background is gray, however, we only need a 256 entry gray
2647 * level color map. It is sufficient to make the entry generated
2666 /* And make sure the corresponding palette entry matches. */
2792 * color-map entry.
2842 * it. Achieve this simply by ensuring that the entry
2849 * encoding then set this palette entry to the required
2858 /* And make sure the corresponding palette entry contains
2869 /* And make sure the corresponding palette entry matches.
2920 /* Add a transparent entry. */
2956 * pick up this entry automatically that's all that is
2986 /* Compare the newly-created color-map entry with the one the
3093 /* Must compose the PNG file color in the color-map entry
3279 unsigned int entry;
3287 entry = (231 * gray + 128) >> 8;
3291 entry = 231;
3295 entry = 226 + 6 * PNG_DIV51(alpha) + PNG_DIV51(gray);
3298 *outrow = (png_byte)entry;
3347 * and b. We could select the entry by popcount on