Lines Matching refs:output_encoding
1761 const int output_encoding = (image->format & PNG_FORMAT_FLAG_LINEAR) != 0 ? in png_create_colormap_entry() local
1791 if (convert_to_Y != 0 || output_encoding == P_LINEAR) in png_create_colormap_entry()
1819 (convert_to_Y != 0 || output_encoding == P_LINEAR)) in png_create_colormap_entry()
1840 if (output_encoding == P_LINEAR) in png_create_colormap_entry()
1856 else if (output_encoding == P_sRGB) in png_create_colormap_entry()
1866 if (encoding != output_encoding) in png_create_colormap_entry()
1883 if (output_encoding == P_LINEAR) in png_create_colormap_entry()
2092 const int output_encoding = (output_format & PNG_FORMAT_FLAG_LINEAR) != 0 ? in png_image_read_colormap() local
2117 if (output_encoding == P_LINEAR) /* compose on black */ in png_image_read_colormap()
2141 else if (output_encoding == P_LINEAR) in png_image_read_colormap()
2199 back_alpha = output_encoding == P_LINEAR ? 65535 : 255; in png_image_read_colormap()
2229 back_alpha, output_encoding); in png_image_read_colormap()
2286 if (output_encoding == P_LINEAR) in png_image_read_colormap()
2320 back_alpha = output_encoding == P_LINEAR ? 65535 : 255; in png_image_read_colormap()
2339 back_alpha, output_encoding); in png_image_read_colormap()
2401 if (output_encoding == P_LINEAR) in png_image_read_colormap()
2451 output_encoding == P_LINEAR ? 65535U : 255U, in png_image_read_colormap()
2453 output_encoding); in png_image_read_colormap()
2463 if (output_encoding == P_sRGB) /* else already linear */ in png_image_read_colormap()
2591 if (output_encoding == P_sRGB) in png_image_read_colormap()
2601 back_g, 0/*unused*/, output_encoding); in png_image_read_colormap()
2604 else if (output_encoding == P_LINEAR) in png_image_read_colormap()
2709 back_g, back_b, 0/*unused*/, output_encoding); in png_image_read_colormap()
2711 if (output_encoding == P_LINEAR) in png_image_read_colormap()
2752 back_r, output_encoding), in png_image_read_colormap()
2754 back_g, output_encoding), in png_image_read_colormap()
2756 back_b, output_encoding), in png_image_read_colormap()
2757 0/*unused*/, output_encoding); in png_image_read_colormap()
2828 back_b, 0, output_encoding); in png_image_read_colormap()
2837 P_FILE, trans[i], back_r, output_encoding), in png_image_read_colormap()
2839 P_FILE, trans[i], back_g, output_encoding), in png_image_read_colormap()
2841 P_FILE, trans[i], back_b, output_encoding), in png_image_read_colormap()
2842 output_encoding == P_LINEAR ? trans[i] * 257U : in png_image_read_colormap()
2844 output_encoding); in png_image_read_colormap()