Lines Matching refs:out_format
2067 png_uint_32 in_format, out_format; in transform_from_formats() local
2077 out_format = out_image->image.format; in transform_from_formats()
2084 result->output_8bit = (out_format & PNG_FORMAT_FLAG_LINEAR) == 0; in transform_from_formats()
2091 result->out_gp = get_pixel(out_format); in transform_from_formats()
2096 out_format &= BASE_FORMATS | PNG_FORMAT_FLAG_COLORMAP; in transform_from_formats()
2097 out_base = out_format & BASE_FORMATS; in transform_from_formats()
2102 if (out_format & (PNG_FORMAT_FLAG_LINEAR|PNG_FORMAT_FLAG_COLORMAP)) in transform_from_formats()
2105 in_format, out_format); in transform_from_formats()
2111 result->error_ptr = gpc_error_via_linear[in_format][out_format]; in transform_from_formats()
2114 else if (~in_format & out_format & PNG_FORMAT_FLAG_COLORMAP) in transform_from_formats()
2133 if (in_format & out_format & PNG_FORMAT_FLAG_COLORMAP) in transform_from_formats()
2138 result->error_ptr = gpc_error[in_format][out_format]; in transform_from_formats()
2148 if (in_format & ~out_format & PNG_FORMAT_FLAG_ALPHA) in transform_from_formats()
2159 if (out_format & PNG_FORMAT_FLAG_LINEAR || via_linear) in transform_from_formats()
2161 if (out_format & PNG_FORMAT_FLAG_COLORMAP) in transform_from_formats()
2186 if (out_format & PNG_FORMAT_FLAG_COLOR) in transform_from_formats()
2213 else if ((out_format & PNG_FORMAT_FLAG_COLORMAP) == 0) in transform_from_formats()
2351 const png_uint_32 out_format = transform->out_image->image.format; in logpixel() local
2353 png_uint_32 back_format = out_format & ~PNG_FORMAT_FLAG_ALPHA; in logpixel()
2360 print_pixel(pixel_calc, calc, out_format); in logpixel()
2361 print_pixel(pixel_out, out, out_format); in logpixel()