Lines Matching refs:bp
2313 png_bytep bp = row; in png_do_unshift() local
2314 png_bytep bp_end = bp + row_info->rowbytes; in png_do_unshift()
2316 while (bp < bp_end) in png_do_unshift()
2318 int b = (*bp >> 1) & 0x55; in png_do_unshift()
2319 *bp++ = (png_byte)b; in png_do_unshift()
2328 png_bytep bp = row; in png_do_unshift() local
2329 png_bytep bp_end = bp + row_info->rowbytes; in png_do_unshift()
2335 while (bp < bp_end) in png_do_unshift()
2337 int b = (*bp >> gray_shift) & mask; in png_do_unshift()
2338 *bp++ = (png_byte)b; in png_do_unshift()
2346 png_bytep bp = row; in png_do_unshift() local
2347 png_bytep bp_end = bp + row_info->rowbytes; in png_do_unshift()
2350 while (bp < bp_end) in png_do_unshift()
2352 int b = *bp >> shift[channel]; in png_do_unshift()
2355 *bp++ = (png_byte)b; in png_do_unshift()
2364 png_bytep bp = row; in png_do_unshift() local
2365 png_bytep bp_end = bp + row_info->rowbytes; in png_do_unshift()
2368 while (bp < bp_end) in png_do_unshift()
2370 int value = (bp[0] << 8) + bp[1]; in png_do_unshift()
2375 *bp++ = (png_byte)(value >> 8); in png_do_unshift()
2376 *bp++ = (png_byte)value; in png_do_unshift()