Searched refs:rowbytes (Results 1 - 22 of 22) sorted by relevance

/vbox/src/libs/libpng-1.2.8/contrib/gregbook/
H A Dreadpng.c185 png_uint_32 i, rowbytes; local
224 * get rowbytes and channels, and allocate image memory */
228 *pRowbytes = rowbytes = png_get_rowbytes(png_ptr, info_ptr);
231 if ((image_data = (uch *)malloc(rowbytes*height)) == NULL) {
242 Trace((stderr, "readpng_get_image: channels = %d, rowbytes = %ld, height = %ld\n", *pChannels, rowbytes, height));
248 row_pointers[i] = image_data + i*rowbytes;
H A Dreadpng2.h66 int rowbytes; member in struct:_mainprog_info
H A Dwpng.c129 ulg rowbytes; local
647 /* calculate rowbytes on basis of image type; note that this becomes much
652 rowbytes = wpng_info.width;
654 rowbytes = wpng_info.width * 3;
656 rowbytes = wpng_info.width * 4;
668 ulg image_bytes = rowbytes * wpng_info.height; /* overflow? */
679 wpng_info.row_pointers[i] = wpng_info.image_data + i*rowbytes;
698 wpng_info.image_data = (uch *)malloc(rowbytes);
707 bytes = fread(wpng_info.image_data, 1, rowbytes, wpng_info.infile);
708 if (bytes != rowbytes) {
[all...]
H A Drpng2-win.c564 ulg rowbytes = rpng2_info.rowbytes; local
567 Trace((stderr, " rowbytes = %ld\n", rpng2_info.rowbytes))
571 rpng2_info.image_data = (uch *)malloc(rowbytes * rpng2_info.height);
586 rpng2_info.row_pointers[i] = rpng2_info.image_data + i*rowbytes;
1016 src = rpng2_info.image_data + row*rpng2_info.rowbytes;
H A Drpng2-x.c561 ulg rowbytes = rpng2_info.rowbytes; local
564 Trace((stderr, " rowbytes = %ld\n", rpng2_info.rowbytes))
568 rpng2_info.image_data = (uch *)malloc(rowbytes * rpng2_info.height);
583 rpng2_info.row_pointers[i] = rpng2_info.image_data + i*rowbytes;
1183 src = rpng2_info.image_data + row*rpng2_info.rowbytes;
H A Dreadpng2.c482 * then get rowbytes and channels */
486 mainprog_ptr->rowbytes = (int)png_get_rowbytes(png_ptr, info_ptr);
/vbox/src/libs/libpng-1.2.8/
H A Dpngrtran.c1160 info_ptr->rowbytes = PNG_ROWBYTES(info_ptr->pixel_depth,info_ptr->width);
1310 if(png_ptr->row_info.rowbytes == (png_uint_32)0)
1311 png_error(png_ptr, "png_do_dither returned rowbytes=0");
1377 /* png_uint_32 rowbytes; number of bytes in row */
1391 png_ptr->row_info.rowbytes = PNG_ROWBYTES(png_ptr->row_info.pixel_depth,
1484 row_info->rowbytes = row_width * row_info->channels;
1543 png_uint_32 istop = row_info->rowbytes;
1556 png_uint_32 istop = row_info->rowbytes;
1649 row_info->rowbytes = row_info->width * row_info->channels;
1669 png_bytep sp = row + row_info->rowbytes;
[all...]
H A Dpngtrans.c179 png_uint_32 istop = row_info->rowbytes;
192 png_uint_32 istop = row_info->rowbytes;
205 png_uint_32 istop = row_info->rowbytes;
362 end = row + row_info->rowbytes;
426 row_info->rowbytes = row_width * 3;
472 row_info->rowbytes = row_width * 6;
502 row_info->rowbytes = row_width;
528 row_info->rowbytes = row_width * 2;
H A Dpnggccrd.c2740 row_info->rowbytes = PNG_ROWBYTES(row_info->pixel_depth,final_width);
2782 _FullLength = row_info->rowbytes; // # of bytes to filter
3450 _FullLength = row_info->rowbytes; // # of bytes to filter
4503 _FullLength = row_info->rowbytes - bpp; // number of bytes to filter
4926 len = row_info->rowbytes; // number of bytes to filter
5141 png_debug1(0,"rowbytes=%8ld\n", row_info->rowbytes);
5154 (row_info->rowbytes >= png_ptr->mmx_rowbytes_threshold))
5165 png_uint_32 istop = row_info->rowbytes;
5183 (row_info->rowbytes >
[all...]
H A Dpngrutil.c397 png_ptr->rowbytes = PNG_ROWBYTES(png_ptr->pixel_depth,png_ptr->width);
400 png_debug1(3,"rowbytes = %lu\n", png_ptr->rowbytes);
2674 row_info->rowbytes = PNG_ROWBYTES(row_info->pixel_depth,final_width);
2698 png_uint_32 istop = row_info->rowbytes;
2713 png_uint_32 istop = row_info->rowbytes;
2731 png_uint_32 istop = row_info->rowbytes - bpp;
2756 png_uint_32 istop=row_info->rowbytes - bpp;
2836 png_memset_check(png_ptr, png_ptr->prev_row, 0, png_ptr->rowbytes + 1);
2984 png_ptr->irowbytes = png_ptr->rowbytes
[all...]
H A Dpngwrite.c844 png_ptr->row_info.rowbytes = PNG_ROWBYTES(png_ptr->row_info.pixel_depth,
852 png_debug1(3, "row_info->rowbytes = %lu\n", png_ptr->row_info.rowbytes);
856 png_ptr->row_info.rowbytes);
1129 (png_ptr->rowbytes + 1));
1143 (png_ptr->rowbytes + 1));
1158 (png_ptr->rowbytes + 1));
1174 (png_ptr->rowbytes + 1));
H A Dpngwtran.c33 /* png_uint_32 rowbytes; number of bytes in row */
198 row_info->rowbytes = PNG_ROWBYTES(row_info->pixel_depth,
257 png_uint_32 row_bytes = row_info->rowbytes;
H A Dpngvcrd.c1907 row_info->rowbytes = PNG_ROWBYTES(row_info->pixel_depth,final_width);
1938 FullLength = row_info->rowbytes; // # of bytes to filter
2373 FullLength = row_info->rowbytes; // # of bytes to filter
3266 FullLength = row_info->rowbytes - bpp; // # of bytes to filter
3352 // i < row_info->rowbytes; i++, rp++, lp++)
3565 len = row_info->rowbytes; // # of bytes to filter
3726 png_debug1(0,"len=%8d, ", row_info->rowbytes);
3739 (row_info->rowbytes >= png_ptr->mmx_rowbytes_threshold))
3749 png_uint_32 istop = row_info->rowbytes;
3768 (row_info->rowbytes >
[all...]
H A Dpngwutil.c476 png_ptr->rowbytes = PNG_ROWBYTES(png_ptr->pixel_depth, width);
1710 (png_ptr->rowbytes + 1));
1724 (png_ptr->rowbytes + 1));
1731 (png_ptr->rowbytes + 1));
1738 (png_ptr->rowbytes + 1));
2045 row_info->rowbytes = PNG_ROWBYTES(row_info->pixel_depth,
2065 png_uint_32 row_bytes = row_info->rowbytes;
2679 png_ptr->zstream.avail_in = (uInt)png_ptr->row_info.rowbytes + 1;
H A Dpngpread.c808 png_ptr->row_info.rowbytes = PNG_ROWBYTES(png_ptr->row_info.pixel_depth,
816 png_ptr->rowbytes + 1);
1015 png_ptr->rowbytes + 1);
H A Dpngread.c729 png_ptr->row_info.rowbytes = PNG_ROWBYTES(png_ptr->row_info.pixel_depth,
738 png_ptr->rowbytes + 1);
H A Dpngset.c347 info_ptr->rowbytes = (png_size_t)0;
349 info_ptr->rowbytes = PNG_ROWBYTES(info_ptr->pixel_depth,width);
H A Dpng.h658 png_uint_32 rowbytes; /* bytes needed to hold an untransformed row */ member in struct:png_info_struct
995 png_uint_32 rowbytes; /* number of bytes in row */ member in struct:png_row_info_struct
1120 png_uint_32 rowbytes; /* size of row in bytes */ member in struct:png_struct_def
H A Dpngget.c27 return(info_ptr->rowbytes);
559 /* check for potential overflow of rowbytes */
/vbox/src/VBox/Additions/x11/x11include/xorg-server-1.3.0.0/
H A DXplugin.h288 unsigned int rowbytes);
356 unsigned int rowbytes[2],
/vbox/src/VBox/Additions/x11/x11include/xorg-server-1.1.0/
H A DXplugin.h289 unsigned int rowbytes);
357 unsigned int rowbytes[2],
/vbox/src/VBox/Additions/x11/x11include/xorg-server-1.0.1/
H A DXplugin.h289 unsigned int rowbytes);
357 unsigned int rowbytes[2],

Completed in 144 milliseconds