Home
last modified time | relevance | path

Searched refs:pDestBuf (Results 1 – 6 of 6) sorted by relevance

/external/pdfium/core/fpdfapi/page/
Dcpdf_devicecs.cpp81 void CPDF_DeviceCS::TranslateImageLine(uint8_t* pDestBuf, in TranslateImageLine() argument
90 *pDestBuf++ = pSrcBuf[i]; in TranslateImageLine()
91 *pDestBuf++ = pSrcBuf[i]; in TranslateImageLine()
92 *pDestBuf++ = pSrcBuf[i]; in TranslateImageLine()
96 fxcodec::ReverseRGB(pDestBuf, pSrcBuf, pixels); in TranslateImageLine()
102 pDestBuf[0] = ((255 - pSrcBuf[0]) * k) / 255; in TranslateImageLine()
103 pDestBuf[1] = ((255 - pSrcBuf[1]) * k) / 255; in TranslateImageLine()
104 pDestBuf[2] = ((255 - pSrcBuf[2]) * k) / 255; in TranslateImageLine()
105 pDestBuf += 3; in TranslateImageLine()
112 pDestBuf[2] = 255 - std::min(255, pSrcBuf[0] + k); in TranslateImageLine()
[all …]
Dcpdf_colorspace.cpp120 void TranslateImageLine(uint8_t* pDestBuf,
146 void TranslateImageLine(uint8_t* pDestBuf,
183 void TranslateImageLine(uint8_t* pDestBuf,
213 void TranslateImageLine(uint8_t* pDestBuf,
706 void CPDF_CalGray::TranslateImageLine(uint8_t* pDestBuf, in TranslateImageLine() argument
713 *pDestBuf++ = pSrcBuf[i]; in TranslateImageLine()
714 *pDestBuf++ = pSrcBuf[i]; in TranslateImageLine()
715 *pDestBuf++ = pSrcBuf[i]; in TranslateImageLine()
782 void CPDF_CalRGB::TranslateImageLine(uint8_t* pDestBuf, in TranslateImageLine() argument
798 pDestBuf[0] = FXSYS_roundf(B * 255); in TranslateImageLine()
[all …]
Dcpdf_devicecs.h24 void TranslateImageLine(uint8_t* pDestBuf,
/external/pdfium/core/fxcodec/
Dfx_codec.cpp79 void ReverseRGB(uint8_t* pDestBuf, const uint8_t* pSrcBuf, int pixels) { in ReverseRGB() argument
80 if (pDestBuf == pSrcBuf) { in ReverseRGB()
82 uint8_t temp = pDestBuf[2]; in ReverseRGB()
83 pDestBuf[2] = pDestBuf[0]; in ReverseRGB()
84 pDestBuf[0] = temp; in ReverseRGB()
85 pDestBuf += 3; in ReverseRGB()
89 *pDestBuf++ = pSrcBuf[2]; in ReverseRGB()
90 *pDestBuf++ = pSrcBuf[1]; in ReverseRGB()
91 *pDestBuf++ = pSrcBuf[0]; in ReverseRGB()
Dfx_codec.h124 void ReverseRGB(uint8_t* pDestBuf, const uint8_t* pSrcBuf, int pixels);
/external/pdfium/core/fxge/
Dcfx_glyphcache.cpp202 uint8_t* pDestBuf = pGlyphBitmap->GetBitmap()->GetBuffer(); in RenderGlyph() local
214 pDestBuf[i * dest_pitch + n * bytes + b] = data; in RenderGlyph()
218 memset(pDestBuf, 0, dest_pitch * bmheight); in RenderGlyph()
221 memcpy(pDestBuf + row * dest_pitch, pSrcBuf + row * src_pitch, rowbytes); in RenderGlyph()