Home
last modified time | relevance | path

Searched refs:PNG_sRGB_FROM_LINEAR (Results 1 – 7 of 7) sorted by relevance

/external/libpng/contrib/tools/
DmakesRGB.c156 unsigned int icalc = PNG_sRGB_FROM_LINEAR(i); in main()
228 unsigned int icalc = PNG_sRGB_FROM_LINEAR(i); in main()
309 unsigned int icalc = PNG_sRGB_FROM_LINEAR(i); in main()
341 unsigned int icalc = PNG_sRGB_FROM_LINEAR(i); in main()
366 unsigned int icalc = PNG_sRGB_FROM_LINEAR(i); in main()
/external/libpng/
Dpngread.c1747 f = PNG_sRGB_FROM_LINEAR(f); in png_colormap_compose()
1799 red = PNG_sRGB_FROM_LINEAR(red * 255); in png_create_colormap_entry()
1800 green = PNG_sRGB_FROM_LINEAR(green * 255); in png_create_colormap_entry()
1801 blue = PNG_sRGB_FROM_LINEAR(blue * 255); in png_create_colormap_entry()
1848 y = PNG_sRGB_FROM_LINEAR((y + 64) >> 7); in png_create_colormap_entry()
1858 red = PNG_sRGB_FROM_LINEAR(red * 255); in png_create_colormap_entry()
1859 green = PNG_sRGB_FROM_LINEAR(green * 255); in png_create_colormap_entry()
1860 blue = PNG_sRGB_FROM_LINEAR(blue * 255); in png_create_colormap_entry()
2288 gray = PNG_sRGB_FROM_LINEAR(gray * 255); in png_image_read_colormap()
2403 gray = PNG_sRGB_FROM_LINEAR(gray * 255); in png_image_read_colormap()
[all …]
Dpngwrite.c1679 return (png_byte)PNG_sRGB_FROM_LINEAR(component); in png_unpremultiply()
1772 *out_ptr++ = (png_byte)PNG_sRGB_FROM_LINEAR(component); in png_write_image_8bit()
1831 palette[i].blue = (png_byte)PNG_sRGB_FROM_LINEAR(255 * in png_image_set_PLTE()
1833 palette[i].green = (png_byte)PNG_sRGB_FROM_LINEAR(255 * in png_image_set_PLTE()
1835 palette[i].red = (png_byte)PNG_sRGB_FROM_LINEAR(255 * in png_image_set_PLTE()
1841 (png_byte)PNG_sRGB_FROM_LINEAR(255 * *entry); in png_image_set_PLTE()
Dpngpriv.h943 #define PNG_sRGB_FROM_LINEAR(linear) \ macro
/external/pdfium/third_party/libpng16/
Dpngread.c1735 f = PNG_sRGB_FROM_LINEAR(f); in png_colormap_compose()
1787 red = PNG_sRGB_FROM_LINEAR(red * 255); in png_create_colormap_entry()
1788 green = PNG_sRGB_FROM_LINEAR(green * 255); in png_create_colormap_entry()
1789 blue = PNG_sRGB_FROM_LINEAR(blue * 255); in png_create_colormap_entry()
1836 y = PNG_sRGB_FROM_LINEAR((y + 64) >> 7); in png_create_colormap_entry()
1846 red = PNG_sRGB_FROM_LINEAR(red * 255); in png_create_colormap_entry()
1847 green = PNG_sRGB_FROM_LINEAR(green * 255); in png_create_colormap_entry()
1848 blue = PNG_sRGB_FROM_LINEAR(blue * 255); in png_create_colormap_entry()
2274 gray = PNG_sRGB_FROM_LINEAR(gray * 255); in png_image_read_colormap()
2389 gray = PNG_sRGB_FROM_LINEAR(gray * 255); in png_image_read_colormap()
[all …]
Dpngwrite.c1667 return (png_byte)PNG_sRGB_FROM_LINEAR(component); in png_unpremultiply()
1759 *out_ptr++ = (png_byte)PNG_sRGB_FROM_LINEAR(component); in png_write_image_8bit()
1818 palette[i].blue = (png_byte)PNG_sRGB_FROM_LINEAR(255 * in png_image_set_PLTE()
1820 palette[i].green = (png_byte)PNG_sRGB_FROM_LINEAR(255 * in png_image_set_PLTE()
1822 palette[i].red = (png_byte)PNG_sRGB_FROM_LINEAR(255 * in png_image_set_PLTE()
1828 (png_byte)PNG_sRGB_FROM_LINEAR(255 * *entry); in png_image_set_PLTE()
Dpngpriv.h869 #define PNG_sRGB_FROM_LINEAR(linear) \ macro