Lines Matching refs:output_encoding
1890 const int output_encoding = (image->format & PNG_FORMAT_FLAG_LINEAR) ? in png_create_colormap_entry() local
1920 if (convert_to_Y || output_encoding == P_LINEAR) in png_create_colormap_entry()
1947 else if (encoding == P_sRGB && (convert_to_Y || output_encoding == P_LINEAR)) in png_create_colormap_entry()
1968 if (output_encoding == P_LINEAR) in png_create_colormap_entry()
1983 else if (output_encoding == P_sRGB) in png_create_colormap_entry()
1993 if (encoding != output_encoding) in png_create_colormap_entry()
2010 if (output_encoding == P_LINEAR) in png_create_colormap_entry()
2217 const int output_encoding = (output_format & PNG_FORMAT_FLAG_LINEAR) ? in png_image_read_colormap() local
2242 if (output_encoding == P_LINEAR) /* compose on black */ in png_image_read_colormap()
2266 else if (output_encoding == P_LINEAR) in png_image_read_colormap()
2324 back_alpha = output_encoding == P_LINEAR ? 65535 : 255; in png_image_read_colormap()
2354 back_alpha, output_encoding); in png_image_read_colormap()
2411 if (output_encoding == P_LINEAR) in png_image_read_colormap()
2440 back_alpha = output_encoding == P_LINEAR ? 65535 : 255; in png_image_read_colormap()
2458 back_alpha, output_encoding); in png_image_read_colormap()
2520 if (output_encoding == P_LINEAR) in png_image_read_colormap()
2565 output_encoding == P_LINEAR ? 65535U : 255U, output_encoding); in png_image_read_colormap()
2575 if (output_encoding == P_sRGB) /* else already linear */ in png_image_read_colormap()
2703 if (output_encoding == P_sRGB) in png_image_read_colormap()
2713 back_g, 0/*unused*/, output_encoding); in png_image_read_colormap()
2716 else if (output_encoding == P_LINEAR) in png_image_read_colormap()
2821 back_g, back_b, 0/*unused*/, output_encoding); in png_image_read_colormap()
2823 if (output_encoding == P_LINEAR) in png_image_read_colormap()
2864 back_r, output_encoding), in png_image_read_colormap()
2866 back_g, output_encoding), in png_image_read_colormap()
2868 back_b, output_encoding), in png_image_read_colormap()
2869 0/*unused*/, output_encoding); in png_image_read_colormap()
2940 back_b, 0, output_encoding); in png_image_read_colormap()
2949 trans[i], back_r, output_encoding), in png_image_read_colormap()
2951 trans[i], back_g, output_encoding), in png_image_read_colormap()
2953 trans[i], back_b, output_encoding), in png_image_read_colormap()
2954 output_encoding == P_LINEAR ? trans[i] * 257U : in png_image_read_colormap()
2956 output_encoding); in png_image_read_colormap()