Lines Matching refs:output_encoding
1749 const int output_encoding = (image->format & PNG_FORMAT_FLAG_LINEAR) != 0 ? in png_create_colormap_entry() local
1779 if (convert_to_Y != 0 || output_encoding == P_LINEAR) in png_create_colormap_entry()
1807 (convert_to_Y != 0 || output_encoding == P_LINEAR)) in png_create_colormap_entry()
1828 if (output_encoding == P_LINEAR) in png_create_colormap_entry()
1844 else if (output_encoding == P_sRGB) in png_create_colormap_entry()
1854 if (encoding != output_encoding) in png_create_colormap_entry()
1871 if (output_encoding == P_LINEAR) in png_create_colormap_entry()
2078 const int output_encoding = (output_format & PNG_FORMAT_FLAG_LINEAR) != 0 ? in png_image_read_colormap() local
2103 if (output_encoding == P_LINEAR) /* compose on black */ in png_image_read_colormap()
2127 else if (output_encoding == P_LINEAR) in png_image_read_colormap()
2185 back_alpha = output_encoding == P_LINEAR ? 65535 : 255; in png_image_read_colormap()
2215 back_alpha, output_encoding); in png_image_read_colormap()
2272 if (output_encoding == P_LINEAR) in png_image_read_colormap()
2306 back_alpha = output_encoding == P_LINEAR ? 65535 : 255; in png_image_read_colormap()
2325 back_alpha, output_encoding); in png_image_read_colormap()
2387 if (output_encoding == P_LINEAR) in png_image_read_colormap()
2437 output_encoding == P_LINEAR ? 65535U : 255U, in png_image_read_colormap()
2439 output_encoding); in png_image_read_colormap()
2449 if (output_encoding == P_sRGB) /* else already linear */ in png_image_read_colormap()
2577 if (output_encoding == P_sRGB) in png_image_read_colormap()
2587 back_g, 0/*unused*/, output_encoding); in png_image_read_colormap()
2590 else if (output_encoding == P_LINEAR) in png_image_read_colormap()
2695 back_g, back_b, 0/*unused*/, output_encoding); in png_image_read_colormap()
2697 if (output_encoding == P_LINEAR) in png_image_read_colormap()
2738 back_r, output_encoding), in png_image_read_colormap()
2740 back_g, output_encoding), in png_image_read_colormap()
2742 back_b, output_encoding), in png_image_read_colormap()
2743 0/*unused*/, output_encoding); in png_image_read_colormap()
2814 back_b, 0, output_encoding); in png_image_read_colormap()
2823 trans[i], back_r, output_encoding), in png_image_read_colormap()
2825 trans[i], back_g, output_encoding), in png_image_read_colormap()
2827 trans[i], back_b, output_encoding), in png_image_read_colormap()
2828 output_encoding == P_LINEAR ? trans[i] * 257U : in png_image_read_colormap()
2830 output_encoding); in png_image_read_colormap()