Searched refs:image_data (Results 1 – 13 of 13) sorted by relevance
/external/libpng/contrib/gregbook/ |
D | readppm.c | 69 uch *image_data = NULL; variable 157 if ((image_data = (uch *)malloc(rowbytes*height)) == NULL) { in readpng_get_image() 166 fread(image_data, 1L, rowbytes*height, saved_infile); in readpng_get_image() 169 return image_data; in readpng_get_image() 175 if (free_image_data && image_data) { in readpng_cleanup() 176 free(image_data); in readpng_cleanup() 177 image_data = NULL; in readpng_cleanup()
|
D | readpng.c | 73 uch *image_data = NULL; variable 255 if ((image_data = (uch *)malloc(rowbytes*height)) == NULL) { in readpng_get_image() 261 free(image_data); in readpng_get_image() 262 image_data = NULL; in readpng_get_image() 272 row_pointers[i] = image_data + i*rowbytes; in readpng_get_image() 288 return image_data; in readpng_get_image() 294 if (free_image_data && image_data) { in readpng_cleanup() 295 free(image_data); in readpng_cleanup() 296 image_data = NULL; in readpng_cleanup()
|
D | wpng.c | 179 wpng_info.image_data = NULL; in main() 707 wpng_info.image_data = (uch *)malloc(image_bytes); in main() 709 if (wpng_info.image_data == NULL || wpng_info.row_pointers == NULL) { in main() 716 wpng_info.row_pointers[i] = wpng_info.image_data + i*rowbytes; in main() 717 bytes = fread(wpng_info.image_data, 1, image_bytes, wpng_info.infile); in main() 735 wpng_info.image_data = (uch *)malloc(rowbytes); in main() 736 if (wpng_info.image_data == NULL) { in main() 744 bytes = fread(wpng_info.image_data, 1, rowbytes, wpng_info.infile); in main() 819 if (wpng_info.image_data) { in wpng_cleanup() 820 free(wpng_info.image_data); in wpng_cleanup() [all …]
|
D | rpng-win.c | 127 static uch *image_data; variable 390 image_data = readpng_get_image(display_exponent, &image_channels, in WinMain() 401 if (!image_data) { in WinMain() 411 free(image_data); in WinMain() 556 src = image_data + row*image_rowbytes; in rpng_win_display_image() 629 if (image_data) { in rpng_win_cleanup() 630 free(image_data); in rpng_win_cleanup() 631 image_data = NULL; in rpng_win_cleanup()
|
D | rpng-x.c | 135 static uch *image_data; variable 378 image_data = readpng_get_image(display_exponent, &image_channels, in main() 389 if (!image_data) { in main() 399 free(image_data); in main() 709 src = image_data + row*image_rowbytes; in rpng_x_display_image() 783 src = image_data + row*image_rowbytes; in rpng_x_display_image() 863 if (image_data) { in rpng_x_cleanup() 864 free(image_data); in rpng_x_cleanup() 865 image_data = NULL; in rpng_x_cleanup()
|
D | rpng2-win.c | 628 rpng2_info.image_data = (uch *)malloc(rowbytes * rpng2_info.height); in rpng2_win_init() 629 if (!rpng2_info.image_data) { in rpng2_win_init() 636 free(rpng2_info.image_data); in rpng2_win_init() 637 rpng2_info.image_data = NULL; in rpng2_win_init() 643 rpng2_info.row_pointers[i] = rpng2_info.image_data + i*rowbytes; in rpng2_win_init() 1075 src = rpng2_info.image_data + row*rpng2_info.rowbytes; in rpng2_win_display_row() 1168 if (rpng2_info.image_data) { in rpng2_win_cleanup() 1169 free(rpng2_info.image_data); in rpng2_win_cleanup() 1170 rpng2_info.image_data = NULL; in rpng2_win_cleanup()
|
D | rpng2-x.c | 780 rpng2_info.image_data = (uch *)malloc(rowbytes * rpng2_info.height); in rpng2_x_init() 781 if (!rpng2_info.image_data) { in rpng2_x_init() 788 free(rpng2_info.image_data); in rpng2_x_init() 789 rpng2_info.image_data = NULL; in rpng2_x_init() 795 rpng2_info.row_pointers[i] = rpng2_info.image_data + i*rowbytes; in rpng2_x_init() 1422 src = rpng2_info.image_data + row*rpng2_info.rowbytes; in rpng2_x_display_row() 1643 src = rpng2_info.image_data + row*rpng2_info.rowbytes; in rpng2_x_redisplay_image() 2081 if (rpng2_info.image_data) { in rpng2_x_cleanup() 2082 free(rpng2_info.image_data); in rpng2_x_cleanup() 2083 rpng2_info.image_data = NULL; in rpng2_x_cleanup()
|
D | readpng2.h | 91 uch *image_data; member
|
D | writepng.h | 99 uch *image_data; member
|
D | writepng.c | 314 png_write_row(png_ptr, mainprog_ptr->image_data); in writepng_encode_row()
|
/external/jpeg/ |
D | jcprepct.c | 106 expand_bottom_edge (JSAMPARRAY image_data, JDIMENSION num_cols, in expand_bottom_edge() argument 112 jcopy_sample_rows(image_data, input_rows-1, image_data, row, in expand_bottom_edge()
|
D | jcsample.c | 87 expand_right_edge (JSAMPARRAY image_data, int num_rows, in expand_right_edge() argument 98 ptr = image_data[row] + input_cols; in expand_right_edge()
|
/external/chromium/base/ |
D | mac_util_unittest.mm | 71 scoped_nsobject<NSData> image_data( 74 NSBitmapImageRep* rep = [NSBitmapImageRep imageRepWithData:image_data.get()];
|