Searched defs:row_pointers (Results 1 - 11 of 11) sorted by relevance

/external/libpng/contrib/gregbook/
H A Dreadpng.c211 png_bytepp row_pointers = NULL; local
220 free(row_pointers);
221 row_pointers = NULL;
270 if ((row_pointers = (png_bytepp)malloc(height*sizeof(png_bytep))) == NULL) {
281 /* set the individual row_pointers to point at the correct offsets */
284 row_pointers[i] = image_data + i*rowbytes;
289 png_read_image(png_ptr, row_pointers);
295 free(row_pointers);
296 row_pointers = NULL;
H A Dreadpng2.h92 uch **row_pointers; member in struct:_mainprog_info
H A Dwritepng.h100 uch **row_pointers; member in struct:_mainprog_info
/external/libpng/contrib/pngminus/
H A Dpng2pnm.c195 png_byte **row_pointers = NULL; local
323 if ((row_pointers = (png_byte **) malloc (height * sizeof (png_bytep))) == NULL)
331 /* set the individual row_pointers to point at the correct offsets */
333 row_pointers[i] = png_pixels + i * row_bytes;
336 png_read_image (png_ptr, row_pointers);
423 if (row_pointers != (unsigned char**) NULL)
424 free (row_pointers);
H A Dpnm2png.c192 png_byte **row_pointers = NULL; local
463 if (row_pointers == (unsigned char**) NULL)
465 if ((row_pointers = (png_byte **) malloc (height * sizeof (png_bytep))) == NULL)
472 /* set the individual row_pointers to point at the correct offsets */
474 row_pointers[i] = png_pixels + i * row_bytes;
477 png_write_image (png_ptr, row_pointers);
485 if (row_pointers != (unsigned char**) NULL)
486 free (row_pointers);
/external/deqp/framework/common/
H A DtcuImageIO.cpp124 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/libpng/
H A Dpnginfo.h38 * splt_palettes, scal_unit, row_pointers, and unknowns. By default, these
256 png_bytepp row_pointers; /* the image bits */ member in struct:png_info_def
H A Dpngset.c1440 png_bytepp row_pointers)
1447 if (info_ptr->row_pointers && (info_ptr->row_pointers != row_pointers))
1450 info_ptr->row_pointers = row_pointers;
1452 if (row_pointers)
1439 png_set_rows(png_const_structrp png_ptr, png_inforp info_ptr, png_bytepp row_pointers) argument
/external/chromium_org/third_party/libpng/
H A Dpngset.c1132 png_set_rows(png_structp png_ptr, png_infop info_ptr, png_bytepp row_pointers) argument
1139 if (info_ptr->row_pointers && (info_ptr->row_pointers != row_pointers))
1141 info_ptr->row_pointers = row_pointers;
1142 if (row_pointers)
/external/qemu/distrib/libpng-1.2.46/
H A Dpngset.c1142 png_set_rows(png_structp png_ptr, png_infop info_ptr, png_bytepp row_pointers) argument
1149 if (info_ptr->row_pointers && (info_ptr->row_pointers != row_pointers))
1151 info_ptr->row_pointers = row_pointers;
1152 if (row_pointers)
/external/pixman/test/
H A Dutils.c487 png_bytep *row_pointers; local
493 row_pointers = malloc (height * sizeof (png_bytep));
504 row_pointers[i] = (png_bytep)(data + i * width);
522 png_write_image (write_struct, row_pointers);
536 free (row_pointers);

Completed in 242 milliseconds