Searched defs:rowbytes (Results 1 - 9 of 9) sorted by relevance
/external/libpng/contrib/gregbook/ |
H A D | readppm.c | 145 ulg rowbytes; local 154 *pRowbytes = rowbytes = channels*width; 157 if ((image_data = (uch *)malloc(rowbytes*height)) == NULL) { 161 Trace((stderr, "readpng_get_image: rowbytes = %ld, height = %ld\n", rowbytes, height)); 166 fread(image_data, 1L, rowbytes*height, saved_infile);
|
H A D | readpng.c | 209 png_uint_32 i, rowbytes; local 248 * get rowbytes and channels, and allocate image memory */ 252 *pRowbytes = rowbytes = png_get_rowbytes(png_ptr, info_ptr); 255 if ((image_data = (uch *)malloc(rowbytes*height)) == NULL) { 266 Trace((stderr, "readpng_get_image: channels = %d, rowbytes = %ld, height = %ld\n", *pChannels, rowbytes, height)); 272 row_pointers[i] = image_data + i*rowbytes;
|
H A D | readpng2.h | 96 int rowbytes; member in struct:_mainprog_info
|
H A D | wpng.c | 166 ulg rowbytes; local 684 /* calculate rowbytes on basis of image type; note that this becomes much 689 rowbytes = wpng_info.width; 691 rowbytes = wpng_info.width * 3; 693 rowbytes = wpng_info.width * 4; 705 ulg image_bytes = rowbytes * wpng_info.height; /* overflow? */ 716 wpng_info.row_pointers[i] = wpng_info.image_data + i*rowbytes; 735 wpng_info.image_data = (uch *)malloc(rowbytes); 744 bytes = fread(wpng_info.image_data, 1, rowbytes, wpng_info.infile); 745 if (bytes != rowbytes) { [all...] |
H A D | rpng2-win.c | 621 ulg rowbytes = rpng2_info.rowbytes; local 624 Trace((stderr, " rowbytes = %d\n", rpng2_info.rowbytes)) 628 rpng2_info.image_data = (uch *)malloc(rowbytes * rpng2_info.height); 643 rpng2_info.row_pointers[i] = rpng2_info.image_data + i*rowbytes; 1075 src = rpng2_info.image_data + row*rpng2_info.rowbytes;
|
H A D | rpng2-x.c | 773 ulg rowbytes = rpng2_info.rowbytes; local 776 Trace((stderr, " rowbytes = %d\n", rpng2_info.rowbytes)) 780 rpng2_info.image_data = (uch *)malloc(rowbytes * rpng2_info.height); 795 rpng2_info.row_pointers[i] = rpng2_info.image_data + i*rowbytes; 1422 src = rpng2_info.image_data + row*rpng2_info.rowbytes; 1624 Trace((stderr, " (width = %ld, rowbytes = %d, ximage_rowbytes = %d)\n", 1625 rpng2_info.width, rpng2_info.rowbytes, ximage_rowbytes)) 1643 src = rpng2_info.image_data + row*rpng2_info.rowbytes; [all...] |
/external/chromium_org/third_party/libpng/ |
H A D | png.h | 818 png_uint_32 rowbytes PNG_DEPSTRUCT; /* bytes needed to hold an untransformed row */ 1158 png_uint_32 rowbytes; /* number of bytes in row */ member in struct:png_row_info_struct 1288 png_uint_32 rowbytes PNG_DEPSTRUCT; /* size of row in bytes */
|
/external/libpng/ |
H A D | png.h | 865 png_uint_32 rowbytes PNG_DEPSTRUCT; /* bytes needed to hold an untransformed row */ 1205 png_uint_32 rowbytes; /* number of bytes in row */ member in struct:png_row_info_struct 1341 png_uint_32 rowbytes PNG_DEPSTRUCT; /* size of row in bytes */
|
/external/qemu/distrib/libpng-1.2.19/ |
H A D | png.h | 702 png_uint_32 rowbytes; /* bytes needed to hold an untransformed row */ member in struct:png_info_struct 1041 png_uint_32 rowbytes; /* number of bytes in row */ member in struct:png_row_info_struct 1166 png_uint_32 rowbytes; /* size of row in bytes */ member in struct:png_struct_def
|
Completed in 554 milliseconds