HomeSort by relevance Sort by last modified time
    Searched full:png_pixels (Results 1 - 2 of 2) sorted by null

  /external/libpng/contrib/pngminus/
png2pnm.c 193 png_byte *png_pixels = NULL; local
317 if ((png_pixels = (png_byte *) malloc (row_bytes * height * sizeof (png_byte))) == NULL) {
325 free (png_pixels);
326 png_pixels = NULL;
332 row_pointers[i] = png_pixels + i * row_bytes;
372 pix_ptr = png_pixels;
424 if (png_pixels != (unsigned char*) NULL)
425 free (png_pixels);
pnm2png.c 190 png_byte *png_pixels = NULL; local
335 if ((png_pixels = (png_byte *) malloc (row_bytes * height * sizeof (png_byte))) == NULL)
339 pix_ptr = png_pixels;
423 row_pointers[i] = png_pixels + i * row_bytes;
436 if (png_pixels != (unsigned char*) NULL)
437 free (png_pixels);

Completed in 53 milliseconds