Lines Matching defs:row
326 png_do_read_intrapixel(png_row_infop row_info, png_bytep row)
350 for (i = 0, rp = row; i < row_width; i++, rp += bytes_per_pixel)
370 for (i = 0, rp = row; i < row_width; i++, rp += bytes_per_pixel)
388 png_read_row(png_structrp png_ptr, png_bytep row, png_bytep dsp_row)
395 png_debug2(1, "in png_read_row (row %lu, pass %d)",
405 row_info.width = png_ptr->iwidth; /* NOTE: width of current interlaced row */
455 /* If interlaced and we do not need a new row, combine row and return.
544 png_error(png_ptr, "Invalid attempt to read row data");
546 /* Fill the row with IDAT data: */
585 png_error(png_ptr, "sequential row overflow");
589 png_error(png_ptr, "internal sequential row size calculation error");
603 if (row != NULL)
604 png_combine_row(png_ptr, row, 0/*row*/);
610 if (row != NULL)
611 png_combine_row(png_ptr, row, -1/*ignored*/);
632 * "row" holds the actual image, and pixels are placed in it
650 png_read_rows(png_structrp png_ptr, png_bytepp row,
662 rp = row;
725 png_error(png_ptr, "sequential row overflow");
729 png_error(png_ptr, "internal sequential row size calculation error");
767 png_error(png_ptr, "sequential row overflow");
771 png_error(png_ptr, "internal sequential row size calculation error");
790 png_debug2(1, "in png_read_muilty_rows (row %lu, pass %d)",
794 png_error(png_ptr, "Invalid attempt to read row data");
796 /* Fill the row with IDAT data: */
848 png_error(png_ptr, "sequential row overflow");
852 png_error(png_ptr, "internal sequential row size calculation error");
2585 /* output_processing means that the libpng-processed row will be
3208 * form. There is a local row buffer in display->local and this routine must
3240 /* The row may be empty for a short image: */
3266 /* Now process the row according to the processing option, note
3464 * the output buffer, otherwise allocate a local row buffer of the maximum
3488 png_voidp row = png_malloc(png_ptr, png_get_rowbytes(png_ptr, info_ptr));
3490 display->local_row = row;
3493 png_free(png_ptr, row);
3505 png_bytep row = png_voidcast(png_bytep, display->first_row);
3509 png_read_row(png_ptr, row, NULL);
3510 row += row_bytes;
3518 /* Just the row reading part of png_image_read. */
3557 /* The row may be empty for a short image: */
3581 /* Read the row, which is packed: */
3588 /* Now do the composition on each pixel in this row. */
3644 * row and handles the removal or pre-multiplication of the alpha channel.
3700 * to be removed by composing on a background: either the row if
3710 png_bytep row = png_voidcast(png_bytep, display->first_row);
3716 /* The row may be empty for a short image: */
3742 /* Read the row, which is packed: */
3745 /* Now do the composition on each pixel in this row. */
3787 /* Read the row, which is packed: */
3790 /* Now do the composition on each pixel in this row. */
3816 row += display->row_bytes;
3855 /* The row may be empty for a short image: */
3879 /* Read the row, which is packed: */
3884 /* Now do the pre-multiplication on each pixel in this row.
4113 else /* compose on row: implemented below. */
4291 * a local row buffer. The output will be GA, RGBA or BGRA and must be
4319 png_voidp row = png_malloc(png_ptr, png_get_rowbytes(png_ptr, info_ptr));
4321 display->local_row = row;
4324 png_free(png_ptr, row);
4332 png_voidp row = png_malloc(png_ptr, png_get_rowbytes(png_ptr, info_ptr));
4334 display->local_row = row;
4337 png_free(png_ptr, row);
4349 png_bytep row = png_voidcast(png_bytep, display->first_row);
4353 png_read_row(png_ptr, row, NULL);
4354 row += row_bytes;
4376 * either 1 or 2 bytes in size the length of a row can still overflow 32