Lines Matching refs:row
2 /* pngrtran.c - transforms the data in a row for PNG readers
1305 * row loop.
1432 * earlier and the palette stuff is actually handled on the first row. This
2075 /* Transform the row. The order of transformations is significant,
2086 /* Prior to 1.5.4 this output row/pass where the NULL pointer is, but this
2090 png_error(png_ptr, "NULL row buffer");
2105 png_error(png_ptr, "Uninitialized row");
2349 /* png_uint_32 width; width of row */
2350 /* png_size_t rowbytes; number of bytes in row */
2355 png_ptr->row_buf + 1); /* start of pixel data for row */
2373 * without changing the actual values. Thus, if you had a row with
2379 png_do_unpack(png_row_infop row_info, png_bytep row)
2392 png_bytep sp = row + (png_size_t)((row_width - 1) >> 3);
2393 png_bytep dp = row + (png_size_t)row_width - 1;
2416 png_bytep sp = row + (png_size_t)((row_width - 1) >> 2);
2417 png_bytep dp = row + (png_size_t)row_width - 1;
2439 png_bytep sp = row + (png_size_t)((row_width - 1) >> 1);
2440 png_bytep dp = row + (png_size_t)row_width - 1;
2473 * a row of bit depth 8, but only 5 are significant, this will shift
2477 png_do_unshift(png_row_infop row_info, png_bytep row,
2540 png_bytep bp = row;
2555 png_bytep bp = row;
2573 png_bytep bp = row;
2591 png_bytep bp = row;
2616 png_do_scale_16_to_8(png_row_infop row_info, png_bytep row)
2622 png_bytep sp = row; /* source */
2623 png_bytep dp = row; /* destination */
2677 png_do_chop(png_row_infop row_info, png_bytep row)
2683 png_bytep sp = row; /* source */
2684 png_bytep dp = row; /* destination */
2702 png_do_read_swap_alpha(png_row_infop row_info, png_bytep row)
2713 png_bytep sp = row + row_info->rowbytes;
2732 png_bytep sp = row + row_info->rowbytes;
2759 png_bytep sp = row + row_info->rowbytes;
2776 png_bytep sp = row + row_info->rowbytes;
2799 png_do_read_invert_alpha(png_row_infop row_info, png_bytep row)
2810 png_bytep sp = row + row_info->rowbytes;
2833 png_bytep sp = row + row_info->rowbytes;
2862 png_bytep sp = row + row_info->rowbytes;
2877 png_bytep sp = row + row_info->rowbytes;
2901 png_do_read_filler(png_row_infop row_info, png_bytep row,
2922 png_bytep sp = row + (png_size_t)row_width;
2938 png_bytep sp = row + (png_size_t)row_width;
2957 png_bytep sp = row + (png_size_t)row_width * 2;
2976 png_bytep sp = row + (png_size_t)row_width * 2;
2999 png_bytep sp = row + (png_size_t)row_width * 3;
3017 png_bytep sp = row + (png_size_t)row_width * 3;
3038 png_bytep sp = row + (png_size_t)row_width * 6;
3061 png_bytep sp = row + (png_size_t)row_width * 6;
3088 png_do_gray_to_rgb(png_row_infop row_info, png_bytep row)
3103 png_bytep sp = row + (png_size_t)row_width - 1;
3116 png_bytep sp = row + (png_size_t)row_width * 2 - 1;
3135 png_bytep sp = row + (png_size_t)row_width * 2 - 1;
3149 png_bytep sp = row + (png_size_t)row_width * 4 - 1;
3227 png_do_rgb_to_gray(png_structp png_ptr, png_row_infop row_info, png_bytep row)
3254 png_bytep sp = row;
3255 png_bytep dp = row;
3293 png_bytep sp = row;
3294 png_bytep dp = row;
3326 png_bytep sp = row;
3327 png_bytep dp = row;
3377 png_bytep sp = row;
3378 png_bytep dp = row;
3487 png_do_compose(png_row_infop row_info, png_bytep row, png_structp png_ptr)
3516 sp = row;
3544 sp = row;
3578 sp = row;
3607 sp = row;
3641 sp = row;
3670 sp = row;
3683 sp = row;
3698 sp = row;
3725 sp = row;
3757 sp = row;
3780 sp = row;
3799 sp = row;
3846 sp = row;
3885 row;
3914 sp = row;
3933 sp = row;
3974 sp = row;
4010 sp = row;
4054 sp = row;
4085 sp = row;
4158 sp = row;
4220 png_do_gamma(png_row_infop row_info, png_bytep row, png_structp png_ptr)
4241 sp = row;
4255 sp = row;
4283 sp = row;
4301 sp = row;
4327 sp = row;
4337 sp = row;
4353 sp = row;
4372 sp = row;
4386 sp = row;
4396 sp = row;
4421 png_do_encode_alpha(png_row_infop row_info, png_bytep row, png_structp png_ptr)
4439 row += step - 1;
4441 for (; row_width > 0; --row_width, row += step)
4442 *row = table[*row];
4459 row += step - 2;
4461 for (; row_width > 0; --row_width, row += step)
4465 v = table[*(row + 1) >> gamma_shift][*row];
4466 *row = (png_byte)((v >> 8) & 0xff);
4467 *(row + 1) = (png_byte)(v & 0xff);
4483 /* Expands a palette row to an RGB or RGBA row depending
4487 png_do_expand_palette(png_row_infop row_info, png_bytep row,
4505 sp = row + (png_size_t)((row_width - 1) >> 3);
4506 dp = row + (png_size_t)row_width - 1;
4532 sp = row + (png_size_t)((row_width - 1) >> 2);
4533 dp = row + (png_size_t)row_width - 1;
4555 sp = row + (png_size_t)((row_width - 1) >> 1);
4556 dp = row + (png_size_t)row_width - 1;
4589 sp = row + (png_size_t)row_width - 1;
4590 dp = row + (png_size_t)(row_width << 2) - 1;
4614 sp = row + (png_size_t)row_width - 1;
4615 dp = row + (png_size_t)(row_width * 3) - 1;
4640 png_do_expand(png_row_infop row_info, png_bytep row,
4662 sp = row + (png_size_t)((row_width - 1) >> 3);
4663 dp = row + (png_size_t)row_width - 1;
4690 sp = row + (png_size_t)((row_width - 1) >> 2);
4691 dp = row + (png_size_t)row_width - 1;
4715 sp = row + (png_size_t)((row_width - 1) >> 1);
4716 dp = row + (png_size_t)row_width - 1;
4750 sp = row + (png_size_t)row_width - 1;
4751 dp = row + (png_size_t)(row_width << 1) - 1;
4769 sp = row + row_info->rowbytes - 1;
4770 dp = row + (row_info->rowbytes << 1) - 1;
4804 sp = row + (png_size_t)row_info->rowbytes - 1;
4805 dp = row + (png_size_t)(row_width << 2) - 1;
4827 sp = row + row_info->rowbytes - 1;
4828 dp = row + (png_size_t)(row_width << 3) - 1;
4867 * whole row to 16 bits. Has no effect otherwise.
4870 png_do_expand_16(png_row_infop row_info, png_bytep row)
4875 /* The row have a sequence of bytes containing [0..255] and we need
4876 * to turn it into another row containing [0..65535], to do this we
4884 png_byte *sp = row + row_info->rowbytes; /* source, last byte + 1 */
4898 png_do_quantize(png_row_infop row_info, png_bytep row,
4912 sp = row;
4913 dp = row;
4949 sp = row;
4950 dp = row;
4979 sp = row;
4994 png_do_read_intrapixel(png_row_infop row_info, png_bytep row)
5018 for (i = 0, rp = row; i < row_width; i++, rp += bytes_per_pixel)
5038 for (i = 0, rp = row; i < row_width; i++, rp += bytes_per_pixel)