/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 if ((image_data = (uch *)malloc(rowbytes*height)) == NULL) { in readpng_get_image() 161 Trace((stderr, "readpng_get_image: rowbytes = %ld, height = %ld\n", rowbytes, height)); in readpng_get_image() 166 if (fread(image_data, 1L, rowbytes*height, saved_infile) < in readpng_get_image() 167 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() 267 if ((image_data = (uch *)malloc(rowbytes*height)) == NULL) { in readpng_get_image() 279 *pChannels, rowbytes, height)); in readpng_get_image() 285 row_pointers[i] = image_data + i*rowbytes; in readpng_get_image()
|
D | wpng.c | 166 ulg rowbytes; in main() local 689 rowbytes = wpng_info.width; in main() 691 rowbytes = wpng_info.width * 3; in main() 693 rowbytes = wpng_info.width * 4; in main() 705 ulg image_bytes = rowbytes * wpng_info.height; /* overflow? */ in main() 716 wpng_info.row_pointers[i] = wpng_info.image_data + i*rowbytes; in main() 735 wpng_info.image_data = (uch *)malloc(rowbytes); in main() 744 bytes = fread(wpng_info.image_data, 1, rowbytes, wpng_info.infile); in main() 745 if (bytes != rowbytes) { in main() 747 ": expected %lu bytes, got %lu bytes (row %ld)\n", rowbytes, in main()
|
D | readpng2.h | 96 int rowbytes; member
|
D | rpng2-win.c | 646 ulg rowbytes = rpng2_info.rowbytes; in rpng2_win_init() local 649 Trace((stderr, " rowbytes = %d\n", rpng2_info.rowbytes)) in rpng2_win_init() 653 rpng2_info.image_data = (uch *)malloc(rowbytes * rpng2_info.height); in rpng2_win_init() 668 rpng2_info.row_pointers[i] = rpng2_info.image_data + i*rowbytes; in rpng2_win_init() 1100 src = rpng2_info.image_data + row*rpng2_info.rowbytes; in rpng2_win_display_row()
|
/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 | 64 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 | pngimage.c | 977 size_t rowbytes; in compare_read() local 1016 rowbytes = png_get_rowbytes(dp->read_pp, dp->read_ip); in compare_read() 1021 if (rowbytes != dp->original_rowbytes) in compare_read() 1023 (unsigned long)dp->original_rowbytes, (unsigned long)rowbytes); in compare_read() 1058 if (memcmp(row, orig, rowbytes-(mask != 0)) != 0 || (mask != 0 && in compare_read() 1059 ((row[rowbytes-1] & mask) != (orig[rowbytes-1] & mask)))) in compare_read() 1064 for (x=0; x<rowbytes-1; ++x) if (row[x] != orig[x]) in compare_read()
|
/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() 66 png_bytep rp_stop = row + row_info->rowbytes; in png_read_filter_row_sub3_neon() 111 png_bytep rp_stop = row + row_info->rowbytes; in png_read_filter_row_sub4_neon() 139 png_bytep rp_stop = row + row_info->rowbytes; in png_read_filter_row_avg3_neon() 204 png_bytep rp_stop = row + row_info->rowbytes; in png_read_filter_row_avg4_neon() 270 png_bytep rp_stop = row + row_info->rowbytes; in png_read_filter_row_paeth3_neon() 335 png_bytep rp_stop = row + row_info->rowbytes; in png_read_filter_row_paeth4_neon()
|
/external/libpng/ |
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()
|
D | pngrtran.c | 2115 info_ptr->rowbytes = PNG_ROWBYTES(info_ptr->pixel_depth, info_ptr->width); in png_read_transform_info() 2123 png_ptr->info_rowbytes = info_ptr->rowbytes; in png_read_transform_info() 2225 row_info->rowbytes = row_width * row_info->channels; in png_do_unpack() 2301 png_bytep bp_end = bp + row_info->rowbytes; in png_do_unshift() 2316 png_bytep bp_end = bp + row_info->rowbytes; in png_do_unshift() 2334 png_bytep bp_end = bp + row_info->rowbytes; in png_do_unshift() 2352 png_bytep bp_end = bp + row_info->rowbytes; in png_do_unshift() 2384 png_bytep ep = sp + row_info->rowbytes; /* end+1 */ in png_do_scale_16_to_8() 2427 row_info->rowbytes = row_info->width * row_info->channels; in png_do_scale_16_to_8() 2445 png_bytep ep = sp + row_info->rowbytes; /* end+1 */ in png_do_chop() [all …]
|
D | pnginfo.h | 61 png_size_t rowbytes; /* bytes needed to hold an untransformed row */ member
|
/external/pdfium/samples/fx_lpng/lpng_v163/ |
D | fx_pngtrans.c | 269 png_size_t istop = row_info->rowbytes; in png_do_invert() 283 png_size_t istop = row_info->rowbytes; in png_do_invert() 298 png_size_t istop = row_info->rowbytes; in png_do_invert() 453 end = row + row_info->rowbytes; in png_do_packswap() 488 png_bytep ep = row + row_info->rowbytes; /* One beyond end of row */ in png_do_strip_channel() 587 row_info->rowbytes = dp-row; in png_do_strip_channel() 686 png_bytep rp = png_ptr->row_buf + row_info->rowbytes; in png_do_check_palette_indexes()
|
D | fx_pngrtran.c | 2099 info_ptr->rowbytes = PNG_ROWBYTES(info_ptr->pixel_depth, info_ptr->width); in png_read_transform_info() 2107 png_ptr->info_rowbytes = info_ptr->rowbytes; in png_read_transform_info() 2305 if (row_info->rowbytes == 0) in png_do_read_transformations() 2407 row_info->rowbytes = PNG_ROWBYTES(row_info->pixel_depth, row_info->width); in png_do_read_transformations() 2506 row_info->rowbytes = row_width * row_info->channels; in png_do_unpack() 2582 png_bytep bp_end = bp + row_info->rowbytes; in png_do_unshift() 2597 png_bytep bp_end = bp + row_info->rowbytes; in png_do_unshift() 2615 png_bytep bp_end = bp + row_info->rowbytes; in png_do_unshift() 2633 png_bytep bp_end = bp + row_info->rowbytes; in png_do_unshift() 2665 png_bytep ep = sp + row_info->rowbytes; /* end+1 */ in png_do_scale_16_to_8() [all …]
|
D | pnginfo.h | 62 png_size_t rowbytes; /* bytes needed to hold an untransformed row */ member
|
D | fx_pngwutil.c | 211 if (png_ptr->rowbytes < 32768 && h < 32768) in png_image_size() 235 return (png_ptr->rowbytes+1) * h; in png_image_size() 882 png_ptr->rowbytes = PNG_ROWBYTES(png_ptr->pixel_depth, width); in png_write_IHDR() 1977 png_ptr->sub_row = (png_bytep)png_malloc(png_ptr, png_ptr->rowbytes + 1); in png_write_start_row() 1991 png_ptr->rowbytes + 1); in png_write_start_row() 1999 png_ptr->rowbytes + 1); in png_write_start_row() 2007 png_ptr->rowbytes + 1); in png_write_start_row() 2301 row_info->rowbytes = PNG_ROWBYTES(row_info->pixel_depth, in png_do_write_interlace() 2326 png_size_t row_bytes = row_info->rowbytes; in png_write_find_filter() 2967 png_write_filtered_row(png_ptr, best_row, row_info->rowbytes+1); in png_write_find_filter()
|
D | fx_pngrutil.c | 859 png_ptr->rowbytes = PNG_ROWBYTES(png_ptr->pixel_depth, png_ptr->width); in png_handle_IHDR() 862 png_debug1(3, "rowbytes = %lu", (unsigned long)png_ptr->rowbytes); in png_handle_IHDR() 3714 row_info->rowbytes = PNG_ROWBYTES(row_info->pixel_depth, final_width); in png_do_read_interlace() 3727 png_size_t istop = row_info->rowbytes; in png_read_filter_row_sub() 3745 png_size_t istop = row_info->rowbytes; in png_read_filter_row_up() 3764 png_size_t istop = row_info->rowbytes - bpp; in png_read_filter_row_avg() 3787 png_bytep rp_end = row + row_info->rowbytes; in png_read_filter_row_paeth_1byte_pixel() 3848 rp_end += row_info->rowbytes - bpp; in png_read_filter_row_paeth_multibyte_pixel() 4140 memset(png_ptr->prev_row, 0, png_ptr->rowbytes + 1); in png_read_finish_row() 4431 if (png_ptr->rowbytes > 65535) in png_read_start_row() [all …]
|
/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/pdfium/third_party/freetype/src/sfnt/ |
D | pngshim.c | 61 for ( i = 0; i < row_info->rowbytes; i += 4 ) in premultiply_data() 104 for ( i = 0; i < row_info->rowbytes; i += 4 ) in convert_bytes_to_data()
|
/external/freetype/src/sfnt/ |
D | pngshim.c | 62 for ( i = 0; i < row_info->rowbytes; i += 4 ) in premultiply_data() 105 for ( i = 0; i < row_info->rowbytes; i += 4 ) in convert_bytes_to_data()
|
/external/llvm/test/CodeGen/Thumb2/ |
D | 2010-03-15-AsmCCClobber.ll | 21 …ormat, i32 %w, i32 %h, i32 %levels, i32* %s, i8* %data, i32* nocapture %rowbytes, void (i8*, i8*)*… 56 %scevgep10 = getelementptr i32, i32* %rowbytes, i32 %l.09
|
/external/mesa3d/src/glx/apple/ |
D | apple_cgl.h | 62 GLsizei width, GLsizei height, GLint rowbytes,
|
/external/skia/src/gpu/ |
D | GrSWMaskHelper.h | 133 const void *data, size_t rowbytes);
|