Lines Matching refs:PNG_COLOR_MASK_COLOR
425 if (png_get_color_type(o_png_ptr, info_ptr) & ~(PNG_COLOR_MASK_COLOR | PNG_COLOR_MASK_ALPHA)) in PNG_Image()
469 if ((png_get_color_type(o_png_ptr, info_ptr) & PNG_COLOR_MASK_COLOR) == PNG_COLOR_TYPE_GRAY) in PNG_Image()
480 if (png_get_color_type(o_png_ptr, info_ptr) & PNG_COLOR_MASK_COLOR) in PNG_Image()
506 png_stride = png_get_color_type(o_png_ptr, info_ptr) & PNG_COLOR_MASK_COLOR ? 3 : 1; in PNG_Image()
586 if (color_type & PNG_COLOR_MASK_COLOR) in PNG_Image()
636 png_stride = color_type & PNG_COLOR_MASK_COLOR ? 3 : 1; in PNG_Image()
1039 if ((color_type & PNG_COLOR_MASK_COLOR) == PNG_COLOR_TYPE_GRAY) in Write_Line()
1093 if ((color_type & PNG_COLOR_MASK_COLOR) == PNG_COLOR_TYPE_GRAY) in Write_Line()
1124 if ((color_type & PNG_COLOR_MASK_COLOR) == PNG_COLOR_TYPE_GRAY) in Write_Line()
1178 if ((color_type & PNG_COLOR_MASK_COLOR) == PNG_COLOR_TYPE_GRAY) in Write_Line()
1327 if ((color_type & PNG_COLOR_MASK_COLOR) == PNG_COLOR_TYPE_GRAY) in Read_Line()
1511 else if((color_type & PNG_COLOR_MASK_COLOR) == PNG_COLOR_TYPE_GRAY) in Read_Png_Image()
1614 if((color_type & PNG_COLOR_MASK_COLOR) == PNG_COLOR_TYPE_GRAY) in Read_Png_Image()