/external/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 …]
|
D | rpng2-win.c | 645 ulg rowbytes = rpng2_info.rowbytes; in rpng2_win_init() local 648 Trace((stderr, " rowbytes = %d\n", rpng2_info.rowbytes)) in rpng2_win_init() 653 if (rpng2_info.height > ((size_t)(-1))/rowbytes) { in rpng2_win_init() 659 rpng2_info.image_data = (uch *)malloc(rowbytes * rpng2_info.height); in rpng2_win_init() 674 rpng2_info.row_pointers[i] = rpng2_info.image_data + i*rowbytes; in rpng2_win_init() 1106 src = rpng2_info.image_data + row*rpng2_info.rowbytes;
|
/external/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 png_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()
|
D | timepng.c | 103 png_size_t rowbytes = png_get_rowbytes(png_ptr, info_ptr); in read_by_row() local 105 row = voidcast(png_bytep,malloc(rowbytes)); in read_by_row() 106 display = voidcast(png_bytep,malloc(rowbytes)); in read_by_row()
|
D | pngimage.c | 997 size_t rowbytes; in compare_read() local 1036 rowbytes = png_get_rowbytes(dp->read_pp, dp->read_ip); in compare_read() 1041 if (rowbytes != dp->original_rowbytes) in compare_read() 1043 (unsigned long)dp->original_rowbytes, (unsigned long)rowbytes); in compare_read() 1078 if (memcmp(row, orig, rowbytes-(mask != 0)) != 0 || (mask != 0 && in compare_read() 1079 ((row[rowbytes-1] & mask) != (orig[rowbytes-1] & mask)))) in compare_read() 1084 for (x=0; x<rowbytes-1; ++x) if (row[x] != orig[x]) in compare_read()
|
/external/pdfium/third_party/libtiff/ |
D | tif_fax3.c | 53 tmsize_t rowbytes; /* bytes in a decoded scanline */ member 231 if (occ % sp->b.rowbytes) in Fax3Decode1D() 250 buf += sp->b.rowbytes; in Fax3Decode1D() 251 occ -= sp->b.rowbytes; in Fax3Decode1D() 275 if (occ % sp->b.rowbytes) in Fax3Decode2D() 307 buf += sp->b.rowbytes; in Fax3Decode2D() 308 occ -= sp->b.rowbytes; in Fax3Decode2D() 510 tmsize_t rowbytes; in Fax3SetupState() local 522 rowbytes = TIFFTileRowSize(tif); in Fax3SetupState() 525 rowbytes = TIFFScanlineSize(tif); in Fax3SetupState() [all …]
|
/external/syslinux/com32/lib/libpng/ |
D | pngtrans.c | 220 png_uint_32 istop = row_info->rowbytes; in png_do_invert() 233 png_uint_32 istop = row_info->rowbytes; in png_do_invert() 246 png_uint_32 istop = row_info->rowbytes; in png_do_invert() 405 end = row + row_info->rowbytes; in png_do_packswap() 470 row_info->rowbytes = row_width * 3; in png_do_strip_filler() 516 row_info->rowbytes = row_width * 6; in png_do_strip_filler() 546 row_info->rowbytes = row_width; in png_do_strip_filler() 572 row_info->rowbytes = row_width * 2; in png_do_strip_filler()
|
D | pngrtran.c | 1318 info_ptr->rowbytes = PNG_ROWBYTES(info_ptr->pixel_depth, info_ptr->width); in png_read_transform_info() 1486 if (png_ptr->row_info.rowbytes == (png_uint_32)0) in png_do_read_transformations() 1567 png_ptr->row_info.rowbytes = PNG_ROWBYTES(png_ptr->row_info.pixel_depth, in png_do_read_transformations() 1663 row_info->rowbytes = row_width * row_info->channels; in png_do_unpack() 1723 png_uint_32 istop = row_info->rowbytes; in png_do_unshift() 1737 png_uint_32 istop = row_info->rowbytes; in png_do_unshift() 1836 row_info->rowbytes = row_info->width * row_info->channels; in png_do_chop() 1857 png_bytep sp = row + row_info->rowbytes; in png_do_read_swap_alpha() 1874 png_bytep sp = row + row_info->rowbytes; in png_do_read_swap_alpha() 1899 png_bytep sp = row + row_info->rowbytes; in png_do_read_swap_alpha() [all …]
|
/external/pdfium/third_party/libpng16/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 | 47 png_bytep rp_stop = row + row_info->rowbytes; in png_read_filter_row_up_neon() 68 png_bytep rp_stop = row + row_info->rowbytes; in png_read_filter_row_sub3_neon() 115 png_bytep rp_stop = row + row_info->rowbytes; in png_read_filter_row_sub4_neon() 145 png_bytep rp_stop = row + row_info->rowbytes; in png_read_filter_row_avg3_neon() 212 png_bytep rp_stop = row + row_info->rowbytes; in png_read_filter_row_avg4_neon() 280 png_bytep rp_stop = row + row_info->rowbytes; in png_read_filter_row_paeth3_neon() 347 png_bytep rp_stop = row + row_info->rowbytes; in png_read_filter_row_paeth4_neon()
|
/external/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 | 47 png_bytep rp_stop = row + row_info->rowbytes; in png_read_filter_row_up_neon() 68 png_bytep rp_stop = row + row_info->rowbytes; in png_read_filter_row_sub3_neon() 115 png_bytep rp_stop = row + row_info->rowbytes; in png_read_filter_row_sub4_neon() 145 png_bytep rp_stop = row + row_info->rowbytes; in png_read_filter_row_avg3_neon() 212 png_bytep rp_stop = row + row_info->rowbytes; in png_read_filter_row_avg4_neon() 280 png_bytep rp_stop = row + row_info->rowbytes; in png_read_filter_row_paeth3_neon() 347 png_bytep rp_stop = row + row_info->rowbytes; in png_read_filter_row_paeth4_neon()
|
/external/libpng/contrib/intel/ |
D | filter_sse2_intrinsics.c | 75 int rb = row_info->rowbytes; in png_read_filter_row_sub3_sse2() 104 int rb = row_info->rowbytes; in png_read_filter_row_sub4_sse2() 128 int rb = row_info->rowbytes; in png_read_filter_row_avg3_sse2() 177 int rb = row_info->rowbytes; in png_read_filter_row_avg4_sse2() 246 int rb = row_info->rowbytes; in png_read_filter_row_paeth3_sse2() 340 int rb = row_info->rowbytes; in png_read_filter_row_paeth4_sse2()
|
/external/libpng/intel/ |
D | filter_sse2_intrinsics.c | 80 rb = row_info->rowbytes; in png_read_filter_row_sub3_sse2() 113 rb = row_info->rowbytes+4; in png_read_filter_row_sub4_sse2() 142 rb = row_info->rowbytes; in png_read_filter_row_avg3_sse2() 195 rb = row_info->rowbytes+4; in png_read_filter_row_avg4_sse2() 267 rb = row_info->rowbytes; in png_read_filter_row_paeth3_sse2() 367 rb = row_info->rowbytes+4; in png_read_filter_row_paeth4_sse2()
|
/external/pdfium/third_party/libpng16/contrib/intel/ |
D | filter_sse2_intrinsics.c | 75 int rb = row_info->rowbytes; in png_read_filter_row_sub3_sse2() 104 int rb = row_info->rowbytes; in png_read_filter_row_sub4_sse2() 128 int rb = row_info->rowbytes; in png_read_filter_row_avg3_sse2() 177 int rb = row_info->rowbytes; in png_read_filter_row_avg4_sse2() 246 int rb = row_info->rowbytes; in png_read_filter_row_paeth3_sse2() 340 int rb = row_info->rowbytes; in png_read_filter_row_paeth4_sse2()
|
/external/pdfium/third_party/libpng16/ |
D | pngrtran.c | 2114 info_ptr->rowbytes = PNG_ROWBYTES(info_ptr->pixel_depth, info_ptr->width); in png_read_transform_info() 2122 png_ptr->info_rowbytes = info_ptr->rowbytes; in png_read_transform_info() 2224 row_info->rowbytes = row_width * row_info->channels; in png_do_unpack() 2300 png_bytep bp_end = bp + row_info->rowbytes; in png_do_unshift() 2315 png_bytep bp_end = bp + row_info->rowbytes; in png_do_unshift() 2333 png_bytep bp_end = bp + row_info->rowbytes; in png_do_unshift() 2351 png_bytep bp_end = bp + row_info->rowbytes; in png_do_unshift() 2383 png_bytep ep = sp + row_info->rowbytes; /* end+1 */ in png_do_scale_16_to_8() 2426 row_info->rowbytes = row_info->width * row_info->channels; in png_do_scale_16_to_8() 2444 png_bytep ep = sp + row_info->rowbytes; /* end+1 */ in png_do_chop() [all …]
|
D | pngtrans.c | 272 png_size_t istop = row_info->rowbytes; in png_do_invert() 286 png_size_t istop = row_info->rowbytes; in png_do_invert() 301 png_size_t istop = row_info->rowbytes; in png_do_invert() 463 end = row + row_info->rowbytes; in png_do_packswap() 498 png_bytep ep = row + row_info->rowbytes; /* One beyond end of row */ in png_do_strip_channel() 597 row_info->rowbytes = dp-row; in png_do_strip_channel() 696 png_bytep rp = png_ptr->row_buf + row_info->rowbytes; in png_do_check_palette_indexes()
|
/external/libpng/ |
D | pngrtran.c | 2117 info_ptr->rowbytes = PNG_ROWBYTES(info_ptr->pixel_depth, info_ptr->width); in png_read_transform_info() 2125 png_ptr->info_rowbytes = info_ptr->rowbytes; in png_read_transform_info() 2227 row_info->rowbytes = row_width * row_info->channels; in png_do_unpack() 2303 png_bytep bp_end = bp + row_info->rowbytes; in png_do_unshift() 2318 png_bytep bp_end = bp + row_info->rowbytes; in png_do_unshift() 2336 png_bytep bp_end = bp + row_info->rowbytes; in png_do_unshift() 2354 png_bytep bp_end = bp + row_info->rowbytes; in png_do_unshift() 2386 png_bytep ep = sp + row_info->rowbytes; /* end+1 */ in png_do_scale_16_to_8() 2429 row_info->rowbytes = row_info->width * row_info->channels; in png_do_scale_16_to_8() 2447 png_bytep ep = sp + row_info->rowbytes; /* end+1 */ in png_do_chop() [all …]
|
D | pngtrans.c | 273 png_size_t istop = row_info->rowbytes; in png_do_invert() 287 png_size_t istop = row_info->rowbytes; in png_do_invert() 302 png_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 = (png_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()
|
/external/freetype/src/sfnt/ |
D | pngshim.c | 85 if ( row_info->rowbytes > 15 ) in premultiply_data() 88 limit = row_info->rowbytes - 16 + 1; in premultiply_data() 129 limit = row_info->rowbytes; in premultiply_data() 173 for ( i = 0; i < row_info->rowbytes; i += 4 ) in convert_bytes_to_data()
|
/external/llvm/test/Transforms/IndVarSimplify/ |
D | dangling-use.ll | 6 define void @vec_inverse_5_7_vert_loop_copyseparate(i8* %x, i32 %n, i32 %rowbytes) nounwind { 9 %tmp2 = sdiv i32 %rowbytes, 5 ; <i32> [#uses=2]
|
/external/swiftshader/third_party/LLVM/test/Transforms/IndVarSimplify/ |
D | dangling-use.ll | 6 define void @vec_inverse_5_7_vert_loop_copyseparate(i8* %x, i32 %n, i32 %rowbytes) nounwind { 9 %tmp2 = sdiv i32 %rowbytes, 5 ; <i32> [#uses=2]
|