Lines Matching refs:bit_width
644 pixel_cmp(png_const_bytep pa, png_const_bytep pb, png_uint_32 bit_width) in pixel_cmp() argument
647 if (memcmp(pa, pb, bit_width>>3) == 0) in pixel_cmp()
651 if ((bit_width & 7) == 0) return 0; in pixel_cmp()
654 p = pa[bit_width >> 3]; in pixel_cmp()
655 p ^= pb[bit_width >> 3]; in pixel_cmp()
662 bit_width &= 7; in pixel_cmp()
663 p >>= 8-bit_width; in pixel_cmp()
671 if (memcmp(pa, pb, (bit_width+7)>>3) == 0) in pixel_cmp()
4303 size_row(png_byte buffer[SIZE_ROWMAX], png_uint_32 bit_width, png_uint_32 y) in size_row() argument
4310 while (bit_width >= 8) in size_row()
4311 *buffer++ = (png_byte)y++, bit_width -= 8; in size_row()
4316 if (bit_width > 0) in size_row()
4318 png_uint_32 mask = (1U<<(8-bit_width))-1; in size_row()
4951 png_uint_32 bit_width; /* Width of output row in bits */ member
4994 dp->bit_width = 0; in standard_display_init()
5356 dp->bit_width = png_get_image_width(pp, pi) * dp->pixel_size; in standard_info_part2()
5360 if (dp->cbRow != (dp->bit_width+7)/8) in standard_info_part2()
5668 dp->bit_width)) != 0) in standard_row_validate()
5679 dp->bit_width)) != 0) in standard_row_validate()