Searched defs:rowbytes (Results 1 - 9 of 9) sorted by relevance

/external/libpng/contrib/gregbook/
H A Dreadppm.c145 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 Dreadpng.c209 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 Dreadpng2.h96 int rowbytes; member in struct:_mainprog_info
H A Dwpng.c166 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 Drpng2-win.c621 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 Drpng2-x.c773 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 Dpng.h818 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 Dpng.h865 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 Dpng.h702 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 461 milliseconds