Home | History | Annotate | Download | only in libpng-1.2.19

Lines Matching full:pixel_bytes

2299 #define BPP3  3 /* bytes per pixel (a.k.a. pixel_bytes) */
2987 png_size_t pixel_bytes;
2990 pixel_bytes = (row_info->pixel_depth >> 3);
2993 sptr = row + (width - 1) * pixel_bytes;
2996 dp = row + (final_width - 1) * pixel_bytes;
3000 /* GRR 19991007: does it? or should pixel_bytes in each
3004 if (pixel_bytes == 1)
3016 else if (pixel_bytes == 3)
3031 else if (pixel_bytes == 2)
3046 else if (pixel_bytes == 4)
3069 else if (pixel_bytes == 6)
3084 else if (pixel_bytes == 8)
3105 png_memcpy(v, sptr, pixel_bytes);
3108 png_memcpy(dp, v, pixel_bytes);
3109 dp -= pixel_bytes;
3111 sptr -= pixel_bytes;
3493 png_size_t pixel_bytes = (png_ptr->row_info.pixel_depth >> 3);
3503 png_memcpy(dp, sp, pixel_bytes);
3506 sp += pixel_bytes;
3507 dp += pixel_bytes;
3715 png_size_t pixel_bytes = (row_info->pixel_depth >> 3);
3716 png_bytep sp = row + (png_size_t)(row_info->width - 1) * pixel_bytes;
3717 png_bytep dp = row + (png_size_t)(final_width - 1) * pixel_bytes;
3727 png_memcpy(v, sp, pixel_bytes);
3730 png_memcpy(dp, v, pixel_bytes);
3731 dp -= pixel_bytes;
3733 sp -= pixel_bytes;