/external/libpng/contrib/libtests/ |
H A D | readpng.c | 63 png_size_t rowbytes = png_get_rowbytes(png_ptr, info_ptr); local 65 row = malloc(rowbytes); 66 display = malloc(rowbytes);
|
H A D | timepng.c | 64 png_size_t rowbytes = png_get_rowbytes(png_ptr, info_ptr); local 66 row = malloc(rowbytes); 67 display = malloc(rowbytes);
|
H A D | makepng.c | 249 set_value(png_bytep row, size_t rowbytes, png_uint_32 x, unsigned int bit_depth, argument 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, argument 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, 687 png_size_t rowbytes = png_get_rowbytes(png_ptr, info_ptr); local [all...] |
H A D | 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 [all...] |
/external/libpng/contrib/gregbook/ |
H A D | 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);
|
H A D | 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;
|
H A D | readpng2.h | 96 int rowbytes; member in struct:_mainprog_info
|
H A D | 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...] |
H A D | 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; 1098 src = rpng2_info.image_data + row*rpng2_info.rowbytes;
|
H A D | 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; 1402 src = rpng2_info.image_data + row*rpng2_info.rowbytes; 1604 Trace((stderr, " (width = %ld, rowbytes = %d, ximage_rowbytes = %d)\n", 1605 rpng2_info.width, rpng2_info.rowbytes, ximage_rowbytes)) 1623 src = rpng2_info.image_data + row*rpng2_info.rowbytes; [all...] |
/external/skia/src/gpu/ |
H A D | GrSWMaskHelper.cpp | 145 const void *data, int rowbytes) { 155 desc.fConfig, data, rowbytes, 144 sendTextureData(GrTexture *texture, const GrTextureDesc& desc, const void *data, int rowbytes) argument
|
/external/chromium_org/third_party/skia/src/gpu/ |
H A D | GrSWMaskHelper.cpp | 256 const void *data, int rowbytes) { 266 desc.fConfig, data, rowbytes, 255 sendTextureData(GrTexture *texture, const GrTextureDesc& desc, const void *data, int rowbytes) argument
|
/external/libpng/ |
H A D | pnginfo.h | 62 png_size_t rowbytes; /* bytes needed to hold an untransformed row */ member in struct:png_info_def
|
H A D | pngstruct.h | 265 png_size_t rowbytes; /* size of row in bytes */ member in struct:png_struct_def
|
H A D | png.h | 878 png_size_t rowbytes; /* number of bytes in row */ member in struct:png_row_info_struct
|
/external/pdfium/core/src/fxge/ge/ |
H A D | fx_ge_text.cpp | 1347 int rowbytes = FXSYS_abs(nSrcRowBytes) > nDstRowBytes ? nDstRowBytes : FXSYS_abs(nSrcRowBytes);
local 1349 FXSYS_memcpy32(pDataOut + row * nDstRowBytes, pDataIn + row * nSrcRowBytes, rowbytes);
1466 int rowbytes = FXSYS_abs(src_pitch) > dest_pitch ? dest_pitch : FXSYS_abs(src_pitch);
local 1468 FXSYS_memcpy32(pDestBuf + row * dest_pitch, pSrcBuf + row * src_pitch, rowbytes);
|
/external/chromium_org/third_party/libpng/ |
H A D | png.h | 818 png_uint_32 rowbytes PNG_DEPSTRUCT; /* bytes needed to hold an untransformed row */ 1158 png_uint_32 rowbytes; /* number of bytes in row */ member in struct:png_row_info_struct 1288 png_uint_32 rowbytes PNG_DEPSTRUCT; /* size of row in bytes */
|
/external/libpng/contrib/tools/ |
H A D | pngfix.c | 3606 png_size_t rowbytes = png_get_rowbytes(png_ptr, info_ptr); local 3608 row = png_voidcast(png_byte*, malloc(rowbytes)); 3609 display = png_voidcast(png_byte*, malloc(rowbytes));
|
/external/qemu/distrib/libpng-1.2.46/ |
H A D | png.h | 865 png_uint_32 rowbytes PNG_DEPSTRUCT; /* bytes needed to hold an untransformed row */ 1205 png_uint_32 rowbytes; /* number of bytes in row */ member in struct:png_row_info_struct 1341 png_uint_32 rowbytes PNG_DEPSTRUCT; /* size of row in bytes */
|