Searched defs:row_bytes (Results 1 - 4 of 4) sorted by relevance

/vbox/src/libs/libpng-1.2.8/contrib/pngminus/
H A Dpng2pnm.c196 png_uint_32 row_bytes; local
314 /* row_bytes is the width x number of channels x (bit-depth / 8) */
315 row_bytes = png_get_rowbytes (png_ptr, info_ptr);
317 if ((png_pixels = (png_byte *) malloc (row_bytes * height * sizeof (png_byte))) == NULL) {
332 row_pointers[i] = png_pixels + i * row_bytes;
H A Dpnm2png.c193 png_uint_32 row_bytes; local
332 /* row_bytes is the width x number of channels x (bit-depth / 8) */
333 row_bytes = width * channels * ((bit_depth <= 8) ? 1 : 2);
335 if ((png_pixels = (png_byte *) malloc (row_bytes * height * sizeof (png_byte))) == NULL)
423 row_pointers[i] = png_pixels + i * row_bytes;
/vbox/src/libs/libpng-1.2.8/
H A Dpngrutil.c2956 png_uint_32 row_bytes; local
2974 row_bytes = PNG_ROWBYTES(png_ptr->pixel_depth,png_ptr->iwidth) + 1;
2976 png_ptr->irowbytes = (png_size_t)row_bytes;
2977 if((png_uint_32)png_ptr->irowbytes != row_bytes)
3090 row_bytes = ((png_ptr->width + 7) & ~((png_uint_32)7));
3093 row_bytes = PNG_ROWBYTES(max_pixel_depth,row_bytes) +
3096 if (row_bytes > (png_uint_32)65536L)
3099 png_ptr->big_row_buf = (png_bytep)png_malloc(png_ptr, row_bytes+64);
3102 png_ptr->row_buf_size = row_bytes;
[all...]
H A Dpngwutil.c2065 png_uint_32 row_bytes = row_info->rowbytes; local
2111 for (i = 0, rp = row_buf + 1; i < row_bytes; i++, rp++)
2166 for (lp = row_buf + 1; i < row_bytes;
2223 for (lp = row_buf + 1; i < row_bytes;
2279 pp = prev_row + 1; i < row_bytes;
2327 pp = prev_row + 1; i < row_bytes; i++)
2385 for (lp = row_buf + 1; i < row_bytes; i++)
2438 for (lp = row_buf + 1; i < row_bytes; i++)
2498 for (lp = row_buf + 1, cp = prev_row + 1; i < row_bytes; i++)
2572 for (lp = row_buf + 1, cp = prev_row + 1; i < row_bytes;
[all...]

Completed in 62 milliseconds