/third_party/libpng/contrib/gregbook/ |
D | readppm.c | 145 ulg rowbytes; in readpng_get_image() local 154 *pRowbytes = rowbytes = channels*width; in readpng_get_image() 157 Trace((stderr, "readpng_get_image: rowbytes = %ld, height = %ld\n", rowbytes, height)); in readpng_get_image() 160 if (height > ((size_t)(-1))/rowbytes) { in readpng_get_image() 165 if ((image_data = (uch *)malloc(rowbytes*height)) == NULL) { in readpng_get_image() 171 if (fread(image_data, 1L, rowbytes*height, saved_infile) < in readpng_get_image() 172 rowbytes*height) { in readpng_get_image()
|
D | readpng.c | 211 png_uint_32 i, rowbytes; in readpng_get_image() local 264 *pRowbytes = rowbytes = png_get_rowbytes(png_ptr, info_ptr); in readpng_get_image() 268 if (height > ((size_t)(-1))/rowbytes) { in readpng_get_image() 273 if ((image_data = (uch *)malloc(rowbytes*height)) == NULL) { in readpng_get_image() 285 *pChannels, rowbytes, height)); in readpng_get_image() 291 row_pointers[i] = image_data + i*rowbytes; in readpng_get_image()
|
D | wpng.c | 167 ulg rowbytes; in main() local 690 rowbytes = wpng_info.width; in main() 692 rowbytes = wpng_info.width * 3; in main() 694 rowbytes = wpng_info.width * 4; in main() 709 if (wpng_info_height > ((size_t)(-1)/rowbytes || in main() 710 wpng_info_height > ((ulg)(-1)/rowbytes) { in main() 717 image_bytes = rowbytes * wpng_info.height; in main() 728 wpng_info.row_pointers[i] = wpng_info.image_data + i*rowbytes; in main() 747 wpng_info.image_data = (uch *)malloc(rowbytes); in main() 756 bytes = fread(wpng_info.image_data, 1, rowbytes, wpng_info.infile); in main() [all …]
|
/third_party/skia/third_party/externals/libpng/contrib/gregbook/ |
D | readppm.c | 145 ulg rowbytes; in readpng_get_image() local 154 *pRowbytes = rowbytes = channels*width; in readpng_get_image() 157 Trace((stderr, "readpng_get_image: rowbytes = %ld, height = %ld\n", rowbytes, height)); in readpng_get_image() 160 if (height > ((size_t)(-1))/rowbytes) { in readpng_get_image() 165 if ((image_data = (uch *)malloc(rowbytes*height)) == NULL) { in readpng_get_image() 171 if (fread(image_data, 1L, rowbytes*height, saved_infile) < in readpng_get_image() 172 rowbytes*height) { in readpng_get_image()
|
D | readpng.c | 211 png_uint_32 i, rowbytes; in readpng_get_image() local 264 *pRowbytes = rowbytes = png_get_rowbytes(png_ptr, info_ptr); in readpng_get_image() 268 if (height > ((size_t)(-1))/rowbytes) { in readpng_get_image() 273 if ((image_data = (uch *)malloc(rowbytes*height)) == NULL) { in readpng_get_image() 285 *pChannels, rowbytes, height)); in readpng_get_image() 291 row_pointers[i] = image_data + i*rowbytes; in readpng_get_image()
|
D | wpng.c | 167 ulg rowbytes; in main() local 690 rowbytes = wpng_info.width; in main() 692 rowbytes = wpng_info.width * 3; in main() 694 rowbytes = wpng_info.width * 4; in main() 709 if (wpng_info_height > ((size_t)(-1)/rowbytes || in main() 710 wpng_info_height > ((ulg)(-1)/rowbytes) { in main() 717 image_bytes = rowbytes * wpng_info.height; in main() 728 wpng_info.row_pointers[i] = wpng_info.image_data + i*rowbytes; in main() 747 wpng_info.image_data = (uch *)malloc(rowbytes); in main() 756 bytes = fread(wpng_info.image_data, 1, rowbytes, wpng_info.infile); in main() [all …]
|
/third_party/flutter/skia/third_party/externals/libpng/contrib/libtests/ |
D | makepng.c | 329 set_value(png_bytep row, size_t rowbytes, png_uint_32 x, unsigned int bit_depth, in set_value() argument 340 if (offset < rowbytes && (bit_depth < 16 || offset+1 < rowbytes)) in set_value() 390 generate_row(png_bytep row, size_t rowbytes, unsigned int y, int color_type, in generate_row() argument 410 assert(y == 0 && rowbytes == 1 && size_max == 1); in generate_row() 416 assert(y == 0 && rowbytes == 1 && size_max == 3); in generate_row() 422 assert(y == 0 && rowbytes == 8 && size_max == 15); in generate_row() 440 assert(y == 0 && rowbytes == 256 && size_max == 255); in generate_row() 479 assert(rowbytes == 512 && size_max == 255); in generate_row() 504 assert(size_max == 255 && rowbytes == 256*(pixel_depth>>3)); in generate_row() 506 while (rowbytes > 0) in generate_row() [all …]
|
D | readpng.c | 63 size_t rowbytes = png_get_rowbytes(png_ptr, info_ptr); in read_png() local 66 row = malloc(rowbytes); in read_png() 67 display = malloc(rowbytes); in read_png()
|
/third_party/skia/third_party/externals/libpng/contrib/libtests/ |
D | makepng.c | 329 set_value(png_bytep row, size_t rowbytes, png_uint_32 x, unsigned int bit_depth, in set_value() argument 340 if (offset < rowbytes && (bit_depth < 16 || offset+1 < rowbytes)) in set_value() 390 generate_row(png_bytep row, size_t rowbytes, unsigned int y, int color_type, in generate_row() argument 410 assert(y == 0 && rowbytes == 1 && size_max == 1); in generate_row() 416 assert(y == 0 && rowbytes == 1 && size_max == 3); in generate_row() 422 assert(y == 0 && rowbytes == 8 && size_max == 15); in generate_row() 440 assert(y == 0 && rowbytes == 256 && size_max == 255); in generate_row() 479 assert(rowbytes == 512 && size_max == 255); in generate_row() 504 assert(size_max == 255 && rowbytes == 256*(pixel_depth>>3)); in generate_row() 506 while (rowbytes > 0) in generate_row() [all …]
|
D | readpng.c | 63 size_t rowbytes = png_get_rowbytes(png_ptr, info_ptr); in read_png() local 66 row = malloc(rowbytes); in read_png() 67 display = malloc(rowbytes); in read_png()
|
/third_party/libpng/contrib/libtests/ |
D | makepng.c | 329 set_value(png_bytep row, size_t rowbytes, png_uint_32 x, unsigned int bit_depth, in set_value() argument 340 if (offset < rowbytes && (bit_depth < 16 || offset+1 < rowbytes)) in set_value() 390 generate_row(png_bytep row, size_t rowbytes, unsigned int y, int color_type, in generate_row() argument 410 assert(y == 0 && rowbytes == 1 && size_max == 1); in generate_row() 416 assert(y == 0 && rowbytes == 1 && size_max == 3); in generate_row() 422 assert(y == 0 && rowbytes == 8 && size_max == 15); in generate_row() 440 assert(y == 0 && rowbytes == 256 && size_max == 255); in generate_row() 479 assert(rowbytes == 512 && size_max == 255); in generate_row() 504 assert(size_max == 255 && rowbytes == 256*(pixel_depth>>3)); in generate_row() 506 while (rowbytes > 0) in generate_row() [all …]
|
D | readpng.c | 63 size_t rowbytes = png_get_rowbytes(png_ptr, info_ptr); in read_png() local 66 row = malloc(rowbytes); in read_png() 67 display = malloc(rowbytes); in read_png()
|
/third_party/skia/third_party/externals/libpng/arm/ |
D | filter_neon.S | 66 ldr r3, [r0, #4] @ rowbytes 82 ldr r3, [r0, #4] @ rowbytes 108 ldr r3, [r0, #4] @ rowbytes 121 ldr r12, [r0, #4] @ rowbytes 143 ldr r12, [r0, #4] @ rowbytes 193 ldr r12, [r0, #4] @ rowbytes 217 ldr r12, [r0, #4] @ rowbytes
|
D | filter_neon_intrinsics.c | 55 png_bytep rp_stop = row + row_info->rowbytes; in png_read_filter_row_up_neon() 76 png_bytep rp_stop = row + row_info->rowbytes; in png_read_filter_row_sub3_neon() 123 png_bytep rp_stop = row + row_info->rowbytes; in png_read_filter_row_sub4_neon() 156 png_bytep rp_stop = row + row_info->rowbytes; in png_read_filter_row_avg3_neon() 223 png_bytep rp_stop = row + row_info->rowbytes; in png_read_filter_row_avg4_neon() 293 png_bytep rp_stop = row + row_info->rowbytes; in png_read_filter_row_paeth3_neon() 360 png_bytep rp_stop = row + row_info->rowbytes; in png_read_filter_row_paeth4_neon()
|
/third_party/libpng/arm/ |
D | filter_neon.S | 66 ldr r3, [r0, #4] @ rowbytes 82 ldr r3, [r0, #4] @ rowbytes 108 ldr r3, [r0, #4] @ rowbytes 121 ldr r12, [r0, #4] @ rowbytes 143 ldr r12, [r0, #4] @ rowbytes 193 ldr r12, [r0, #4] @ rowbytes 217 ldr r12, [r0, #4] @ rowbytes
|
/third_party/flutter/skia/third_party/externals/libpng/arm/ |
D | filter_neon.S | 66 ldr r3, [r0, #4] @ rowbytes 82 ldr r3, [r0, #4] @ rowbytes 108 ldr r3, [r0, #4] @ rowbytes 121 ldr r12, [r0, #4] @ rowbytes 143 ldr r12, [r0, #4] @ rowbytes 193 ldr r12, [r0, #4] @ rowbytes 217 ldr r12, [r0, #4] @ rowbytes
|
/third_party/flutter/skia/third_party/externals/libpng/intel/ |
D | filter_sse2_intrinsics.c | 65 rb = row_info->rowbytes; in png_read_filter_row_sub3_sse2() 98 rb = row_info->rowbytes+4; in png_read_filter_row_sub4_sse2() 127 rb = row_info->rowbytes; in png_read_filter_row_avg3_sse2() 180 rb = row_info->rowbytes+4; in png_read_filter_row_avg4_sse2() 252 rb = row_info->rowbytes; in png_read_filter_row_paeth3_sse2() 352 rb = row_info->rowbytes+4; in png_read_filter_row_paeth4_sse2()
|
/third_party/libpng/intel/ |
D | filter_sse2_intrinsics.c | 65 rb = row_info->rowbytes; in png_read_filter_row_sub3_sse2() 98 rb = row_info->rowbytes+4; in png_read_filter_row_sub4_sse2() 127 rb = row_info->rowbytes; in png_read_filter_row_avg3_sse2() 180 rb = row_info->rowbytes+4; in png_read_filter_row_avg4_sse2() 252 rb = row_info->rowbytes; in png_read_filter_row_paeth3_sse2() 352 rb = row_info->rowbytes+4; in png_read_filter_row_paeth4_sse2()
|
/third_party/skia/third_party/externals/libpng/intel/ |
D | filter_sse2_intrinsics.c | 65 rb = row_info->rowbytes; in png_read_filter_row_sub3_sse2() 98 rb = row_info->rowbytes+4; in png_read_filter_row_sub4_sse2() 127 rb = row_info->rowbytes; in png_read_filter_row_avg3_sse2() 180 rb = row_info->rowbytes+4; in png_read_filter_row_avg4_sse2() 252 rb = row_info->rowbytes; in png_read_filter_row_paeth3_sse2() 352 rb = row_info->rowbytes+4; in png_read_filter_row_paeth4_sse2()
|
/third_party/flutter/skia/third_party/externals/libpng/ |
D | pngtrans.c | 273 size_t istop = row_info->rowbytes; in png_do_invert() 287 size_t istop = row_info->rowbytes; in png_do_invert() 302 size_t istop = row_info->rowbytes; in png_do_invert() 464 end = row + row_info->rowbytes; in png_do_packswap() 499 png_bytep ep = row + row_info->rowbytes; /* One beyond end of row */ in png_do_strip_channel() 612 row_info->rowbytes = (size_t)(dp-row); in png_do_strip_channel() 711 png_bytep rp = png_ptr->row_buf + row_info->rowbytes - 1; in png_do_check_palette_indexes()
|
D | pngrtran.c | 2128 info_ptr->rowbytes = PNG_ROWBYTES(info_ptr->pixel_depth, info_ptr->width); in png_read_transform_info() 2136 png_ptr->info_rowbytes = info_ptr->rowbytes; in png_read_transform_info() 2238 row_info->rowbytes = row_width * row_info->channels; in png_do_unpack() 2314 png_bytep bp_end = bp + row_info->rowbytes; in png_do_unshift() 2329 png_bytep bp_end = bp + row_info->rowbytes; in png_do_unshift() 2347 png_bytep bp_end = bp + row_info->rowbytes; in png_do_unshift() 2365 png_bytep bp_end = bp + row_info->rowbytes; in png_do_unshift() 2397 png_bytep ep = sp + row_info->rowbytes; /* end+1 */ in png_do_scale_16_to_8() 2440 row_info->rowbytes = row_info->width * row_info->channels; in png_do_scale_16_to_8() 2458 png_bytep ep = sp + row_info->rowbytes; /* end+1 */ in png_do_chop() [all …]
|
/third_party/skia/third_party/externals/libpng/ |
D | pngtrans.c | 273 size_t istop = row_info->rowbytes; in png_do_invert() 287 size_t istop = row_info->rowbytes; in png_do_invert() 302 size_t istop = row_info->rowbytes; in png_do_invert() 464 end = row + row_info->rowbytes; in png_do_packswap() 499 png_bytep ep = row + row_info->rowbytes; /* One beyond end of row */ in png_do_strip_channel() 612 row_info->rowbytes = (size_t)(dp-row); in png_do_strip_channel() 711 png_bytep rp = png_ptr->row_buf + row_info->rowbytes - 1; in png_do_check_palette_indexes()
|
D | pngrtran.c | 2128 info_ptr->rowbytes = PNG_ROWBYTES(info_ptr->pixel_depth, info_ptr->width); in png_read_transform_info() 2136 png_ptr->info_rowbytes = info_ptr->rowbytes; in png_read_transform_info() 2238 row_info->rowbytes = row_width * row_info->channels; in png_do_unpack() 2314 png_bytep bp_end = bp + row_info->rowbytes; in png_do_unshift() 2329 png_bytep bp_end = bp + row_info->rowbytes; in png_do_unshift() 2347 png_bytep bp_end = bp + row_info->rowbytes; in png_do_unshift() 2365 png_bytep bp_end = bp + row_info->rowbytes; in png_do_unshift() 2397 png_bytep ep = sp + row_info->rowbytes; /* end+1 */ in png_do_scale_16_to_8() 2440 row_info->rowbytes = row_info->width * row_info->channels; in png_do_scale_16_to_8() 2458 png_bytep ep = sp + row_info->rowbytes; /* end+1 */ in png_do_chop() [all …]
|
/third_party/libpng/ |
D | pngtrans.c | 273 size_t istop = row_info->rowbytes; in png_do_invert() 287 size_t istop = row_info->rowbytes; in png_do_invert() 302 size_t istop = row_info->rowbytes; in png_do_invert() 464 end = row + row_info->rowbytes; in png_do_packswap() 499 png_bytep ep = row + row_info->rowbytes; /* One beyond end of row */ in png_do_strip_channel() 612 row_info->rowbytes = (size_t)(dp-row); in png_do_strip_channel() 711 png_bytep rp = png_ptr->row_buf + row_info->rowbytes - 1; in png_do_check_palette_indexes()
|
D | pngrtran.c | 2128 info_ptr->rowbytes = PNG_ROWBYTES(info_ptr->pixel_depth, info_ptr->width); in png_read_transform_info() 2136 png_ptr->info_rowbytes = info_ptr->rowbytes; in png_read_transform_info() 2238 row_info->rowbytes = row_width * row_info->channels; in png_do_unpack() 2314 png_bytep bp_end = bp + row_info->rowbytes; in png_do_unshift() 2329 png_bytep bp_end = bp + row_info->rowbytes; in png_do_unshift() 2347 png_bytep bp_end = bp + row_info->rowbytes; in png_do_unshift() 2365 png_bytep bp_end = bp + row_info->rowbytes; in png_do_unshift() 2397 png_bytep ep = sp + row_info->rowbytes; /* end+1 */ in png_do_scale_16_to_8() 2440 row_info->rowbytes = row_info->width * row_info->channels; in png_do_scale_16_to_8() 2458 png_bytep ep = sp + row_info->rowbytes; /* end+1 */ in png_do_chop() [all …]
|