Lines Matching refs:ppbRowPointers
111 static png_byte **ppbRowPointers = NULL; local
252 if ((ppbRowPointers = (png_bytepp) malloc((*piHeight)
261 ppbRowPointers[i] = pbImageData + i * ulRowBytes;
265 png_read_image(png_ptr, ppbRowPointers);
273 free (ppbRowPointers);
274 ppbRowPointers = NULL;
285 if(ppbRowPointers)
286 free (ppbRowPointers);
307 static png_byte **ppbRowPointers = NULL; local
365 if ((ppbRowPointers = (png_bytepp) malloc(iHeight * sizeof(png_bytep))) == NULL)
371 ppbRowPointers[i] = pDiData + i * (((ulRowBytes + 3) >> 2) << 2);
375 png_write_image (png_ptr, ppbRowPointers);
383 free (ppbRowPointers);
384 ppbRowPointers = NULL;
397 if(ppbRowPointers)
398 free (ppbRowPointers);