Lines Matching refs:afirst
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()
1893 palette[i].red = entry[afirst + bgr]; in png_image_set_PLTE()
1897 tRNS[i] = entry[1 ^ afirst]; in png_image_set_PLTE()
1903 entry[afirst]; in png_image_set_PLTE()
1912 # ifdef afirst in png_image_set_PLTE()
1913 # undef afirst in png_image_set_PLTE()