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

1234

/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 if (fread(image_data, 1L, rowbytes*height, saved_infile) <
167 rowbytes*height) {
H A Dreadpng.c211 png_uint_32 i, rowbytes; local
260 * get rowbytes and channels, and allocate image memory */
264 *pRowbytes = rowbytes = png_get_rowbytes(png_ptr, info_ptr);
267 if ((image_data = (uch *)malloc(rowbytes*height)) == NULL) {
278 Trace((stderr, "readpng_get_image: channels = %d, rowbytes = %ld, height = %ld\n",
279 *pChannels, rowbytes, height));
285 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...]
/external/libpng/contrib/libtests/
H A Dreadpng.c63 png_size_t rowbytes = png_get_rowbytes(png_ptr, info_ptr); local
66 row = malloc(rowbytes);
67 display = malloc(rowbytes);
H A Dmakepng.c329 set_value(png_bytep row, size_t rowbytes, png_uint_32 x, unsigned int bit_depth, argument
340 if (offset < rowbytes && (bit_depth < 16 || offset+1 < rowbytes))
390 generate_row(png_bytep row, size_t rowbytes, unsigned int y, int color_type, argument
410 assert(y == 0 && rowbytes == 1 && size_max == 1);
416 assert(y == 0 && rowbytes == 1 && size_max == 3);
422 assert(y == 0 && rowbytes == 8 && size_max == 15);
440 assert(y == 0 && rowbytes == 256 && size_max == 255);
479 assert(rowbytes == 512 && size_max == 255);
504 assert(size_max == 255 && rowbytes
953 png_size_t rowbytes = png_get_rowbytes(png_ptr, info_ptr); local
[all...]
H A Dtimepng.c103 png_size_t rowbytes = png_get_rowbytes(png_ptr, info_ptr); local
105 row = voidcast(png_bytep,malloc(rowbytes));
106 display = voidcast(png_bytep,malloc(rowbytes));
/external/pdfium/third_party/libtiff/
H A Dtif_fax3.c53 tmsize_t rowbytes; /* bytes in a decoded scanline */ member in struct:__anon16755
231 if (occ % sp->b.rowbytes)
250 buf += sp->b.rowbytes;
251 occ -= sp->b.rowbytes;
275 if (occ % sp->b.rowbytes)
307 buf += sp->b.rowbytes;
308 occ -= sp->b.rowbytes;
480 tmsize_t rowbytes; local
492 rowbytes = TIFFTileRowSize(tif);
495 rowbytes
[all...]
/external/libpng/contrib/intel/
H A Dfilter_sse2_intrinsics.c75 int rb = row_info->rowbytes;
104 int rb = row_info->rowbytes;
128 int rb = row_info->rowbytes;
177 int rb = row_info->rowbytes;
246 int rb = row_info->rowbytes;
340 int rb = row_info->rowbytes;
/external/pdfium/third_party/libpng16/contrib/intel/
H A Dfilter_sse2_intrinsics.c75 int rb = row_info->rowbytes;
104 int rb = row_info->rowbytes;
128 int rb = row_info->rowbytes;
177 int rb = row_info->rowbytes;
246 int rb = row_info->rowbytes;
340 int rb = row_info->rowbytes;
/external/skia/third_party/libpng/contrib/intel/
H A Dfilter_sse2_intrinsics.c75 int rb = row_info->rowbytes;
104 int rb = row_info->rowbytes;
128 int rb = row_info->rowbytes;
177 int rb = row_info->rowbytes;
246 int rb = row_info->rowbytes;
340 int rb = row_info->rowbytes;
/external/libpng/
H A Dpnginfo.h61 png_size_t rowbytes; /* bytes needed to hold an untransformed row */ member in struct:png_info_def
H A Dpngrtran.c1282 * and it is called before the 'rowbytes' calculation is done, so the code
2114 info_ptr->rowbytes = PNG_ROWBYTES(info_ptr->pixel_depth, info_ptr->width);
2122 png_ptr->info_rowbytes = info_ptr->rowbytes;
2224 row_info->rowbytes = row_width * row_info->channels;
2300 png_bytep bp_end = bp + row_info->rowbytes;
2315 png_bytep bp_end = bp + row_info->rowbytes;
2333 png_bytep bp_end = bp + row_info->rowbytes;
2351 png_bytep bp_end = bp + row_info->rowbytes;
2383 png_bytep ep = sp + row_info->rowbytes; /* end+1 */
2426 row_info->rowbytes
[all...]
/external/mesa3d/src/glx/apple/
H A Dapple_cgl.h62 GLsizei width, GLsizei height, GLint rowbytes,
/external/pdfium/third_party/libpng16/
H A Dpnginfo.h61 png_size_t rowbytes; /* bytes needed to hold an untransformed row */ member in struct:png_info_def
H A Dpngrtran.c1282 * and it is called before the 'rowbytes' calculation is done, so the code
2114 info_ptr->rowbytes = PNG_ROWBYTES(info_ptr->pixel_depth, info_ptr->width);
2122 png_ptr->info_rowbytes = info_ptr->rowbytes;
2224 row_info->rowbytes = row_width * row_info->channels;
2300 png_bytep bp_end = bp + row_info->rowbytes;
2315 png_bytep bp_end = bp + row_info->rowbytes;
2333 png_bytep bp_end = bp + row_info->rowbytes;
2351 png_bytep bp_end = bp + row_info->rowbytes;
2383 png_bytep ep = sp + row_info->rowbytes; /* end+1 */
2426 row_info->rowbytes
[all...]
/external/skia/third_party/libpng/
H A Dpnginfo.h61 png_size_t rowbytes; /* bytes needed to hold an untransformed row */ member in struct:png_info_def
H A Dpngrtran.c1282 * and it is called before the 'rowbytes' calculation is done, so the code
2114 info_ptr->rowbytes = PNG_ROWBYTES(info_ptr->pixel_depth, info_ptr->width);
2122 png_ptr->info_rowbytes = info_ptr->rowbytes;
2224 row_info->rowbytes = row_width * row_info->channels;
2300 png_bytep bp_end = bp + row_info->rowbytes;
2315 png_bytep bp_end = bp + row_info->rowbytes;
2333 png_bytep bp_end = bp + row_info->rowbytes;
2351 png_bytep bp_end = bp + row_info->rowbytes;
2383 png_bytep ep = sp + row_info->rowbytes; /* end+1 */
2426 row_info->rowbytes
[all...]
/external/libpng/arm/
H A Dfilter_neon.S66 ldr r3, [r0, #4] @ rowbytes
82 ldr r3, [r0, #4] @ rowbytes
108 ldr r3, [r0, #4] @ rowbytes
121 ldr r12, [r0, #4] @ rowbytes
143 ldr r12, [r0, #4] @ rowbytes
193 ldr r12, [r0, #4] @ rowbytes
217 ldr r12, [r0, #4] @ rowbytes
H A Dfilter_neon_intrinsics.c47 png_bytep rp_stop = row + row_info->rowbytes;
68 png_bytep rp_stop = row + row_info->rowbytes;
115 png_bytep rp_stop = row + row_info->rowbytes;
145 png_bytep rp_stop = row + row_info->rowbytes;
212 png_bytep rp_stop = row + row_info->rowbytes;
280 png_bytep rp_stop = row + row_info->rowbytes;
347 png_bytep rp_stop = row + row_info->rowbytes;
/external/pdfium/third_party/libpng16/arm/
H A Dfilter_neon.S66 ldr r3, [r0, #4] @ rowbytes
82 ldr r3, [r0, #4] @ rowbytes
108 ldr r3, [r0, #4] @ rowbytes
121 ldr r12, [r0, #4] @ rowbytes
143 ldr r12, [r0, #4] @ rowbytes
193 ldr r12, [r0, #4] @ rowbytes
217 ldr r12, [r0, #4] @ rowbytes
H A Dfilter_neon_intrinsics.c47 png_bytep rp_stop = row + row_info->rowbytes;
68 png_bytep rp_stop = row + row_info->rowbytes;
115 png_bytep rp_stop = row + row_info->rowbytes;
145 png_bytep rp_stop = row + row_info->rowbytes;
212 png_bytep rp_stop = row + row_info->rowbytes;
280 png_bytep rp_stop = row + row_info->rowbytes;
347 png_bytep rp_stop = row + row_info->rowbytes;
/external/skia/third_party/libpng/arm/
H A Dfilter_neon.S66 ldr r3, [r0, #4] @ rowbytes
82 ldr r3, [r0, #4] @ rowbytes
108 ldr r3, [r0, #4] @ rowbytes
121 ldr r12, [r0, #4] @ rowbytes
143 ldr r12, [r0, #4] @ rowbytes
193 ldr r12, [r0, #4] @ rowbytes
217 ldr r12, [r0, #4] @ rowbytes
H A Dfilter_neon_intrinsics.c47 png_bytep rp_stop = row + row_info->rowbytes;
68 png_bytep rp_stop = row + row_info->rowbytes;
115 png_bytep rp_stop = row + row_info->rowbytes;
145 png_bytep rp_stop = row + row_info->rowbytes;
212 png_bytep rp_stop = row + row_info->rowbytes;
280 png_bytep rp_stop = row + row_info->rowbytes;
347 png_bytep rp_stop = row + row_info->rowbytes;
/external/syslinux/com32/lib/libpng/
H A Dpngrtran.c1318 info_ptr->rowbytes = PNG_ROWBYTES(info_ptr->pixel_depth, info_ptr->width);
1486 if (png_ptr->row_info.rowbytes == (png_uint_32)0)
1487 png_error(png_ptr, "png_do_dither returned rowbytes=0");
1553 /* png_uint_32 rowbytes; number of bytes in row */
1567 png_ptr->row_info.rowbytes = PNG_ROWBYTES(png_ptr->row_info.pixel_depth,
1663 row_info->rowbytes = row_width * row_info->channels;
1723 png_uint_32 istop = row_info->rowbytes;
1737 png_uint_32 istop = row_info->rowbytes;
1836 row_info->rowbytes = row_info->width * row_info->channels;
1857 png_bytep sp = row + row_info->rowbytes;
[all...]

Completed in 526 milliseconds

1234