Home
last modified time | relevance | path

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

/external/pdfium/core/fpdfapi/page/
Dcpdf_devicecs.cpp85 const uint8_t* pSrcBuf = src_span.data(); in TranslateImageLine() local
91 const uint8_t pix = pSrcBuf[i]; in TranslateImageLine()
98 fxcodec::ReverseRGB(pDestBuf, pSrcBuf, pixels); in TranslateImageLine()
105 const uint8_t s0 = pSrcBuf[0]; in TranslateImageLine()
106 const uint8_t s1 = pSrcBuf[1]; in TranslateImageLine()
107 const uint8_t s2 = pSrcBuf[2]; in TranslateImageLine()
108 const int k = 255 - pSrcBuf[3]; in TranslateImageLine()
113 pSrcBuf += 4; in TranslateImageLine()
120 const uint8_t s0 = pSrcBuf[0]; in TranslateImageLine()
121 const uint8_t s1 = pSrcBuf[1]; in TranslateImageLine()
[all …]
Dcpdf_colorspace.cpp679 const uint8_t* pSrcBuf = src_span.data(); in TranslateImageLine() local
682 const uint8_t pix = pSrcBuf[i]; in TranslateImageLine()
758 const uint8_t* pSrcBuf = src_span.data(); in TranslateImageLine() local
760 fxcodec::ReverseRGB(pDestBuf, pSrcBuf, pixels); in TranslateImageLine()
769 Cal[0] = static_cast<float>(pSrcBuf[2]) / 255; in TranslateImageLine()
770 Cal[1] = static_cast<float>(pSrcBuf[1]) / 255; in TranslateImageLine()
771 Cal[2] = static_cast<float>(pSrcBuf[0]) / 255; in TranslateImageLine()
776 pSrcBuf += 3; in TranslateImageLine()
868 const uint8_t* pSrcBuf = src_span.data(); in TranslateImageLine() local
871 lab[0] = pSrcBuf[0] * 100 / 255.0f; in TranslateImageLine()
[all …]
/external/pdfium/core/fxcodec/
Dfx_codec.cpp21 void ReverseRGB(uint8_t* pDestBuf, const uint8_t* pSrcBuf, int pixels) { in ReverseRGB() argument
22 if (pDestBuf == pSrcBuf) { in ReverseRGB()
29 ReverseCopy3Bytes(pDestBuf, pSrcBuf); in ReverseRGB()
31 pSrcBuf += 3; in ReverseRGB()
Dfx_codec.h35 void ReverseRGB(uint8_t* pDestBuf, const uint8_t* pSrcBuf, int pixels);
Dprogressive_decoder.h102 bool PngAskScanlineBuf(int line, uint8_t** pSrcBuf) override;
Dprogressive_decoder.cpp248 bool ProgressiveDecoder::PngAskScanlineBuf(int line, uint8_t** pSrcBuf) { in PngAskScanlineBuf() argument
257 *pSrcBuf = m_DecodeBuf.data(); in PngAskScanlineBuf()
/external/pdfium/core/fxcodec/png/
Dpng_decoder.h36 virtual bool PngAskScanlineBuf(int line, uint8_t** pSrcBuf) = 0;
/external/pdfium/core/fxge/
Dcfx_glyphcache.cpp208 uint8_t* pSrcBuf = static_cast<uint8_t*>( in RenderGlyph() local
217 (pSrcBuf[i * src_pitch + n / 8] & (0x80 >> (n % 8))) ? 255 : 0; in RenderGlyph()
226 memcpy(pDestBuf + row * dest_pitch, pSrcBuf + row * src_pitch, rowbytes); in RenderGlyph()
/external/mesa3d/src/gallium/frontends/nine/
Dvertexdeclaration9.h96 void *pSrcBuf,
Dvertexdeclaration9.c472 void *pSrcBuf, in NineVertexDeclaration9_ConvertStreamOutput() argument
482 This, pDstBuf, DestIndex, VertexCount, pSrcBuf, so); in NineVertexDeclaration9_ConvertStreamOutput()
523 translate->set_buffer(translate, 0, pSrcBuf, so->stride[0] * 4, ~0); in NineVertexDeclaration9_ConvertStreamOutput()