Home | History | Annotate | Download | only in libpng

Lines Matching defs:bgr

1132    /* Flip the RGB pixels to BGR (or RGBA to BGRA) */
1856 const int bgr = (image->format & PNG_FORMAT_FLAG_BGR) != 0 ? 2 : 0;
1858 # define bgr 0
1890 entry[afirst + (2 ^ bgr)] = (png_uint_16)blue;
1892 entry[afirst + bgr] = (png_uint_16)red;
1927 entry[afirst + (2 ^ bgr)] = (png_byte)blue;
1929 entry[afirst + bgr] = (png_byte)red;
1946 # ifdef bgr
1947 # undef bgr
3878 /* Check only the output format; PNG is never BGR; don't do this if
3998 * converted to G, RGB or BGR as appropriate. The 'local_row' member of the