Lines Matching refs:ppbRowPointers
111 static png_byte **ppbRowPointers = NULL; in PngLoadImage() local
248 if ((ppbRowPointers = (png_bytepp) malloc((*piHeight) in PngLoadImage()
257 ppbRowPointers[i] = pbImageData + i * ulRowBytes; in PngLoadImage()
261 png_read_image(png_ptr, ppbRowPointers); in PngLoadImage()
269 free (ppbRowPointers); in PngLoadImage()
270 ppbRowPointers = NULL; in PngLoadImage()
281 if(ppbRowPointers) in PngLoadImage()
282 free (ppbRowPointers); in PngLoadImage()
303 static png_byte **ppbRowPointers = NULL; in PngSaveImage() local
361 if ((ppbRowPointers = (png_bytepp) malloc(iHeight * sizeof(png_bytep))) == NULL) in PngSaveImage()
367 ppbRowPointers[i] = pDiData + i * (((ulRowBytes + 3) >> 2) << 2); in PngSaveImage()
371 png_write_image (png_ptr, ppbRowPointers); in PngSaveImage()
379 free (ppbRowPointers); in PngSaveImage()
380 ppbRowPointers = NULL; in PngSaveImage()
393 if(ppbRowPointers) in PngSaveImage()
394 free (ppbRowPointers); in PngSaveImage()