Home
last modified time | relevance | path

Searched refs:pSrcBuf (Results 1 – 5 of 5) sorted by relevance

/external/pdfium/core/src/fpdfapi/fpdf_page/
Dfpdf_page_colors.cpp46 void ReverseRGB(uint8_t* pDestBuf, const uint8_t* pSrcBuf, int pixels) { in ReverseRGB() argument
47 if (pDestBuf == pSrcBuf) { in ReverseRGB()
56 *pDestBuf++ = pSrcBuf[2]; in ReverseRGB()
57 *pDestBuf++ = pSrcBuf[1]; in ReverseRGB()
58 *pDestBuf++ = pSrcBuf[0]; in ReverseRGB()
59 pSrcBuf += 3; in ReverseRGB()
173 const uint8_t* pSrcBuf, in TranslateImageLine() argument
180 int k = 255 - pSrcBuf[3]; in TranslateImageLine()
181 pDestBuf[0] = ((255 - pSrcBuf[0]) * k) / 255; in TranslateImageLine()
182 pDestBuf[1] = ((255 - pSrcBuf[1]) * k) / 255; in TranslateImageLine()
[all …]
Dpageint.h432 const uint8_t* pSrcBuf,
/external/pdfium/core/src/fxcodec/codec/
Dfx_codec_flate.cpp979 uint8_t* pSrcBuf = NULL; in Encode() local
980 pSrcBuf = FX_Alloc(uint8_t, src_size); in Encode()
981 FXSYS_memcpy(pSrcBuf, src_buf, src_size); in Encode()
984 ret = TIFF_PredictorEncode(pSrcBuf, src_size, Colors, BitsPerComponent, in Encode()
987 ret = PNG_PredictorEncode(pSrcBuf, src_size, predictor, Colors, in Encode()
991 ret = Encode(pSrcBuf, src_size, dest_buf, dest_size); in Encode()
992 FX_Free(pSrcBuf); in Encode()
/external/pdfium/xfa/src/fxgraphics/src/
Dfx_graphics.cpp648 FX_ARGB* pSrcBuf = (FX_ARGB*)(srcBitmap->GetBuffer() + in XorDIBitmap() local
655 FX_ARGB* pSrcLine = pSrcBuf + (int32_t)r.left; in XorDIBitmap()
663 pSrcBuf = (FX_ARGB*)((uint8_t*)pSrcBuf + srcBitmap->GetPitch()); in XorDIBitmap()
681 FX_ARGB* pSrcBuf = (FX_ARGB*)(srcBitmap->GetBuffer() + in EqvDIBitmap() local
688 FX_ARGB* pSrcLine = pSrcBuf + (int32_t)r.left; in EqvDIBitmap()
696 pSrcBuf = (FX_ARGB*)((uint8_t*)pSrcBuf + srcBitmap->GetPitch()); in EqvDIBitmap()
/external/pdfium/core/src/fxge/ge/
Dfx_ge_text.cpp1609 uint8_t* pSrcBuf = in RenderGlyph() local
1618 (pSrcBuf[i * src_pitch + n / 8] & (0x80 >> (n % 8))) ? 255 : 0; in RenderGlyph()
1631 FXSYS_memcpy(pDestBuf + row * dest_pitch, pSrcBuf + row * src_pitch, in RenderGlyph()
1635 _ContrastAdjust(pSrcBuf, pDestBuf, bmwidth, bmheight, src_pitch, in RenderGlyph()