Searched refs:PNG_FORMAT_FLAG_LINEAR (Results 1 – 8 of 8) sorted by relevance
807 (PNG_FORMAT_FLAG_ALPHA|PNG_FORMAT_FLAG_COLOR|PNG_FORMAT_FLAG_LINEAR)1026 if (format & PNG_FORMAT_FLAG_LINEAR) in get_pixel()1957 PNG_FORMAT_FLAG_LINEAR == 42078 if (in_format & PNG_FORMAT_FLAG_LINEAR) in transform_from_formats()2083 result->output_8bit = (out_format & PNG_FORMAT_FLAG_LINEAR) == 0; in transform_from_formats()2101 if (out_format & (PNG_FORMAT_FLAG_LINEAR|PNG_FORMAT_FLAG_COLORMAP)) in transform_from_formats()2108 result->transform = gpc_fn[in_base][out_base | PNG_FORMAT_FLAG_LINEAR]; in transform_from_formats()2109 result->from_linear = gpc_fn[out_base | PNG_FORMAT_FLAG_LINEAR][out_base]; in transform_from_formats()2158 if (out_format & PNG_FORMAT_FLAG_LINEAR || via_linear) in transform_from_formats()2374 back_format |= PNG_FORMAT_FLAG_LINEAR; in logpixel()[all …]
1374 format |= PNG_FORMAT_FLAG_LINEAR; in png_image_format()1767 int output_encoding = (image->format & PNG_FORMAT_FLAG_LINEAR) != 0 ? in png_create_colormap_entry()2098 int output_encoding = (output_format & PNG_FORMAT_FLAG_LINEAR) != 0 ? in png_image_read_colormap()3418 if ((image->format & PNG_FORMAT_FLAG_LINEAR) == 0 && in png_image_read_background()3681 int linear = (format & PNG_FORMAT_FLAG_LINEAR) != 0; in png_image_read_direct()3737 if ((base_format & PNG_FORMAT_FLAG_LINEAR) != 0 && in png_image_read_direct()3804 if ((change & PNG_FORMAT_FLAG_LINEAR) != 0) in png_image_read_direct()3812 change &= ~PNG_FORMAT_FLAG_LINEAR; in png_image_read_direct()4005 info_format |= PNG_FORMAT_FLAG_LINEAR; in png_image_read_direct()
2780 #define PNG_FORMAT_FLAG_LINEAR 0x04U /* 2-byte channels else 1-byte */ macro2810 #define PNG_FORMAT_LINEAR_Y PNG_FORMAT_FLAG_LINEAR2811 #define PNG_FORMAT_LINEAR_Y_ALPHA (PNG_FORMAT_FLAG_LINEAR|PNG_FORMAT_FLAG_ALPHA)2812 #define PNG_FORMAT_LINEAR_RGB (PNG_FORMAT_FLAG_LINEAR|PNG_FORMAT_FLAG_COLOR)2814 (PNG_FORMAT_FLAG_LINEAR|PNG_FORMAT_FLAG_COLOR|PNG_FORMAT_FLAG_ALPHA)2851 ((((fmt) & PNG_FORMAT_FLAG_LINEAR) >> 2)+1)
1821 if ((format & PNG_FORMAT_FLAG_LINEAR) != 0) in png_image_set_PLTE()1941 int linear = !colormap && (format & PNG_FORMAT_FLAG_LINEAR); /* input */ in png_image_write_main()2086 if ((format & ~(png_uint_32)(PNG_FORMAT_FLAG_COLOR | PNG_FORMAT_FLAG_LINEAR | in png_image_write_main()
3873 PNG_FORMAT_FLAG_LINEAR flag below.3920 PNG_FORMAT_FLAG_LINEAR 2-byte channels else 1-byte