Searched refs:afirst (Results 1 – 2 of 2) sorted by relevance
1807 int afirst = (format & PNG_FORMAT_FLAG_AFIRST) != 0 && in png_image_set_PLTE() local1810 # define afirst 0 in png_image_set_PLTE() macro1856 png_uint_16 alpha = entry[afirst ? 0 : channels-1]; in png_image_set_PLTE()1896 tRNS[i] = entry[afirst ? 0 : 3]; in png_image_set_PLTE()1901 palette[i].blue = entry[afirst + (2 ^ bgr)]; in png_image_set_PLTE()1902 palette[i].green = entry[afirst + 1]; in png_image_set_PLTE()1903 palette[i].red = entry[afirst + bgr]; in png_image_set_PLTE()1907 tRNS[i] = entry[1 ^ afirst]; in png_image_set_PLTE()1913 entry[afirst]; in png_image_set_PLTE()1922 # ifdef afirst in png_image_set_PLTE()[all …]
1881 # define afirst 0 in png_create_colormap_entry()1919 entry[afirst + 1] = (png_uint_16)green; in png_create_colormap_entry()1920 entry[afirst + bgr] = (png_uint_16)red; in png_create_colormap_entry()1924 entry[1 ^ afirst] = (png_uint_16)alpha; in png_create_colormap_entry()1936 entry[afirst] = (png_uint_16)green; in png_create_colormap_entry()1957 entry[afirst + 1] = (png_byte)green; in png_create_colormap_entry()1958 entry[afirst + bgr] = (png_byte)red; in png_create_colormap_entry()1962 entry[1 ^ afirst] = (png_byte)alpha; in png_create_colormap_entry()1965 entry[afirst] = (png_byte)green; in png_create_colormap_entry()1973 # ifdef afirst in png_create_colormap_entry()[all …]