Lines Matching refs:P_LINEAR

1389 #  define P_LINEAR  2 /* 16-bit linear: not encoded, NOT pre-multiplied! */  macro
1831 case P_LINEAR: in decode_gamma()
1865 if (encoding == P_LINEAR) in png_colormap_compose()
1891 P_LINEAR : P_sRGB; in png_create_colormap_entry()
1920 if (convert_to_Y || output_encoding == P_LINEAR) in png_create_colormap_entry()
1923 encoding = P_LINEAR; in png_create_colormap_entry()
1944 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()
1956 encoding = P_LINEAR; in png_create_colormap_entry()
1960 if (encoding == P_LINEAR) in png_create_colormap_entry()
1968 if (output_encoding == P_LINEAR) in png_create_colormap_entry()
2010 if (output_encoding == P_LINEAR) in png_create_colormap_entry()
2218 P_LINEAR : P_sRGB; in png_image_read_colormap()
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()
2411 if (output_encoding == P_LINEAR) in png_image_read_colormap()
2419 back_g, 65535, P_LINEAR); in png_image_read_colormap()
2440 back_alpha = output_encoding == P_LINEAR ? 65535 : 255; in png_image_read_colormap()
2520 if (output_encoding == P_LINEAR) in png_image_read_colormap()
2526 back_g, 65535, P_LINEAR); in png_image_read_colormap()
2565 output_encoding == P_LINEAR ? 65535U : 255U, output_encoding); in png_image_read_colormap()
2716 else if (output_encoding == P_LINEAR) in png_image_read_colormap()
2723 back_g, 0/*unused*/, P_LINEAR); in png_image_read_colormap()
2823 if (output_encoding == P_LINEAR) in png_image_read_colormap()
2954 output_encoding == P_LINEAR ? trans[i] * 257U : in png_image_read_colormap()