Lines Matching refs:scratchBuffer
112 if (scratchBuffer) { in Cleanup()
113 free(scratchBuffer); in Cleanup()
114 scratchBuffer = NULL; in Cleanup()
1365 scratchBuffer = NULL; in PCLmGenerator()
1596 if (!scratchBuffer) { in StartPage()
1600 scratchBuffer = (ubyte *) malloc(len); in StartPage()
1601 if (!scratchBuffer) { in StartPage()
1618 if (scratchBuffer) { in EndPage()
1619 free(scratchBuffer); in EndPage()
1620 scratchBuffer = NULL; in EndPage()
1731 write_JPEG_Buff(scratchBuffer, JPEG_QUALITY, mediaWidthInPixels, in Encapsulate()
1734 injectJPEG((char *) scratchBuffer, mediaWidthInPixels, in Encapsulate()
1740 write_JPEG_Buff(scratchBuffer, JPEG_QUALITY, mediaWidthInPixels, in Encapsulate()
1743 injectJPEG((char *) scratchBuffer, mediaWidthInPixels, numPartialScanlinesToInject, in Encapsulate()
1762 write_JPEG_Buff(scratchBuffer, JPEG_QUALITY, mediaWidthInPixels, currStripHeight, in Encapsulate()
1768 write_JPEG_Buff(scratchBuffer, JPEG_QUALITY, mediaWidthInPixels, currStripHeight, in Encapsulate()
1773 injectJPEG((char *) scratchBuffer, mediaWidthInPixels, currStripHeight, numCompBytes, in Encapsulate()
1789 result = compress(scratchBuffer, &tmpDestSize, (const Bytef *) tmpStrip, in Encapsulate()
1791 injectLZStrip(scratchBuffer, tmpDestSize, mediaWidthInPixels, in Encapsulate()
1795 result = compress(scratchBuffer, &tmpDestSize, (const Bytef *) tmpStrip, in Encapsulate()
1797 injectLZStrip(scratchBuffer, tmpDestSize, mediaWidthInPixels, in Encapsulate()
1805 result = compress(scratchBuffer, &destSize, (const Bytef *) newStripPtr, in Encapsulate()
1811 result = compress(scratchBuffer, &destSize, (const Bytef *) localInBuffer, in Encapsulate()
1814 injectLZStrip(scratchBuffer, destSize, mediaWidthInPixels, numLinesThisCall, destColorSpace, in Encapsulate()
1827 compSize = RLEEncodeImage(tmpStrip, scratchBuffer, in Encapsulate()
1829 injectRLEStrip(scratchBuffer, compSize, mediaWidthInPixels, in Encapsulate()
1834 compSize = RLEEncodeImage(tmpStrip, scratchBuffer, in Encapsulate()
1836 injectRLEStrip(scratchBuffer, compSize, mediaWidthInPixels, in Encapsulate()
1845 compSize = RLEEncodeImage(newStripPtr, scratchBuffer, in Encapsulate()
1850 compSize = RLEEncodeImage((ubyte *) localInBuffer, scratchBuffer, in Encapsulate()
1854 injectRLEStrip(scratchBuffer, compSize, mediaWidthInPixels, numLinesThisCall, in Encapsulate()