Home | History | Annotate | Download | only in libpng16

Lines Matching defs:bpp

3129          /* For pixel depths up to 4 bpp the 8-pixel mask can be expanded to fit
3192 /* Combine 8 of these to get the full mask. For the 1-bpp and 2-bpp
3193 * cases the result needs replicating, for the 4-bpp case the above
3790 unsigned int bpp = (row_info->pixel_depth + 7) >> 3;
3791 png_bytep rp = row + bpp;
3795 for (i = bpp; i < istop; i++)
3797 *rp = (png_byte)(((int)(*rp) + (int)(*(rp-bpp))) & 0xff);
3825 unsigned int bpp = (row_info->pixel_depth + 7) >> 3;
3826 png_size_t istop = row_info->rowbytes - bpp;
3828 for (i = 0; i < bpp; i++)
3839 (int)(*pp++ + *(rp-bpp)) / 2 ) & 0xff);
3897 int bpp = (row_info->pixel_depth + 7) >> 3;
3898 png_bytep rp_end = row + bpp;
3910 rp_end += row_info->rowbytes - bpp;
3916 c = *(prev_row - bpp);
3917 a = *(row - bpp);
3953 unsigned int bpp = (pp->pixel_depth + 7) >> 3;
3958 if (bpp == 1)
3974 PNG_FILTER_OPTIMIZATIONS(pp, bpp);