Lines Matching defs:row_info

2334        (png_size_t)PNG_ROWBYTES(png_ptr->row_info.pixel_depth,png_ptr->width));
2338 switch (png_ptr->row_info.pixel_depth)
2341 case 24: /* png_ptr->row_info.pixel_depth */
2384 case 32: /* png_ptr->row_info.pixel_depth */
2427 case 8: /* png_ptr->row_info.pixel_depth */
2469 case 1: /* png_ptr->row_info.pixel_depth */
2526 case 2: /* png_ptr->row_info.pixel_depth */
2581 case 4: /* png_ptr->row_info.pixel_depth */
2635 case 16: /* png_ptr->row_info.pixel_depth */
2680 case 48: /* png_ptr->row_info.pixel_depth */
2721 case 64: /* png_ptr->row_info.pixel_depth */
2761 default: /* png_ptr->row_info.pixel_depth != 1,2,4,8,16,24,32,48,64 */
2764 png_warning(png_ptr, "Invalid row_info.pixel_depth in pngrutil");
2767 } /* end switch (png_ptr->row_info.pixel_depth) */
2795 png_row_infop row_info = &(png_ptr->row_info);
2803 if (row != NULL && row_info != NULL)
2807 final_width = row_info->width * png_pass_inc[pass];
2809 switch (row_info->pixel_depth)
2820 sp = row + (png_size_t)((row_info->width - 1) >> 3);
2825 sshift = (int)((row_info->width + 7) & 7);
2834 sshift = 7 - (int)((row_info->width + 7) & 7);
2841 for (i = row_info->width; i; i--)
2874 sp = row + (png_size_t)((row_info->width - 1) >> 2);
2879 sshift = (png_size_t)(((row_info->width + 3) & 3) << 1);
2888 sshift = (png_size_t)((3 - ((row_info->width + 3) & 3)) << 1);
2895 for (i = row_info->width; i; i--)
2931 sp = row + (png_size_t)((row_info->width - 1) >> 1);
2936 sshift = (png_size_t)(((row_info->width + 1) & 1) << 2);
2945 sshift = (png_size_t)((1 - ((row_info->width + 1) & 1)) << 2);
2952 for (i = row_info->width; i; i--)
2988 int width = (int)row_info->width;
2990 pixel_bytes = (row_info->pixel_depth >> 3);
3118 } /* end switch (row_info->pixel_depth) */
3120 row_info->width = final_width;
3122 row_info->rowbytes = PNG_ROWBYTES(row_info->pixel_depth,final_width);
3143 png_read_filter_row(png_structp png_ptr, png_row_infop row_info, png_bytep
3185 png_debug2(0, "pixdepth=%2d, bytes=%d, ", (int)row_info->pixel_depth,
3186 (int)((row_info->pixel_depth + 7) >> 3));
3187 png_debug1(0,"rowbytes=%8ld\n", row_info->rowbytes);
3198 png_uint_32 istop = row_info->rowbytes;
3199 png_uint_32 bpp = (row_info->pixel_depth + 7) >> 3;
3214 png_uint_32 istop = row_info->rowbytes;
3232 png_uint_32 bpp = (row_info->pixel_depth + 7) >> 3;
3233 png_uint_32 istop = row_info->rowbytes - bpp;
3258 png_uint_32 bpp = (row_info->pixel_depth + 7) >> 3;
3259 png_uint_32 istop = row_info->rowbytes - bpp;
3326 PNG_ROWBYTES(png_ptr->row_info.pixel_depth, png_ptr->width));
3330 switch (png_ptr->row_info.pixel_depth)
3493 png_size_t pixel_bytes = (png_ptr->row_info.pixel_depth >> 3);
3522 void png_do_read_interlace(png_row_infop row_info, png_bytep row, int pass,
3528 png_row_infop row_info = &(png_ptr->row_info);
3539 if (row != NULL && row_info != NULL)
3543 final_width = row_info->width * png_pass_inc[pass];
3545 switch (row_info->pixel_depth)
3549 png_bytep sp = row + (png_size_t)((row_info->width - 1) >> 3);
3561 sshift = (int)((row_info->width + 7) & 0x07);
3570 sshift = 7 - (int)((row_info->width + 7) & 0x07);
3577 for (i = 0; i < row_info->width; i++)
3604 png_bytep sp = row + (png_uint_32)((row_info->width - 1) >> 2);
3614 sshift = (int)(((row_info->width + 3) & 0x03) << 1);
3623 sshift = (int)((3 - ((row_info->width + 3) & 0x03)) << 1);
3630 for (i = 0; i < row_info->width; i++)
3660 png_bytep sp = row + (png_size_t)((row_info->width - 1) >> 1);
3670 sshift = (int)(((row_info->width + 1) & 0x01) << 2);
3679 sshift = (int)((1 - ((row_info->width + 1) & 0x01)) << 2);
3686 for (i = 0; i < row_info->width; i++)
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;
3722 for (i = 0; i < row_info->width; i++)
3738 row_info->width = final_width;
3739 row_info->rowbytes = PNG_ROWBYTES(row_info->pixel_depth,final_width);
3748 png_read_filter_row(png_structp png_ptr, png_row_infop row_info, png_bytep row,
3760 png_uint_32 istop = row_info->rowbytes;
3761 png_uint_32 bpp = (row_info->pixel_depth + 7) >> 3;
3775 png_uint_32 istop = row_info->rowbytes;
3792 png_uint_32 bpp = (row_info->pixel_depth + 7) >> 3;
3793 png_uint_32 istop = row_info->rowbytes - bpp;
3817 png_uint_32 bpp = (row_info->pixel_depth + 7) >> 3;
3818 png_uint_32 istop=row_info->rowbytes - bpp;