/external/libpng/contrib/gregbook/ |
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 if (fread(image_data, 1L, rowbytes*height, saved_infile) < 167 rowbytes*height) {
|
readpng.c | 211 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;
|
readpng2.h | 96 int rowbytes; member in struct:_mainprog_info
|
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...] |
rpng2-win.c | 646 ulg rowbytes = rpng2_info.rowbytes; local 649 Trace((stderr, " rowbytes = %d\n", rpng2_info.rowbytes)) 653 rpng2_info.image_data = (uch *)malloc(rowbytes * rpng2_info.height); 668 rpng2_info.row_pointers[i] = rpng2_info.image_data + i*rowbytes; [all...] |
rpng2-x.c | 776 ulg rowbytes = rpng2_info.rowbytes; local 779 Trace((stderr, " rowbytes = %d\n", rpng2_info.rowbytes)) 783 rpng2_info.image_data = (uch *)malloc(rowbytes * rpng2_info.height); 798 rpng2_info.row_pointers[i] = rpng2_info.image_data + i*rowbytes; [all...] |
/external/libpng/contrib/libtests/ |
readpng.c | 63 png_size_t rowbytes = png_get_rowbytes(png_ptr, info_ptr); local 66 row = malloc(rowbytes); 67 display = malloc(rowbytes);
|
timepng.c | 64 png_size_t rowbytes = png_get_rowbytes(png_ptr, info_ptr); local 66 row = malloc(rowbytes); 67 display = malloc(rowbytes);
|
makepng.c | 329 set_value(png_bytep row, size_t rowbytes, png_uint_32 x, unsigned int bit_depth, 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, 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 == 256*(pixel_depth>>3)) 953 png_size_t rowbytes = png_get_rowbytes(png_ptr, info_ptr); local [all...] |
pngimage.c | 986 size_t rowbytes; local 1024 /* rowbytes should be the same */ 1025 rowbytes = png_get_rowbytes(dp->read_pp, dp->read_ip); 1027 /* NOTE: on 64-bit systems this may trash the top bits of rowbytes, 1030 if (rowbytes != dp->original_rowbytes) 1031 display_log(dp, APP_ERROR, "PNG rowbytes changed from %lu to %lu", 1032 (unsigned long)dp->original_rowbytes, (unsigned long)rowbytes); 1067 if (memcmp(row, orig, rowbytes-(mask != 0)) != 0 || (mask != 0 && 1068 ((row[rowbytes-1] & mask) != (orig[rowbytes-1] & mask))) [all...] |
/external/libpng/ |
pnginfo.h | 61 png_size_t rowbytes; /* bytes needed to hold an untransformed row */ member in struct:png_info_def
|
pngstruct.h | 217 png_size_t rowbytes; /* size of row in bytes */ member in struct:png_struct_def
|
/external/opencv3/3rdparty/libpng/ |
pnginfo.h | 62 png_size_t rowbytes; /* bytes needed to hold an untransformed row */ member in struct:png_info_def
|
pngstruct.h | 104 png_size_t rowbytes; /* size of row in bytes */ member in struct:png_struct_def
|
png.h | 840 png_size_t rowbytes; \/* number of bytes in row *\/ member in struct:png_row_info_struct [all...] |
/external/pdfium/third_party/lpng_v163/ |
pnginfo.h | 62 png_size_t rowbytes; /* bytes needed to hold an untransformed row */
member in struct:png_info_def
|
pngstruct.h | 218 png_size_t rowbytes; /* size of row in bytes */
member in struct:png_struct_def
|
/ndk/tests/build/issue20862-libpng-O0/jni/ |
pnginfo.h | 62 png_size_t rowbytes; /* bytes needed to hold an untransformed row */ member in struct:png_info_def
|
pngstruct.h | 104 png_size_t rowbytes; /* size of row in bytes */ member in struct:png_struct_def
|
/external/opencv3/3rdparty/libtiff/ |
tif_fax3.c | 53 tmsize_t rowbytes; /* bytes in a decoded scanline */ member in struct:__anon21821 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; 479 tmsize_t rowbytes; local 491 rowbytes = TIFFTileRowSize(tif); 494 rowbytes = TIFFScanlineSize(tif) [all...] |
tif_dirread.c | 4341 uint64 rowbytes = TIFFScanlineSize64(tif); local [all...] |
/external/pdfium/third_party/libtiff/ |
tif_fax3.c | 53 tmsize_t rowbytes; /* bytes in a decoded scanline */ member in struct:__anon23100 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 = TIFFScanlineSize(tif) [all...] |
tif_dirread.c | 4338 uint64 rowbytes = TIFFScanlineSize64(tif); local [all...] |
/external/pdfium/core/src/fxge/ge/ |
fx_ge_text.cpp | 1484 int rowbytes = FXSYS_abs(nSrcRowBytes) > nDstRowBytes local 1628 int rowbytes = local [all...] |
/hardware/ti/omap4xxx/hwc/ |
hwc.c | 110 int rowbytes; member in struct:omap4_hwc_img 113 } dock_image = { .rowbytes = 0 }; [all...] |