Lines Matching refs:str
140 void writeJpeg_( OutputBuffer& o_rOutputBuf, Stream* str, bool bWithLinefeed ) in writeJpeg_() argument
143 str = ((DCTStream *)str)->getRawStream(); in writeJpeg_()
144 str->reset(); in writeJpeg_()
148 while((c=str->getChar()) != EOF) in writeJpeg_()
155 str->close(); in writeJpeg_()
158 void writePbm_(OutputBuffer& o_rOutputBuf, Stream* str, int width, int height, bool bWithLinefeed, … in writePbm_() argument
183 str->reset(); in writePbm_()
189 o_rOutputBuf.push_back(static_cast<char>(str->getChar() ^ 0xff)); in writePbm_()
194 o_rOutputBuf.push_back(static_cast<char>(str->getChar())); in writePbm_()
197 str->close(); in writePbm_()
201 Stream* str, in writePpm_() argument
237 new ImageStream(str, in writePpm_()
263 Stream* str, in writePng_() argument
274 PngHelper::createPng( o_rOutputBuf, str, width, height, zeroColor, oneColor, bIsMask ); in writePng_()
282 Stream* str, in writePng_() argument
291 …PngHelper::createPng( o_rOutputBuf, str, width, height, colorMap, maskStr, maskWidth, maskHeight, … in writePng_()
299 Stream* str, in writePng_() argument
308 …PngHelper::createPng( o_rOutputBuf, str, width, height, colorMap, maskStr, maskWidth, maskHeight, … in writePng_()
316 void writeMask_( OutputBuffer& o_rOutputBuf, Stream* str, int width, int height, bool bWithLinefeed… in writeMask_() argument
318 if( str->getKind() == strDCT ) in writeMask_()
319 writeJpeg_(o_rOutputBuf, str, bWithLinefeed); in writeMask_()
321 writePbm_(o_rOutputBuf, str, width, height, bWithLinefeed, bInvert ); in writeMask_()
325 Stream* str, in writeImage_() argument
332 if( str->getKind() == strDCT && in writeImage_()
336 writeJpeg_(o_rOutputBuf, str, bWithLinefeed); in writeImage_()
352 writePng_( o_rOutputBuf, str, width, height, zeroColor, oneColor, false, bWithLinefeed ); in writeImage_()
355 writePpm_( o_rOutputBuf, str, width, height, colorMap, bWithLinefeed ); in writeImage_()
362 Stream* str, in writeImage() argument
365 … GfxImageColorMap* colorMap ) { writeImage_(o_rOutputBuf,str,width,height,colorMap,false); } in writeImage()
367 Stream* str, in writeImageLF() argument
370 … GfxImageColorMap* colorMap ) { writeImage_(o_rOutputBuf,str,width,height,colorMap,true); } in writeImageLF()
372 Stream* str, in writeMask() argument
375 … bool bInvert ) { writeMask_(o_rOutputBuf,str,width,height,false,bInvert); } in writeMask()
377 Stream* str, in writeMaskLF() argument
380 … bool bInvert ) { writeMask_(o_rOutputBuf,str,width,height,true,bInvert); } in writeMaskLF()
816 void PDFOutDev::drawImageMask(GfxState* pState, Object*, Stream* str, in drawImageMask() argument
826 str->getImageParams( &bitsPerComponent, &csMode ); in drawImageMask()
833 writePng_( aBuf, str, width, height, oneColor, zeroColor, true, true ); in drawImageMask()
835 writePng_( aBuf, str, width, height, zeroColor, oneColor, true, true ); in drawImageMask()
838 writeMaskLF(aBuf, str, width, height, invert != 0); in drawImageMask()
842 void PDFOutDev::drawImage(GfxState*, Object*, Stream* str, in drawImage() argument
882 writeImageLF( aBuf, str, width, height, colorMap ); in drawImage()
887 void PDFOutDev::drawMaskedImage(GfxState*, Object*, Stream* str, in drawMaskedImage() argument
896 … writePng_( aBuf, str, width, height, colorMap, maskStr, maskWidth, maskHeight, maskInvert, true ); in drawMaskedImage()
903 writeImage( aBuf, str, width, height, colorMap ); in drawMaskedImage()
910 void PDFOutDev::drawSoftMaskedImage(GfxState*, Object*, Stream* str, in drawSoftMaskedImage() argument
919 …writePng_( aBuf, str, width, height, colorMap, maskStr, maskWidth, maskHeight, maskColorMap, true … in drawSoftMaskedImage()
926 writeImage( aBuf, str, width, height, colorMap ); in drawSoftMaskedImage()