Searched refs:afirst (Results 1 – 4 of 4) sorted by relevance
/external/pdfium/third_party/libpng16/ |
D | pngwrite.c | 1784 const int afirst = (format & PNG_FORMAT_FLAG_AFIRST) != 0 && in png_image_set_PLTE() local 1787 # define afirst 0 in png_image_set_PLTE() macro 1833 png_uint_16 alpha = entry[afirst ? 0 : channels-1]; in png_image_set_PLTE() 1850 palette[i].blue = png_unpremultiply(entry[afirst + (2 ^ bgr)], in png_image_set_PLTE() 1852 palette[i].green = png_unpremultiply(entry[afirst + 1], alpha, in png_image_set_PLTE() 1854 palette[i].red = png_unpremultiply(entry[afirst + bgr], alpha, in png_image_set_PLTE() 1860 png_unpremultiply(entry[afirst], alpha, reciprocal); in png_image_set_PLTE() 1873 tRNS[i] = entry[afirst ? 0 : 3]; in png_image_set_PLTE() 1878 palette[i].blue = entry[afirst + (2 ^ bgr)]; in png_image_set_PLTE() 1879 palette[i].green = entry[afirst + 1]; in png_image_set_PLTE() [all …]
|
D | pngread.c | 1860 const int afirst = (image->format & PNG_FORMAT_FLAG_AFIRST) != 0 && in png_create_colormap_entry() local 1863 # define afirst 0 in png_create_colormap_entry() 1884 entry[afirst ? 0 : 3] = (png_uint_16)alpha; in png_create_colormap_entry() 1900 entry[afirst + (2 ^ bgr)] = (png_uint_16)blue; in png_create_colormap_entry() 1901 entry[afirst + 1] = (png_uint_16)green; in png_create_colormap_entry() 1902 entry[afirst + bgr] = (png_uint_16)red; in png_create_colormap_entry() 1906 entry[1 ^ afirst] = (png_uint_16)alpha; in png_create_colormap_entry() 1918 entry[afirst] = (png_uint_16)green; in png_create_colormap_entry() 1935 entry[afirst ? 0 : 3] = (png_byte)alpha; in png_create_colormap_entry() 1937 entry[afirst + (2 ^ bgr)] = (png_byte)blue; in png_create_colormap_entry() [all …]
|
/external/libpng/ |
D | pngwrite.c | 1797 const int afirst = (format & PNG_FORMAT_FLAG_AFIRST) != 0 && in png_image_set_PLTE() local 1800 # define afirst 0 in png_image_set_PLTE() macro 1846 png_uint_16 alpha = entry[afirst ? 0 : channels-1]; in png_image_set_PLTE() 1863 palette[i].blue = png_unpremultiply(entry[afirst + (2 ^ bgr)], in png_image_set_PLTE() 1865 palette[i].green = png_unpremultiply(entry[afirst + 1], alpha, in png_image_set_PLTE() 1867 palette[i].red = png_unpremultiply(entry[afirst + bgr], alpha, in png_image_set_PLTE() 1873 png_unpremultiply(entry[afirst], alpha, reciprocal); in png_image_set_PLTE() 1886 tRNS[i] = entry[afirst ? 0 : 3]; in png_image_set_PLTE() 1891 palette[i].blue = entry[afirst + (2 ^ bgr)]; in png_image_set_PLTE() 1892 palette[i].green = entry[afirst + 1]; in png_image_set_PLTE() [all …]
|
D | pngread.c | 1872 const int afirst = (image->format & PNG_FORMAT_FLAG_AFIRST) != 0 && in png_create_colormap_entry() local 1875 # define afirst 0 in png_create_colormap_entry() 1896 entry[afirst ? 0 : 3] = (png_uint_16)alpha; in png_create_colormap_entry() 1912 entry[afirst + (2 ^ bgr)] = (png_uint_16)blue; in png_create_colormap_entry() 1913 entry[afirst + 1] = (png_uint_16)green; in png_create_colormap_entry() 1914 entry[afirst + bgr] = (png_uint_16)red; in png_create_colormap_entry() 1918 entry[1 ^ afirst] = (png_uint_16)alpha; in png_create_colormap_entry() 1930 entry[afirst] = (png_uint_16)green; in png_create_colormap_entry() 1947 entry[afirst ? 0 : 3] = (png_byte)alpha; in png_create_colormap_entry() 1950 entry[afirst + (2 ^ bgr)] = (png_byte)blue; in png_create_colormap_entry() [all …]
|