Home
last modified time | relevance | path

Searched refs:png_pixels (Results 1 – 2 of 2) sorted by relevance

/external/libpng/contrib/pngminus/
Dpng2pnm.c194 png_byte *png_pixels = NULL; in png2pnm() local
318 if ((png_pixels = (png_byte *) malloc (row_bytes * height * sizeof (png_byte))) == NULL) { in png2pnm()
326 free (png_pixels); in png2pnm()
327 png_pixels = NULL; in png2pnm()
333 row_pointers[i] = png_pixels + i * row_bytes; in png2pnm()
373 pix_ptr = png_pixels; in png2pnm()
425 if (png_pixels != (unsigned char*) NULL) in png2pnm()
426 free (png_pixels); in png2pnm()
Dpnm2png.c191 png_byte *png_pixels = NULL; in pnm2png() local
370 if ((png_pixels = (png_byte *) malloc (row_bytes * height * sizeof (png_byte))) == NULL) in pnm2png()
374 pix_ptr = png_pixels; in pnm2png()
474 row_pointers[i] = png_pixels + i * row_bytes; in pnm2png()
487 if (png_pixels != (unsigned char*) NULL) in pnm2png()
488 free (png_pixels); in pnm2png()