Lines Matching refs:pOutput
25 int writePNGFile(const char* pOutput, png_uint_32 width, png_uint_32 height,
313 int encode(const char* pInput, const char* pOutput, bool bEmitHeader, const char* pDiffFile) { in encode() argument
337 if ((pOut = fopen(pOutput, "wb")) == NULL) { in encode()
338 fprintf(stderr, "Could not open output file %s: %d\n", pOutput, errno); in encode()
348 pOutput, errno); in encode()
356 pOutput, errno); in encode()
366 if (readPKMFile(pOutput, &pDiffImage, &outWidth, &outHeight)) { in encode()
405 int writePNGFile(const char* pOutput, png_uint_32 width, png_uint_32 height, in writePNGFile() argument
423 if ((pOut = fopen(pOutput, "wb")) == NULL) { in writePNGFile()
424 fprintf(stderr, "Could not open output file %s: %d\n", pOutput, errno); in writePNGFile()
453 int decode(const char* pInput, const char* pOutput) { in decode() argument
463 if (writePNGFile(pOutput, width, height, pImageData, width * 3)) { in decode()
485 const char* pOutput = NULL; in main() local
501 if (pOutput != NULL) { in main()
507 pOutput = argv[++i]; in main()
563 if (!pOutput) { in main()
571 pOutput = pOutputFileBuff; in main()
575 encode(pInput, pOutput, bEncodeHeader, pDiffFile); in main()
577 decode(pInput, pOutput); in main()