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/pdfium/samples/fx_lpng/lpng_v163/
Dfx_pngread.c1610 f = PNG_sRGB_FROM_LINEAR(f); in png_colormap_compose()
1662 red = PNG_sRGB_FROM_LINEAR(red * 255); in png_create_colormap_entry()
1663 green = PNG_sRGB_FROM_LINEAR(green * 255); in png_create_colormap_entry()
1664 blue = PNG_sRGB_FROM_LINEAR(blue * 255); in png_create_colormap_entry()
1710 y = PNG_sRGB_FROM_LINEAR((y + 64) >> 7); in png_create_colormap_entry()
1719 red = PNG_sRGB_FROM_LINEAR(red * 255); in png_create_colormap_entry()
1720 green = PNG_sRGB_FROM_LINEAR(green * 255); in png_create_colormap_entry()
1721 blue = PNG_sRGB_FROM_LINEAR(blue * 255); in png_create_colormap_entry()
2147 gray = PNG_sRGB_FROM_LINEAR(gray * 255); in png_image_read_colormap()
2256 gray = PNG_sRGB_FROM_LINEAR(gray * 255); in png_image_read_colormap()
[all …]
Dfx_pngwrite.c1770 return (png_byte)PNG_sRGB_FROM_LINEAR(component); in png_unpremultiply()
1860 *out_ptr++ = (png_byte)PNG_sRGB_FROM_LINEAR(component); in png_write_image_8bit()
1918 palette[i].blue = (png_byte)PNG_sRGB_FROM_LINEAR(255 * in png_image_set_PLTE()
1920 palette[i].green = (png_byte)PNG_sRGB_FROM_LINEAR(255 * in png_image_set_PLTE()
1922 palette[i].red = (png_byte)PNG_sRGB_FROM_LINEAR(255 * in png_image_set_PLTE()
1928 (png_byte)PNG_sRGB_FROM_LINEAR(255 * *entry); in png_image_set_PLTE()
Dpngpriv.h806 #define PNG_sRGB_FROM_LINEAR(linear) ((png_byte)((png_sRGB_base[(linear)>>15] +\ macro
/external/libpng/
Dpngread.c1876 f = PNG_sRGB_FROM_LINEAR(f); in png_colormap_compose()
1928 red = PNG_sRGB_FROM_LINEAR(red * 255); in png_create_colormap_entry()
1929 green = PNG_sRGB_FROM_LINEAR(green * 255); in png_create_colormap_entry()
1930 blue = PNG_sRGB_FROM_LINEAR(blue * 255); in png_create_colormap_entry()
1976 y = PNG_sRGB_FROM_LINEAR((y + 64) >> 7); in png_create_colormap_entry()
1985 red = PNG_sRGB_FROM_LINEAR(red * 255); in png_create_colormap_entry()
1986 green = PNG_sRGB_FROM_LINEAR(green * 255); in png_create_colormap_entry()
1987 blue = PNG_sRGB_FROM_LINEAR(blue * 255); in png_create_colormap_entry()
2413 gray = PNG_sRGB_FROM_LINEAR(gray * 255); in png_image_read_colormap()
2522 gray = PNG_sRGB_FROM_LINEAR(gray * 255); in png_image_read_colormap()
[all …]
Dpngwrite.c1874 return (png_byte)PNG_sRGB_FROM_LINEAR(component); in png_unpremultiply()
1966 *out_ptr++ = (png_byte)PNG_sRGB_FROM_LINEAR(component); in png_write_image_8bit()
2025 palette[i].blue = (png_byte)PNG_sRGB_FROM_LINEAR(255 * in png_image_set_PLTE()
2027 palette[i].green = (png_byte)PNG_sRGB_FROM_LINEAR(255 * in png_image_set_PLTE()
2029 palette[i].red = (png_byte)PNG_sRGB_FROM_LINEAR(255 * in png_image_set_PLTE()
2035 (png_byte)PNG_sRGB_FROM_LINEAR(255 * *entry); in png_image_set_PLTE()
Dpngpriv.h853 #define PNG_sRGB_FROM_LINEAR(linear) ((png_byte)((png_sRGB_base[(linear)>>15] +\ macro