Lines Matching refs:sbit
1265 png_write_sBIT(png_structrp png_ptr, png_const_color_8p sbit, int color_type) in png_write_sBIT() argument
1280 if (sbit->red == 0 || sbit->red > maxbits || in png_write_sBIT()
1281 sbit->green == 0 || sbit->green > maxbits || in png_write_sBIT()
1282 sbit->blue == 0 || sbit->blue > maxbits) in png_write_sBIT()
1288 buf[0] = sbit->red; in png_write_sBIT()
1289 buf[1] = sbit->green; in png_write_sBIT()
1290 buf[2] = sbit->blue; in png_write_sBIT()
1296 if (sbit->gray == 0 || sbit->gray > png_ptr->usr_bit_depth) in png_write_sBIT()
1302 buf[0] = sbit->gray; in png_write_sBIT()
1308 if (sbit->alpha == 0 || sbit->alpha > png_ptr->usr_bit_depth) in png_write_sBIT()
1314 buf[size++] = sbit->alpha; in png_write_sBIT()