Searched refs:bgr (Results 1 – 7 of 7) sorted by relevance
105 r = bgr[2] / 255.0f;106 g = bgr[1] / 255.0f;107 b = bgr[0] / 255.0f;122 r = bgr[2] / 255.0f;123 g = bgr[1] / 255.0f;124 b = bgr[0] / 255.0f;1312 float gray = (bgr[2] * 0.2126f + bgr[1] * 0.7152f + bgr[0] * 0.0722f) / 255.0f; in copypixels_to_32bppGrayFloat()1314 bgr += 4; in copypixels_to_32bppGrayFloat()1395 float gray = (bgr[2] * 0.2126f + bgr[1] * 0.7152f + bgr[0] * 0.0722f) / 255.0f; in copypixels_to_8bppGray()1399 bgr += 3; in copypixels_to_8bppGray()[all …]
1814 int bgr = (format & PNG_FORMAT_FLAG_BGR) != 0 ? 2 : 0; in png_image_set_PLTE() local1816 # define bgr 0 in png_image_set_PLTE() macro1842 entry[(2 ^ bgr)]); in png_image_set_PLTE()1846 entry[bgr]); in png_image_set_PLTE()1873 palette[i].blue = png_unpremultiply(entry[afirst + (2 ^ bgr)], in png_image_set_PLTE()1877 palette[i].red = png_unpremultiply(entry[afirst + bgr], alpha, in png_image_set_PLTE()1901 palette[i].blue = entry[afirst + (2 ^ bgr)]; in png_image_set_PLTE()1903 palette[i].red = entry[afirst + bgr]; in png_image_set_PLTE()1925 # ifdef bgr in png_image_set_PLTE()1926 # undef bgr in png_image_set_PLTE()
1884 int bgr = (image->format & PNG_FORMAT_FLAG_BGR) != 0 ? 2 : 0; in png_create_colormap_entry() local1886 # define bgr 0 in png_create_colormap_entry() macro1918 entry[afirst + (2 ^ bgr)] = (png_uint_16)blue; in png_create_colormap_entry()1920 entry[afirst + bgr] = (png_uint_16)red; in png_create_colormap_entry()1956 entry[afirst + (2 ^ bgr)] = (png_byte)blue; in png_create_colormap_entry()1958 entry[afirst + bgr] = (png_byte)red; in png_create_colormap_entry()1976 # ifdef bgr in png_create_colormap_entry()1977 # undef bgr in png_create_colormap_entry()
407 FT_Bool bgr; /* bgr instead of rgb? */ member
2395 FT_Bool bgr; in tt_loader_init()2475 exec->bgr = FALSE; in tt_loader_init()2486 exec->bgr = in tt_loader_init()
7466 if ( ( args[0] & 512 ) != 0 && exc->bgr ) in Ins_GETINFO()
47 #include "nls/bgr.nls" /* 0x0402 LANG_BULGARIAN, SUBLANG_DEFAULT */