Lines Matching refs:pass

395    png_debug2(1, "in png_read_row (row %lu, pass %d)",
396 (unsigned long)png_ptr->row_number, png_ptr->pass);
399 * interlace pass.
413 if (png_ptr->row_number == 0 && png_ptr->pass == 0)
464 switch (png_ptr->pass)
596 if (png_ptr->pass < 6)
597 png_do_read_interlace(&row_info, png_ptr->row_buf + 1, png_ptr->pass,
619 (*(png_ptr->read_row_fn))(png_ptr, png_ptr->row_number, png_ptr->pass);
627 * contain the contents of the rows from the previous pass. If the
633 * as they arrive. If the image is displayed after each pass, it will
636 * available. If you do not want this "chunky" display, you may pass
638 * you have not called png_handle_alpha(), you may pass NULL for rows.
644 * be ignored, so pass NULL to it.
737 (*(png_ptr->read_row_fn))(png_ptr, png_ptr->row_number, png_ptr->pass);
779 (*(png_ptr->read_row_fn))(png_ptr, png_ptr->row_number, png_ptr->pass);
790 png_debug2(1, "in png_read_muilty_rows (row %lu, pass %d)",
791 (unsigned long)png_ptr->row_number, png_ptr->pass);
860 (*(png_ptr->read_row_fn))(png_ptr, png_ptr->row_number, png_ptr->pass);
918 * each pass of a interlaced image, use png_read_rows() instead.
926 int pass, j;
937 pass = png_set_interlace_handling(png_ptr);
956 /* Obtain the pass number, which also turns on the PNG_INTERLACE flag in
959 pass = png_set_interlace_handling(png_ptr);
966 pass = 1;
1002 for (j = 0; j < pass; j++)
2482 * harm to pass them in; the values are not set above so this
3231 int pass;
3233 for (pass = 0; pass < passes; ++pass)
3241 if (PNG_PASS_COLS(width, pass) == 0)
3244 startx = PNG_PASS_START_COL(pass);
3245 stepx = PNG_PASS_COL_OFFSET(pass);
3246 y = PNG_PASS_START_ROW(pass);
3247 stepy = PNG_PASS_ROW_OFFSET(pass);
3548 int pass;
3550 for (pass = 0; pass < passes; ++pass)
3558 if (PNG_PASS_COLS(width, pass) == 0)
3561 startx = PNG_PASS_START_COL(pass) * channels;
3562 stepx = PNG_PASS_COL_OFFSET(pass) * channels;
3563 y = PNG_PASS_START_ROW(pass);
3564 stepy = PNG_PASS_ROW_OFFSET(pass);
3656 int pass, passes;
3708 for (pass = 0; pass < passes; ++pass)
3717 if (PNG_PASS_COLS(width, pass) == 0)
3720 startx = PNG_PASS_START_COL(pass);
3721 stepx = PNG_PASS_COL_OFFSET(pass);
3722 y = PNG_PASS_START_ROW(pass);
3723 stepy = PNG_PASS_ROW_OFFSET(pass);
3846 for (pass = 0; pass < passes; ++pass)
3856 if (PNG_PASS_COLS(width, pass) == 0)
3859 startx = PNG_PASS_START_COL(pass) * outchannels;
3860 stepx = PNG_PASS_COL_OFFSET(pass) * outchannels;
3861 y = PNG_PASS_START_ROW(pass);
3862 stepy = PNG_PASS_ROW_OFFSET(pass);
4396 * if the app did actually pass in a non-zero 'row_stride'.