Lines Matching defs:width
227 status_t read_ppm_header(BDataIO* io, int* width, int* rowbytes, int* height,
229 status_t read_bits_header(BDataIO* io, int skipped, int* width, int* rowbytes,
257 int width, rowbytes, height, max;
260 status_t err = read_ppm_header(inSource, &width, &rowbytes, &height, &max,
307 int width, rowbytes, height, max;
313 status_t err = read_ppm_header(inSource, &width, &rowbytes, &height, &max,
339 out_rowbytes = 3 * width;
362 out_rowbytes = calc_rowbytes(out_space, width);
384 sprintf(data, "%d %d %d\n", width, height, max);
397 hdr.bounds.right = B_HOST_TO_BENDIAN_FLOAT(width - 1);
402 dprintf(("rowBytes is %d, width %d, out_space %x, space %x\n",
403 out_rowbytes, width, out_space, space));
409 = new BBitmap(BRect(0, 0, width - 1, height - 1), out_space);
639 read_ppm_header(BDataIO* inSource, int* width, int* rowbytes, int* height,
654 inSource, 2, width, rowbytes, height, max, ascii, space);
720 scan = width;
724 *rowbytes = (*width + 7) / 8;
726 *rowbytes = *width;
728 *rowbytes = *width * 3;
769 read_bits_header(BDataIO* io, int skipped, int* width, int* rowbytes,
801 *width = (int) hdr.bounds.Width() + 1;