Lines Matching refs:bit_width
526 pixel_cmp(png_const_bytep pa, png_const_bytep pb, png_uint_32 bit_width) in pixel_cmp() argument
529 if (memcmp(pa, pb, bit_width>>3) == 0) in pixel_cmp()
533 if ((bit_width & 7) == 0) return 0; in pixel_cmp()
536 p = pa[bit_width >> 3]; in pixel_cmp()
537 p ^= pb[bit_width >> 3]; in pixel_cmp()
544 bit_width &= 7; in pixel_cmp()
545 p >>= 8-bit_width; in pixel_cmp()
553 if (memcmp(pa, pb, (bit_width+7)>>3) == 0) in pixel_cmp()
3650 size_row(png_byte buffer[SIZE_ROWMAX], png_uint_32 bit_width, png_uint_32 y) in size_row() argument
3657 while (bit_width >= 8) in size_row()
3658 *buffer++ = (png_byte)y++, bit_width -= 8; in size_row()
3663 if (bit_width > 0) in size_row()
3665 png_uint_32 mask = (1U<<(8-bit_width))-1; in size_row()
4255 png_uint_32 bit_width; /* Width of output row in bits */ member
4296 dp->bit_width = 0; in standard_display_init()
4638 dp->bit_width = png_get_image_width(pp, pi) * dp->pixel_size; in standard_info_part2()
4642 if (dp->cbRow != (dp->bit_width+7)/8) in standard_info_part2()
4957 dp->bit_width)) != 0) in standard_row_validate()
4975 dp->bit_width)) != 0) in standard_row_validate()