Searched refs:output_encoding (Results 1 – 5 of 5) sorted by relevance
1624 const int output_encoding = (image->format & PNG_FORMAT_FLAG_LINEAR) ? in png_create_colormap_entry() local1654 if (convert_to_Y || output_encoding == E_LINEAR) in png_create_colormap_entry()1681 else if (encoding == E_sRGB && (convert_to_Y || output_encoding == E_LINEAR)) in png_create_colormap_entry()1702 if (output_encoding == E_LINEAR) in png_create_colormap_entry()1717 else if (output_encoding == E_sRGB) in png_create_colormap_entry()1727 if (encoding != output_encoding) in png_create_colormap_entry()1744 if (output_encoding == E_LINEAR) in png_create_colormap_entry()1951 const int output_encoding = (output_format & PNG_FORMAT_FLAG_LINEAR) ? in png_image_read_colormap() local1976 if (output_encoding == E_LINEAR) /* compose on black */ in png_image_read_colormap()2000 else if (output_encoding == E_LINEAR) in png_image_read_colormap()[all …]
1739 const int output_encoding = (image->format & PNG_FORMAT_FLAG_LINEAR) != 0 ? in png_create_colormap_entry() local1769 if (convert_to_Y != 0 || output_encoding == P_LINEAR) in png_create_colormap_entry()1797 (convert_to_Y != 0 || output_encoding == P_LINEAR)) in png_create_colormap_entry()1818 if (output_encoding == P_LINEAR) in png_create_colormap_entry()1834 else if (output_encoding == P_sRGB) in png_create_colormap_entry()1844 if (encoding != output_encoding) in png_create_colormap_entry()1861 if (output_encoding == P_LINEAR) in png_create_colormap_entry()2068 const int output_encoding = (output_format & PNG_FORMAT_FLAG_LINEAR) != 0 ? in png_image_read_colormap() local2093 if (output_encoding == P_LINEAR) /* compose on black */ in png_image_read_colormap()2117 else if (output_encoding == P_LINEAR) in png_image_read_colormap()[all …]
11 from coverage.misc import NotPython, CoverageException, output_encoding55 writeout = lambda u: outfile.write(u.encode(output_encoding()))
154 def output_encoding(outfile=None): function
73 output_encoding='utf-8',