Lines Matching refs:str

140 void writeJpeg_( OutputBuffer& o_rOutputBuf, Stream* str, bool bWithLinefeed )  in writeJpeg_()  argument
143 str->reset(); in writeJpeg_()
147 while((c=str->getChar()) != EOF) in writeJpeg_()
154 str->close(); in writeJpeg_()
157 void writePbm_(OutputBuffer& o_rOutputBuf, Stream* str, int width, int height, bool bWithLinefeed, … in writePbm_() argument
182 str->reset(); in writePbm_()
188 o_rOutputBuf.push_back(static_cast<char>(str->getChar() ^ 0xff)); in writePbm_()
193 o_rOutputBuf.push_back(static_cast<char>(str->getChar())); in writePbm_()
196 str->close(); in writePbm_()
200 Stream* str, in writePpm_() argument
236 new ImageStream(str, in writePpm_()
262 Stream* str, in writePng_() argument
273 PngHelper::createPng( o_rOutputBuf, str, width, height, zeroColor, oneColor, bIsMask ); in writePng_()
281 Stream* str, in writePng_() argument
290 …PngHelper::createPng( o_rOutputBuf, str, width, height, colorMap, maskStr, maskWidth, maskHeight, … in writePng_()
298 Stream* str, in writePng_() argument
307 …PngHelper::createPng( o_rOutputBuf, str, width, height, colorMap, maskStr, maskWidth, maskHeight, … in writePng_()
315 void writeMask_( OutputBuffer& o_rOutputBuf, Stream* str, int width, int height, bool bWithLinefeed… in writeMask_() argument
317 if( str->getKind() == strDCT ) in writeMask_()
318 writeJpeg_(o_rOutputBuf, str, bWithLinefeed); in writeMask_()
320 writePbm_(o_rOutputBuf, str, width, height, bWithLinefeed, bInvert ); in writeMask_()
324 Stream* str, in writeImage_() argument
331 if( str->getKind() == strDCT && in writeImage_()
335 writeJpeg_(o_rOutputBuf, str, bWithLinefeed); in writeImage_()
351 writePng_( o_rOutputBuf, str, width, height, zeroColor, oneColor, false, bWithLinefeed ); in writeImage_()
354 writePpm_( o_rOutputBuf, str, width, height, colorMap, bWithLinefeed ); in writeImage_()
361 Stream* str, in writeImage() argument
364 … GfxImageColorMap* colorMap ) { writeImage_(o_rOutputBuf,str,width,height,colorMap,false); } in writeImage()
366 Stream* str, in writeImageLF() argument
369 … GfxImageColorMap* colorMap ) { writeImage_(o_rOutputBuf,str,width,height,colorMap,true); } in writeImageLF()
371 Stream* str, in writeMask() argument
374 … bool bInvert ) { writeMask_(o_rOutputBuf,str,width,height,false,bInvert); } in writeMask()
376 Stream* str, in writeMaskLF() argument
379 … bool bInvert ) { writeMask_(o_rOutputBuf,str,width,height,true,bInvert); } in writeMaskLF()
813 void PDFOutDev::drawImageMask(GfxState* pState, Object*, Stream* str, in drawImageMask() argument
823 str->getImageParams( &bitsPerComponent, &csMode ); in drawImageMask()
830 writePng_( aBuf, str, width, height, oneColor, zeroColor, true, true ); in drawImageMask()
832 writePng_( aBuf, str, width, height, zeroColor, oneColor, true, true ); in drawImageMask()
835 writeMaskLF(aBuf, str, width, height, invert != 0); in drawImageMask()
839 void PDFOutDev::drawImage(GfxState*, Object*, Stream* str, in drawImage() argument
879 writeImageLF( aBuf, str, width, height, colorMap ); in drawImage()
884 void PDFOutDev::drawMaskedImage(GfxState*, Object*, Stream* str, in drawMaskedImage() argument
893 … writePng_( aBuf, str, width, height, colorMap, maskStr, maskWidth, maskHeight, maskInvert, true ); in drawMaskedImage()
900 writeImage( aBuf, str, width, height, colorMap ); in drawMaskedImage()
907 void PDFOutDev::drawSoftMaskedImage(GfxState*, Object*, Stream* str, in drawSoftMaskedImage() argument
916 …writePng_( aBuf, str, width, height, colorMap, maskStr, maskWidth, maskHeight, maskColorMap, true … in drawSoftMaskedImage()
923 writeImage( aBuf, str, width, height, colorMap ); in drawSoftMaskedImage()