Lines Matching refs:afirst
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()
1880 palette[i].red = entry[afirst + bgr]; in png_image_set_PLTE()
1884 tRNS[i] = entry[1 ^ afirst]; in png_image_set_PLTE()
1890 entry[afirst]; in png_image_set_PLTE()
1899 # ifdef afirst in png_image_set_PLTE()
1900 # undef afirst in png_image_set_PLTE()