Home | History | Annotate | Download | only in libpng16

Lines Matching defs:bgr

1142    /* Flip the RGB pixels to BGR (or RGBA to BGRA) */
1866 const int bgr = (image->format & PNG_FORMAT_FLAG_BGR) != 0 ? 2 : 0;
1868 # define bgr 0
1900 entry[afirst + (2 ^ bgr)] = (png_uint_16)blue;
1902 entry[afirst + bgr] = (png_uint_16)red;
1937 entry[afirst + (2 ^ bgr)] = (png_byte)blue;
1939 entry[afirst + bgr] = (png_byte)red;
1956 # ifdef bgr
1957 # undef bgr
3888 /* Check only the output format; PNG is never BGR; don't do this if
4008 * converted to G, RGB or BGR as appropriate. The 'local_row' member of the