/external/autotest/client/deps/glbench/src/ |
png_helper.cc | 30 png_bytep* row_pointers; local 36 row_pointers = (png_bytep*)malloc(sizeof(png_bytep) * height); 39 row_pointers[y] = (png_byte*)malloc(4 * width); 41 png_byte* pixel = &(row_pointers[y][x * 4]); 77 png_write_image(png_ptr, row_pointers); 86 free(row_pointers[y]); 87 free(row_pointers);
|
/external/libpng/contrib/gregbook/ |
readpng.c | 212 png_bytepp row_pointers = NULL; local 221 free(row_pointers); 222 row_pointers = NULL; 277 if ((row_pointers = (png_bytepp)malloc(height*sizeof(png_bytep))) == NULL) { 288 /* set the individual row_pointers to point at the correct offsets */ 291 row_pointers[i] = image_data + i*rowbytes; 296 png_read_image(png_ptr, row_pointers); 302 free(row_pointers); 303 row_pointers = NULL;
|
readpng2.h | 92 uch **row_pointers; member in struct:_mainprog_info
|
writepng.h | 100 uch **row_pointers; member in struct:_mainprog_info
|
/external/deqp/framework/common/ |
tcuImageIO.cpp | 124 std::vector<png_bytep> row_pointers; local 125 row_pointers.resize(height); 127 row_pointers[y] = (deUint8*)dst.getAccess().getDataPtr() + y*dst.getAccess().getRowPitch(); 129 png_read_image(png_ptr, &row_pointers[0]);
|
/external/honggfuzz/examples/libpng/ |
persistent-png.c | 103 png_bytepp row_pointers = png_get_rows(png_ptr, info_ptr); local 108 write(null_fd, row_pointers[i], row_bytes);
|
/external/libpng/contrib/pngminus/ |
png2pnm.c | 213 png_byte **row_pointers = NULL; local 349 if ((row_pointers = (png_byte **) 358 /* set the individual row_pointers to point at the correct offsets */ 360 row_pointers[i] = png_pixels + i * row_bytes; 363 png_read_image (png_ptr, row_pointers); 451 if (row_pointers != (unsigned char**) NULL) 452 free (row_pointers);
|
pnm2png.c | 209 png_byte **row_pointers = NULL; local 496 if (row_pointers == (unsigned char**) NULL) 498 if ((row_pointers = (png_byte **) 508 /* set the individual row_pointers to point at the correct offsets */ 510 row_pointers[i] = png_pixels + i * row_bytes; 513 png_write_image (png_ptr, row_pointers); 521 if (row_pointers != (unsigned char**) NULL) 522 free (row_pointers);
|
/development/tools/etc1tool/ |
etc1tool.cpp | 142 png_bytep* row_pointers = NULL; // Does not need to be deallocated. local 193 row_pointers = png_get_rows(png_ptr, info_ptr); 209 memcpy(pSourceImage + y * stride, row_pointers[y], stride);
|
/external/libpng/ |
pnginfo.h | 37 * splt_palettes, scal_unit, row_pointers, and unknowns. By default, these 263 png_bytepp row_pointers; /* the image bits */ member in struct:png_info_def
|
/external/pdfium/third_party/libpng16/ |
pnginfo.h | 37 * splt_palettes, scal_unit, row_pointers, and unknowns. By default, these 255 png_bytepp row_pointers; /* the image bits */ member in struct:png_info_def
|