Lines Matching defs:bpp
3104 /* For pixel depths up to 4 bpp the 8-pixel mask can be expanded to fit
3167 /* Combine 8 of these to get the full mask. For the 1-bpp and 2-bpp
3168 * cases the result needs replicating, for the 4-bpp case the above
3765 unsigned int bpp = (row_info->pixel_depth + 7) >> 3;
3766 png_bytep rp = row + bpp;
3770 for (i = bpp; i < istop; i++)
3772 *rp = (png_byte)(((int)(*rp) + (int)(*(rp-bpp))) & 0xff);
3800 unsigned int bpp = (row_info->pixel_depth + 7) >> 3;
3801 png_size_t istop = row_info->rowbytes - bpp;
3803 for (i = 0; i < bpp; i++)
3814 (int)(*pp++ + *(rp-bpp)) / 2 ) & 0xff);
3872 int bpp = (row_info->pixel_depth + 7) >> 3;
3873 png_bytep rp_end = row + bpp;
3885 rp_end += row_info->rowbytes - bpp;
3891 c = *(prev_row - bpp);
3892 a = *(row - bpp);
3928 unsigned int bpp = (pp->pixel_depth + 7) >> 3;
3933 if (bpp == 1)
3949 PNG_FILTER_OPTIMIZATIONS(pp, bpp);