Lines Matching refs:rowbytes
129 ulg rowbytes;
647 /* calculate rowbytes on basis of image type; note that this becomes much
652 rowbytes = wpng_info.width;
654 rowbytes = wpng_info.width * 3;
656 rowbytes = wpng_info.width * 4;
668 ulg image_bytes = rowbytes * wpng_info.height; /* overflow? */
679 wpng_info.row_pointers[i] = wpng_info.image_data + i*rowbytes;
698 wpng_info.image_data = (uch *)malloc(rowbytes);
707 bytes = fread(wpng_info.image_data, 1, rowbytes, wpng_info.infile);
708 if (bytes != rowbytes) {
710 ": expected %lu bytes, got %lu bytes (row %ld)\n", rowbytes,