• Home
  • Raw
  • Download

Lines Matching refs:gray

2037       unsigned int gray = (i * 256 + 115) / 231;  in make_ga_colormap()  local
2038 png_create_colormap_entry(display, i++, gray, gray, gray, 255, P_sRGB); in make_ga_colormap()
2202 trans = png_ptr->trans_color.gray; in png_image_read_colormap()
2290 png_uint_32 gray = back_g; in png_image_read_colormap() local
2294 gray = PNG_sRGB_FROM_LINEAR(gray * 255); in png_image_read_colormap()
2299 png_create_colormap_entry(display, gray, back_g, back_g, in png_image_read_colormap()
2307 c.gray = c.red = c.green = c.blue = (png_uint_16)gray; in png_image_read_colormap()
2400 png_uint_32 gray = back_g; in png_image_read_colormap() local
2409 gray = PNG_sRGB_FROM_LINEAR(gray * 255); in png_image_read_colormap()
2412 png_create_colormap_entry(display, gray, back_g, back_g, in png_image_read_colormap()
2420 c.gray = c.red = c.green = c.blue = (png_uint_16)gray; in png_image_read_colormap()
2442 png_uint_32 gray = (i * 256 + 115) / 231; in png_image_read_colormap() local
2443 png_create_colormap_entry(display, i++, gray, gray, gray, in png_image_read_colormap()
2494 png_uint_32 gray = png_sRGB_table[g*51] * alpha; in png_image_read_colormap() local
2497 PNG_sRGB_FROM_LINEAR(gray + back_rx), in png_image_read_colormap()
2498 PNG_sRGB_FROM_LINEAR(gray + back_gx), in png_image_read_colormap()
2499 PNG_sRGB_FROM_LINEAR(gray + back_bx), 255, P_sRGB); in png_image_read_colormap()
2583 png_uint_32 gray = back_g; in png_image_read_colormap() local
2598 gray = png_sRGB_table[gray]; /* now P_LINEAR */ in png_image_read_colormap()
2600 gray = PNG_DIV257(png_gamma_16bit_correct(gray, in png_image_read_colormap()
2606 png_create_colormap_entry(display, gray, back_g, back_g, in png_image_read_colormap()
2612 gray = PNG_sRGB_FROM_LINEAR(gray * 255); in png_image_read_colormap()
2616 png_create_colormap_entry(display, gray, back_g, back_g, in png_image_read_colormap()
2624 c.gray = c.red = c.green = c.blue = (png_uint_16)gray; in png_image_read_colormap()
2777 c.gray = c.green = (png_uint_16)back_g; in png_image_read_colormap()
3022 unsigned int gray = *inrow++; in png_image_read_and_map() local
3032 entry = (231 * gray + 128) >> 8; in png_image_read_and_map()
3040 entry = 226 + 6 * PNG_DIV51(alpha) + PNG_DIV51(gray); in png_image_read_and_map()
3050 png_byte gray = *inrow++; in png_image_read_and_map() local
3056 else if (gray != PNG_CMAP_TRANS_BACKGROUND) in png_image_read_and_map()
3057 *outrow = gray; in png_image_read_and_map()
3845 c.gray = display->background->green; in png_image_read_direct()