Lines Matching refs:pImageData
26 const png_bytep pImageData, png_uint_32 imageStride);
240 png_bytep pImageData = NULL; in readPKMFile() local
284 pImageData = new png_byte[stride * height]; in readPKMFile()
285 if (!pImageData) { in readPKMFile()
290 etc1_decode_image(pEncodedData, pImageData, width, height, 3, stride); in readPKMFile()
294 *ppImageData = pImageData; in readPKMFile()
295 pImageData = 0; in readPKMFile()
301 delete[] pImageData; in readPKMFile()
406 const png_bytep pImageData, png_uint_32 imageStride) { in writePNGFile() argument
437 png_write_row(png_ptr, pImageData + y * imageStride); in writePNGFile()
455 png_bytep pImageData = NULL; in decode() local
459 if (readPKMFile(pInput, &pImageData, &width, &height)) { in decode()
463 if (writePNGFile(pOutput, width, height, pImageData, width * 3)) { in decode()
470 exit: delete[] pImageData; in decode()