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 …]
1368 format |= PNG_FORMAT_FLAG_LINEAR; in png_image_format()1761 const int output_encoding = (image->format & PNG_FORMAT_FLAG_LINEAR) != 0 ? in png_create_colormap_entry()2092 const int output_encoding = (output_format & PNG_FORMAT_FLAG_LINEAR) != 0 ? in png_image_read_colormap()3412 if ((image->format & PNG_FORMAT_FLAG_LINEAR) == 0 && in png_image_read_background()3675 int linear = (format & PNG_FORMAT_FLAG_LINEAR) != 0; in png_image_read_direct()3731 if ((base_format & PNG_FORMAT_FLAG_LINEAR) != 0 && in png_image_read_direct()3798 if ((change & PNG_FORMAT_FLAG_LINEAR) != 0) in png_image_read_direct()3806 change &= ~PNG_FORMAT_FLAG_LINEAR; in png_image_read_direct()3999 info_format |= PNG_FORMAT_FLAG_LINEAR; in png_image_read_direct()
2811 #define PNG_FORMAT_FLAG_LINEAR 0x04U /* 2-byte channels else 1-byte */ macro2841 #define PNG_FORMAT_LINEAR_Y PNG_FORMAT_FLAG_LINEAR2842 #define PNG_FORMAT_LINEAR_Y_ALPHA (PNG_FORMAT_FLAG_LINEAR|PNG_FORMAT_FLAG_ALPHA)2843 #define PNG_FORMAT_LINEAR_RGB (PNG_FORMAT_FLAG_LINEAR|PNG_FORMAT_FLAG_COLOR)2845 (PNG_FORMAT_FLAG_LINEAR|PNG_FORMAT_FLAG_COLOR|PNG_FORMAT_FLAG_ALPHA)2882 ((((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()
3872 PNG_FORMAT_FLAG_LINEAR flag below.3919 PNG_FORMAT_FLAG_LINEAR 2-byte channels else 1-byte
1358 format |= PNG_FORMAT_FLAG_LINEAR; in png_image_format()1749 const int output_encoding = (image->format & PNG_FORMAT_FLAG_LINEAR) != 0 ? in png_create_colormap_entry()2078 const int output_encoding = (output_format & PNG_FORMAT_FLAG_LINEAR) != 0 ? in png_image_read_colormap()3399 if ((image->format & PNG_FORMAT_FLAG_LINEAR) == 0 && in png_image_read_background()3662 int linear = (format & PNG_FORMAT_FLAG_LINEAR) != 0; in png_image_read_direct()3718 if ((base_format & PNG_FORMAT_FLAG_LINEAR) != 0 && in png_image_read_direct()3779 if ((change & PNG_FORMAT_FLAG_LINEAR) != 0) in png_image_read_direct()3787 change &= ~PNG_FORMAT_FLAG_LINEAR; in png_image_read_direct()3976 info_format |= PNG_FORMAT_FLAG_LINEAR; in png_image_read_direct()
2799 #define PNG_FORMAT_FLAG_LINEAR 0x04U /* 2-byte channels else 1-byte */ macro2827 #define PNG_FORMAT_LINEAR_Y PNG_FORMAT_FLAG_LINEAR2828 #define PNG_FORMAT_LINEAR_Y_ALPHA (PNG_FORMAT_FLAG_LINEAR|PNG_FORMAT_FLAG_ALPHA)2829 #define PNG_FORMAT_LINEAR_RGB (PNG_FORMAT_FLAG_LINEAR|PNG_FORMAT_FLAG_COLOR)2831 (PNG_FORMAT_FLAG_LINEAR|PNG_FORMAT_FLAG_COLOR|PNG_FORMAT_FLAG_ALPHA)2868 ((((fmt) & PNG_FORMAT_FLAG_LINEAR) >> 2)+1)
1808 if ((format & PNG_FORMAT_FLAG_LINEAR) != 0) in png_image_set_PLTE()1928 int linear = !colormap && (format & PNG_FORMAT_FLAG_LINEAR); /* input */ in png_image_write_main()2073 if ((format & ~(png_uint_32)(PNG_FORMAT_FLAG_COLOR | PNG_FORMAT_FLAG_LINEAR | in png_image_write_main()