Lines Matching refs:row_width
2386 png_uint_32 row_width=row_info->width; in png_do_unpack() local
2392 png_bytep sp = row + (png_size_t)((row_width - 1) >> 3); in png_do_unpack()
2393 png_bytep dp = row + (png_size_t)row_width - 1; in png_do_unpack()
2394 png_uint_32 shift = 7 - (int)((row_width + 7) & 0x07); in png_do_unpack()
2395 for (i = 0; i < row_width; i++) in png_do_unpack()
2416 png_bytep sp = row + (png_size_t)((row_width - 1) >> 2); in png_do_unpack()
2417 png_bytep dp = row + (png_size_t)row_width - 1; in png_do_unpack()
2418 png_uint_32 shift = (int)((3 - ((row_width + 3) & 0x03)) << 1); in png_do_unpack()
2419 for (i = 0; i < row_width; i++) in png_do_unpack()
2439 png_bytep sp = row + (png_size_t)((row_width - 1) >> 1); in png_do_unpack()
2440 png_bytep dp = row + (png_size_t)row_width - 1; in png_do_unpack()
2441 png_uint_32 shift = (int)((1 - ((row_width + 1) & 0x01)) << 2); in png_do_unpack()
2442 for (i = 0; i < row_width; i++) in png_do_unpack()
2465 row_info->rowbytes = row_width * row_info->channels; in png_do_unpack()
2707 png_uint_32 row_width = row_info->width; in png_do_read_swap_alpha() local
2718 for (i = 0; i < row_width; i++) in png_do_read_swap_alpha()
2737 for (i = 0; i < row_width; i++) in png_do_read_swap_alpha()
2764 for (i = 0; i < row_width; i++) in png_do_read_swap_alpha()
2781 for (i = 0; i < row_width; i++) in png_do_read_swap_alpha()
2801 png_uint_32 row_width; in png_do_read_invert_alpha() local
2804 row_width = row_info->width; in png_do_read_invert_alpha()
2814 for (i = 0; i < row_width; i++) in png_do_read_invert_alpha()
2837 for (i = 0; i < row_width; i++) in png_do_read_invert_alpha()
2866 for (i = 0; i < row_width; i++) in png_do_read_invert_alpha()
2881 for (i = 0; i < row_width; i++) in png_do_read_invert_alpha()
2905 png_uint_32 row_width = row_info->width; in png_do_read_filler() local
2922 png_bytep sp = row + (png_size_t)row_width; in png_do_read_filler()
2923 png_bytep dp = sp + (png_size_t)row_width; in png_do_read_filler()
2924 for (i = 1; i < row_width; i++) in png_do_read_filler()
2932 row_info->rowbytes = row_width * 2; in png_do_read_filler()
2938 png_bytep sp = row + (png_size_t)row_width; in png_do_read_filler()
2939 png_bytep dp = sp + (png_size_t)row_width; in png_do_read_filler()
2940 for (i = 0; i < row_width; i++) in png_do_read_filler()
2947 row_info->rowbytes = row_width * 2; in png_do_read_filler()
2957 png_bytep sp = row + (png_size_t)row_width * 2; in png_do_read_filler()
2958 png_bytep dp = sp + (png_size_t)row_width * 2; in png_do_read_filler()
2959 for (i = 1; i < row_width; i++) in png_do_read_filler()
2970 row_info->rowbytes = row_width * 4; in png_do_read_filler()
2976 png_bytep sp = row + (png_size_t)row_width * 2; in png_do_read_filler()
2977 png_bytep dp = sp + (png_size_t)row_width * 2; in png_do_read_filler()
2978 for (i = 0; i < row_width; i++) in png_do_read_filler()
2987 row_info->rowbytes = row_width * 4; in png_do_read_filler()
2999 png_bytep sp = row + (png_size_t)row_width * 3; in png_do_read_filler()
3000 png_bytep dp = sp + (png_size_t)row_width; in png_do_read_filler()
3001 for (i = 1; i < row_width; i++) in png_do_read_filler()
3011 row_info->rowbytes = row_width * 4; in png_do_read_filler()
3017 png_bytep sp = row + (png_size_t)row_width * 3; in png_do_read_filler()
3018 png_bytep dp = sp + (png_size_t)row_width; in png_do_read_filler()
3019 for (i = 0; i < row_width; i++) in png_do_read_filler()
3028 row_info->rowbytes = row_width * 4; in png_do_read_filler()
3038 png_bytep sp = row + (png_size_t)row_width * 6; in png_do_read_filler()
3039 png_bytep dp = sp + (png_size_t)row_width * 2; in png_do_read_filler()
3040 for (i = 1; i < row_width; i++) in png_do_read_filler()
3055 row_info->rowbytes = row_width * 8; in png_do_read_filler()
3061 png_bytep sp = row + (png_size_t)row_width * 6; in png_do_read_filler()
3062 png_bytep dp = sp + (png_size_t)row_width * 2; in png_do_read_filler()
3063 for (i = 0; i < row_width; i++) in png_do_read_filler()
3077 row_info->rowbytes = row_width * 8; in png_do_read_filler()
3091 png_uint_32 row_width = row_info->width; in png_do_gray_to_rgb() local
3103 png_bytep sp = row + (png_size_t)row_width - 1; in png_do_gray_to_rgb()
3104 png_bytep dp = sp + (png_size_t)row_width * 2; in png_do_gray_to_rgb()
3105 for (i = 0; i < row_width; i++) in png_do_gray_to_rgb()
3116 png_bytep sp = row + (png_size_t)row_width * 2 - 1; in png_do_gray_to_rgb()
3117 png_bytep dp = sp + (png_size_t)row_width * 4; in png_do_gray_to_rgb()
3118 for (i = 0; i < row_width; i++) in png_do_gray_to_rgb()
3135 png_bytep sp = row + (png_size_t)row_width * 2 - 1; in png_do_gray_to_rgb()
3136 png_bytep dp = sp + (png_size_t)row_width * 2; in png_do_gray_to_rgb()
3137 for (i = 0; i < row_width; i++) in png_do_gray_to_rgb()
3149 png_bytep sp = row + (png_size_t)row_width * 4 - 1; in png_do_gray_to_rgb()
3150 png_bytep dp = sp + (png_size_t)row_width * 4; in png_do_gray_to_rgb()
3151 for (i = 0; i < row_width; i++) in png_do_gray_to_rgb()
3168 row_info->rowbytes = PNG_ROWBYTES(row_info->pixel_depth, row_width); in png_do_gray_to_rgb()
3240 PNG_CONST png_uint_32 row_width = row_info->width; in png_do_rgb_to_gray() local
3258 for (i = 0; i < row_width; i++) in png_do_rgb_to_gray()
3297 for (i = 0; i < row_width; i++) in png_do_rgb_to_gray()
3330 for (i = 0; i < row_width; i++) in png_do_rgb_to_gray()
3381 for (i = 0; i < row_width; i++) in png_do_rgb_to_gray()
3415 row_info->rowbytes = PNG_ROWBYTES(row_info->pixel_depth, row_width); in png_do_rgb_to_gray()
3501 png_uint_32 row_width = row_info->width; in png_do_compose() local
3518 for (i = 0; i < row_width; i++) in png_do_compose()
3546 for (i = 0; i < row_width; i++) in png_do_compose()
3580 for (i = 0; i < row_width; i++) in png_do_compose()
3609 for (i = 0; i < row_width; i++) in png_do_compose()
3643 for (i = 0; i < row_width; i++) in png_do_compose()
3671 for (i = 0; i < row_width; i++, sp++) in png_do_compose()
3684 for (i = 0; i < row_width; i++, sp++) in png_do_compose()
3699 for (i = 0; i < row_width; i++, sp += 2) in png_do_compose()
3726 for (i = 0; i < row_width; i++, sp += 2) in png_do_compose()
3758 for (i = 0; i < row_width; i++, sp += 3) in png_do_compose()
3781 for (i = 0; i < row_width; i++, sp += 3) in png_do_compose()
3800 for (i = 0; i < row_width; i++, sp += 6) in png_do_compose()
3847 for (i = 0; i < row_width; i++, sp += 6) in png_do_compose()
3886 for (i = 0; i < row_width; i++, sp += 2) in png_do_compose()
3915 for (i = 0; i < row_width; i++, sp += 2) in png_do_compose()
3934 for (i = 0; i < row_width; i++, sp += 4) in png_do_compose()
3975 for (i = 0; i < row_width; i++, sp += 4) in png_do_compose()
4011 for (i = 0; i < row_width; i++, sp += 4) in png_do_compose()
4055 for (i = 0; i < row_width; i++, sp += 4) in png_do_compose()
4086 for (i = 0; i < row_width; i++, sp += 8) in png_do_compose()
4159 for (i = 0; i < row_width; i++, sp += 8) in png_do_compose()
4228 png_uint_32 row_width=row_info->width; in png_do_gamma() local
4242 for (i = 0; i < row_width; i++) in png_do_gamma()
4256 for (i = 0; i < row_width; i++) in png_do_gamma()
4284 for (i = 0; i < row_width; i++) in png_do_gamma()
4302 for (i = 0; i < row_width; i++) in png_do_gamma()
4328 for (i = 0; i < row_width; i++) in png_do_gamma()
4338 for (i = 0; i < row_width; i++) in png_do_gamma()
4354 for (i = 0; i < row_width; i += 4) in png_do_gamma()
4373 for (i = 0; i < row_width; i += 2) in png_do_gamma()
4387 for (i = 0; i < row_width; i++) in png_do_gamma()
4397 for (i = 0; i < row_width; i++) in png_do_gamma()
4423 png_uint_32 row_width = row_info->width; in png_do_encode_alpha() local
4441 for (; row_width > 0; --row_width, row += step) in png_do_encode_alpha()
4461 for (; row_width > 0; --row_width, row += step) in png_do_encode_alpha()
4493 png_uint_32 row_width=row_info->width; in png_do_expand_palette() local
4505 sp = row + (png_size_t)((row_width - 1) >> 3); in png_do_expand_palette()
4506 dp = row + (png_size_t)row_width - 1; in png_do_expand_palette()
4507 shift = 7 - (int)((row_width + 7) & 0x07); in png_do_expand_palette()
4508 for (i = 0; i < row_width; i++) in png_do_expand_palette()
4532 sp = row + (png_size_t)((row_width - 1) >> 2); in png_do_expand_palette()
4533 dp = row + (png_size_t)row_width - 1; in png_do_expand_palette()
4534 shift = (int)((3 - ((row_width + 3) & 0x03)) << 1); in png_do_expand_palette()
4535 for (i = 0; i < row_width; i++) in png_do_expand_palette()
4555 sp = row + (png_size_t)((row_width - 1) >> 1); in png_do_expand_palette()
4556 dp = row + (png_size_t)row_width - 1; in png_do_expand_palette()
4557 shift = (int)((row_width & 0x01) << 2); in png_do_expand_palette()
4558 for (i = 0; i < row_width; i++) in png_do_expand_palette()
4581 row_info->rowbytes = row_width; in png_do_expand_palette()
4589 sp = row + (png_size_t)row_width - 1; in png_do_expand_palette()
4590 dp = row + (png_size_t)(row_width << 2) - 1; in png_do_expand_palette()
4592 for (i = 0; i < row_width; i++) in png_do_expand_palette()
4607 row_info->rowbytes = row_width * 4; in png_do_expand_palette()
4614 sp = row + (png_size_t)row_width - 1; in png_do_expand_palette()
4615 dp = row + (png_size_t)(row_width * 3) - 1; in png_do_expand_palette()
4617 for (i = 0; i < row_width; i++) in png_do_expand_palette()
4627 row_info->rowbytes = row_width * 3; in png_do_expand_palette()
4646 png_uint_32 row_width=row_info->width; in png_do_expand() local
4662 sp = row + (png_size_t)((row_width - 1) >> 3); in png_do_expand()
4663 dp = row + (png_size_t)row_width - 1; in png_do_expand()
4664 shift = 7 - (int)((row_width + 7) & 0x07); in png_do_expand()
4665 for (i = 0; i < row_width; i++) in png_do_expand()
4690 sp = row + (png_size_t)((row_width - 1) >> 2); in png_do_expand()
4691 dp = row + (png_size_t)row_width - 1; in png_do_expand()
4692 shift = (int)((3 - ((row_width + 3) & 0x03)) << 1); in png_do_expand()
4693 for (i = 0; i < row_width; i++) in png_do_expand()
4715 sp = row + (png_size_t)((row_width - 1) >> 1); in png_do_expand()
4716 dp = row + (png_size_t)row_width - 1; in png_do_expand()
4717 shift = (int)((1 - ((row_width + 1) & 0x01)) << 2); in png_do_expand()
4718 for (i = 0; i < row_width; i++) in png_do_expand()
4742 row_info->rowbytes = row_width; in png_do_expand()
4750 sp = row + (png_size_t)row_width - 1; in png_do_expand()
4751 dp = row + (png_size_t)(row_width << 1) - 1; in png_do_expand()
4753 for (i = 0; i < row_width; i++) in png_do_expand()
4771 for (i = 0; i < row_width; i++) in png_do_expand()
4794 row_width); in png_do_expand()
4805 dp = row + (png_size_t)(row_width << 2) - 1; in png_do_expand()
4806 for (i = 0; i < row_width; i++) in png_do_expand()
4828 dp = row + (png_size_t)(row_width << 3) - 1; in png_do_expand()
4829 for (i = 0; i < row_width; i++) in png_do_expand()
4859 row_info->rowbytes = PNG_ROWBYTES(row_info->pixel_depth, row_width); in png_do_expand()
4903 png_uint_32 row_width=row_info->width; in png_do_quantize() local
4914 for (i = 0; i < row_width; i++) in png_do_quantize()
4942 row_info->rowbytes = PNG_ROWBYTES(row_info->pixel_depth, row_width); in png_do_quantize()
4951 for (i = 0; i < row_width; i++) in png_do_quantize()
4973 row_info->rowbytes = PNG_ROWBYTES(row_info->pixel_depth, row_width); in png_do_quantize()
4981 for (i = 0; i < row_width; i++, sp++) in png_do_quantize()
5002 png_uint_32 row_width = row_info->width; in png_do_read_intrapixel() local
5018 for (i = 0, rp = row; i < row_width; i++, rp += bytes_per_pixel) in png_do_read_intrapixel()
5038 for (i = 0, rp = row; i < row_width; i++, rp += bytes_per_pixel) in png_do_read_intrapixel()