Home | History | Annotate | Download | only in etc1tool

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