/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 fread(image_data, 1L, rowbytes*height, saved_infile);
|
readpng.c | 210 png_uint_32 i, rowbytes; local 259 * get rowbytes and channels, and allocate image memory */ 263 *pRowbytes = rowbytes = png_get_rowbytes(png_ptr, info_ptr); 266 if ((image_data = (uch *)malloc(rowbytes*height)) == NULL) { 277 Trace((stderr, "readpng_get_image: channels = %d, rowbytes = %ld, height = %ld\n", 278 *pChannels, rowbytes, height)); 284 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 | 644 ulg rowbytes = rpng2_info.rowbytes; local 647 Trace((stderr, " rowbytes = %d\n", rpng2_info.rowbytes)) 651 rpng2_info.image_data = (uch *)malloc(rowbytes * rpng2_info.height); 666 rpng2_info.row_pointers[i] = rpng2_info.image_data + i*rowbytes; [all...] |
rpng2-x.c | 752 ulg rowbytes = rpng2_info.rowbytes; local 755 Trace((stderr, " rowbytes = %d\n", rpng2_info.rowbytes)) 759 rpng2_info.image_data = (uch *)malloc(rowbytes * rpng2_info.height); 774 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 65 row = malloc(rowbytes); 66 display = malloc(rowbytes);
|
makepng.c | 249 set_value(png_bytep row, size_t rowbytes, png_uint_32 x, unsigned int bit_depth, 260 if (offset < rowbytes && (bit_depth < 16 || offset+1 < rowbytes)) 310 generate_row(png_bytep row, size_t rowbytes, unsigned int y, int color_type, 335 set_value(row, rowbytes, x, bit_depth, luma, gamma_table, conv); 350 set_value(row, rowbytes, 2*x, bit_depth, 353 set_value(row, rowbytes, 2*x+1, bit_depth, alpha, gamma_table, 381 set_value(row, rowbytes, 3*x+0, bit_depth, /* red */ Y, 383 set_value(row, rowbytes, 3*x+1, bit_depth, /* green */ 386 set_value(row, rowbytes, 3*x+2, bit_depth, /* blue * 687 png_size_t rowbytes = png_get_rowbytes(png_ptr, info_ptr); local [all...] |
timepng.c | 64 png_size_t rowbytes = png_get_rowbytes(png_ptr, info_ptr); local 66 row = malloc(rowbytes); 67 display = malloc(rowbytes);
|
pngimage.c | 917 size_t rowbytes; local 955 /* rowbytes should be the same */ 956 rowbytes = png_get_rowbytes(dp->read_pp, dp->read_ip); 958 /* NOTE: on 64-bit systems this may trash the top bits of rowbytes, 961 if (rowbytes != dp->original_rowbytes) 962 display_log(dp, APP_ERROR, "PNG rowbytes changed from %lu to %lu", 963 (unsigned long)dp->original_rowbytes, (unsigned long)rowbytes); 998 if (memcmp(row, orig, rowbytes-(mask != 0)) != 0 || (mask != 0 && 999 ((row[rowbytes-1] & mask) != (orig[rowbytes-1] & mask))) [all...] |
/external/libpng/ |
pnginfo.h | 62 png_size_t rowbytes; /* bytes needed to hold an untransformed row */ member in struct:png_info_def
|
pngrtran.c | [all...] |
pngtrans.c | 272 png_size_t istop = row_info->rowbytes; 286 png_size_t istop = row_info->rowbytes; 301 png_size_t istop = row_info->rowbytes; 456 end = row + row_info->rowbytes; 491 png_bytep ep = row + row_info->rowbytes; /* One beyond end of row */ 589 /* Fix the rowbytes value. */ 590 row_info->rowbytes = dp-row; 689 png_bytep rp = png_ptr->row_buf + row_info->rowbytes;
|
/external/mesa3d/src/glx/apple/ |
apple_cgl.h | 62 GLsizei width, GLsizei height, GLint rowbytes,
|
/external/pdfium/samples/fx_lpng/lpng_v163/ |
pnginfo.h | 62 png_size_t rowbytes; /* bytes needed to hold an untransformed row */
member in struct:png_info_def
|
fx_pngrtran.c | [all...] |
fx_pngtrans.c | 269 png_size_t istop = row_info->rowbytes;
283 png_size_t istop = row_info->rowbytes;
298 png_size_t istop = row_info->rowbytes;
453 end = row + row_info->rowbytes;
488 png_bytep ep = row + row_info->rowbytes; /* One beyond end of row */
586 /* Fix the rowbytes value. */
587 row_info->rowbytes = dp-row;
686 png_bytep rp = png_ptr->row_buf + row_info->rowbytes;
|
/external/skia/src/gpu/ |
GrSWMaskHelper.h | 133 const void *data, size_t rowbytes);
|
GrSWMaskHelper.cpp | 256 const void *data, size_t rowbytes) { 266 desc.fConfig, data, rowbytes, 295 this->sendTextureData(texture, desc, fBM.getPixels(), fBM.rowBytes()); 316 fBM.width(), fBM.height(), fBM.rowBytes());
|
/external/libpng/arm/ |
filter_neon.S | 59 ldr r3, [r0, #4] @ rowbytes 75 ldr r3, [r0, #4] @ rowbytes 101 ldr r3, [r0, #4] @ rowbytes 114 ldr r12, [r0, #4] @ rowbytes 136 ldr r12, [r0, #4] @ rowbytes 186 ldr r12, [r0, #4] @ rowbytes 210 ldr r12, [r0, #4] @ rowbytes
|
filter_neon_intrinsics.c | 46 png_bytep rp_stop = row + row_info->rowbytes; 65 png_bytep rp_stop = row + row_info->rowbytes; 110 png_bytep rp_stop = row + row_info->rowbytes; 138 png_bytep rp_stop = row + row_info->rowbytes; 203 png_bytep rp_stop = row + row_info->rowbytes; 269 png_bytep rp_stop = row + row_info->rowbytes; 334 png_bytep rp_stop = row + row_info->rowbytes;
|
/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
|
pngrtran.c | [all...] |
/external/freetype/src/sfnt/ |
pngshim.c | 62 for ( i = 0; i < row_info->rowbytes; i += 4 ) 105 for ( i = 0; i < row_info->rowbytes; i += 4 )
|
/external/pdfium/third_party/freetype/src/sfnt/ |
pngshim.c | 61 for ( i = 0; i < row_info->rowbytes; i += 4 ) 104 for ( i = 0; i < row_info->rowbytes; i += 4 )
|