/external/pdfium/core/src/fxge/dib/ |
D | fx_dib_composite.cpp | 230 void _RGB_Blend(int blend_mode, FX_LPCBYTE src_scan, FX_BYTE* dest_scan, int results[3]) in _RGB_Blend() argument 233 src.red = src_scan[2]; in _RGB_Blend() 234 src.green = src_scan[1]; in _RGB_Blend() 235 src.blue = src_scan[0]; in _RGB_Blend() 257 inline void _CompositeRow_Argb2Mask(FX_LPBYTE dest_scan, FX_LPCBYTE src_scan, int pixel_count, FX_L… in _CompositeRow_Argb2Mask() argument 259 src_scan += 3; in _CompositeRow_Argb2Mask() 261 int src_alpha = *src_scan; in _CompositeRow_Argb2Mask() 272 src_scan += 4; in _CompositeRow_Argb2Mask() 291 void _CompositeRow_Rgb2Mask(FX_LPBYTE dest_scan, FX_LPCBYTE src_scan, int width, FX_LPCBYTE clip_sc… in _CompositeRow_Rgb2Mask() argument 303 void _CompositeRow_Argb2Graya(FX_LPBYTE dest_scan, FX_LPCBYTE src_scan, int pixel_count, int blend_… in _CompositeRow_Argb2Graya() argument [all …]
|
D | fx_dib_convert.cpp | 291 FX_LPCBYTE src_scan = pSrcBitmap->GetScanline(src_top + row); in _ConvertBuffer_1bppMask2Gray() local 293 if (src_scan[col / 8] & (1 << (7 - col % 8))) { in _ConvertBuffer_1bppMask2Gray() 306 FX_LPCBYTE src_scan = pSrcBitmap->GetScanline(src_top + row) + src_left; in _ConvertBuffer_8bppMask2Gray() local 307 FXSYS_memcpy32(dest_scan, src_scan, width); in _ConvertBuffer_8bppMask2Gray() 354 FX_LPCBYTE src_scan = pSrcBitmap->GetScanline(src_top + row); in _ConvertBuffer_1bppPlt2Gray() local 356 if (src_scan[col / 8] & (1 << (7 - col % 8))) { in _ConvertBuffer_1bppPlt2Gray() 400 FX_LPCBYTE src_scan = pSrcBitmap->GetScanline(src_top + row) + src_left; in _ConvertBuffer_8bppPlt2Gray() local 402 *dest_scan++ = gray[*src_scan++]; in _ConvertBuffer_8bppPlt2Gray() 416 FX_LPCBYTE src_scan = pSrcBitmap->GetScanline(src_top + row) + src_left * Bpp; in _ConvertBuffer_RgbOrCmyk2Gray() local 417 pIccModule->TranslateScanline(pIccTransform, dest_scan, src_scan, width); in _ConvertBuffer_RgbOrCmyk2Gray() [all …]
|
D | fx_dib_main.cpp | 179 FX_DWORD* src_scan = (FX_DWORD*)GetScanline(row) + rect.left / 32; in Clone() local 182 dest_scan[i] = (src_scan[i] << left_shift) | (src_scan[i + 1] >> right_shift); in Clone() 191 FX_LPCBYTE src_scan = GetScanline(row) + rect.left * m_bpp / 8; in Clone() local 193 FXSYS_memcpy32(dest_scan, src_scan, copy_len); in Clone() 390 FX_LPCBYTE src_scan = pSrcBitmap->GetScanline(src_top + row); in TransferBitmap() local 392 if (src_scan[(src_left + col) / 8] & (1 << (7 - (src_left + col) % 8))) { in TransferBitmap() 403 FX_LPCBYTE src_scan = pSrcBitmap->GetScanline(src_top + row) + src_left * Bpp; in TransferBitmap() local 404 FXSYS_memcpy32(dest_scan, src_scan, width * Bpp); in TransferBitmap() 465 FX_LPCBYTE src_scan = pMask->GetScanline(src_top + row); in TransferMask() local 469 if (src_scan[src_bitpos / 8] & (1 << (7 - src_bitpos % 8))) { in TransferMask() [all …]
|
D | fx_dib_engine.cpp | 353 FX_LPCBYTE src_scan = m_pSource->GetScanline(m_CurRow); in ContinueStretchHorz() local 369 if (src_scan[j / 8] & (1 << (7 - j % 8))) { in ContinueStretchHorz() 386 dest_a += pixel_weight * src_scan[j]; in ContinueStretchHorz() 402 dest_r += pixel_weight * src_scan[j]; in ContinueStretchHorz() 420 unsigned long argb_cmyk = m_pSrcPalette[src_scan[j]]; in ContinueStretchHorz() 449 unsigned long argb_cmyk = m_pSrcPalette[src_scan[j]]; in ContinueStretchHorz() 480 FX_LPCBYTE src_pixel = src_scan + j * Bpp; in ContinueStretchHorz() 503 FX_LPCBYTE src_pixel = src_scan + j * Bpp; in ContinueStretchHorz() 558 unsigned char* src_scan = m_pInterBuf + (col - m_DestClip.left) * DestBpp; in StretchVert() local 562 dest_a += pixel_weight * src_scan[(j - m_SrcClip.top) * m_InterPitch]; in StretchVert() [all …]
|
D | fx_dib_transform.cpp | 82 FX_LPCBYTE src_scan = GetScanline(row); in SwapXY() local 90 if (!(src_scan[col / 8] & (1 << (7 - col % 8)))) { in SwapXY() 109 FX_DWORD* src_scan = (FX_DWORD*)GetScanline(row) + col_start; in SwapXY() local 111 *(FX_DWORD*)dest_scan = *src_scan++; in SwapXY() 115 FX_LPCBYTE src_scan = GetScanline(row) + col_start * nBytes; in SwapXY() local 118 *dest_scan = *src_scan++; in SwapXY() 123 *dest_scan++ = *src_scan++; in SwapXY() 124 *dest_scan++ = *src_scan++; in SwapXY() 125 *dest_scan = *src_scan++; in SwapXY() 141 FX_LPCBYTE src_scan = m_pAlphaMask->GetScanline(row) + col_start; in SwapXY() local [all …]
|
/external/pdfium/core/src/fxge/ge/ |
D | fx_ge_text.cpp | 352 FX_LPBYTE src_scan = src_buf + row * src_pitch + (start_col - left) * 3; in DrawNormalText() local 357 int src_alpha = src_scan[2]; in DrawNormalText() 360 src_alpha = src_scan[1]; in DrawNormalText() 363 src_alpha = src_scan[0]; in DrawNormalText() 368 src_scan += 3; in DrawNormalText() 371 int src_alpha = src_scan[1]; in DrawNormalText() 375 src_alpha = src_scan[0]; in DrawNormalText() 380 src_alpha = src_scan[-1]; in DrawNormalText() 387 src_scan += 3; in DrawNormalText() 389 int src_alpha = src_scan[1]; in DrawNormalText() [all …]
|
D | fx_ge_ps.cpp | 353 FX_LPCBYTE src_scan = pSource->GetScanline(row); in DrawDIBits() local 354 FXSYS_memcpy32(src_buf + row * pitch, src_scan, pitch); in DrawDIBits() 426 FX_LPCBYTE src_scan = pConverted->GetScanline(row); in DrawDIBits() local 430 *dest_scan++ = src_scan[2]; in DrawDIBits() 431 *dest_scan++ = src_scan[1]; in DrawDIBits() 432 *dest_scan++ = *src_scan; in DrawDIBits() 433 src_scan += 3; in DrawDIBits() 436 FXSYS_memcpy32(dest_scan, src_scan, src_pitch); in DrawDIBits()
|
D | fx_ge_path.cpp | 69 FX_LPBYTE src_scan = mask_dib->GetBuffer() + mask_dib->GetPitch() * (row - mask_rect.top); in IntersectMaskRect() local 71 dest_scan[col - m_Box.left] = src_scan[col - mask_rect.left]; in IntersectMaskRect()
|
/external/pdfium/core/src/fxge/agg/agg23/ |
D | fx_agg_driver.cpp | 1293 FX_LPBYTE src_scan = (FX_LPBYTE)pSrcBitmap->GetScanline(src_top + row) + src_left * Bpp; in RgbByteOrderTransferBitmap() local 1296 … FXARGB_SETDIB(dest_scan, FXARGB_MAKE(src_scan[3], src_scan[0], src_scan[1], src_scan[2])); in RgbByteOrderTransferBitmap() 1298 src_scan += 4; in RgbByteOrderTransferBitmap() 1302 *dest_scan++ = src_scan[2]; in RgbByteOrderTransferBitmap() 1303 *dest_scan++ = src_scan[1]; in RgbByteOrderTransferBitmap() 1304 *dest_scan++ = src_scan[0]; in RgbByteOrderTransferBitmap() 1305 src_scan += 3; in RgbByteOrderTransferBitmap() 1316 … FX_LPBYTE src_scan = (FX_BYTE*)pSrcBitmap->GetScanline(src_top + row) + src_left * 4; in RgbByteOrderTransferBitmap() local 1318 *dest_scan++ = src_scan[2]; in RgbByteOrderTransferBitmap() 1319 *dest_scan++ = src_scan[1]; in RgbByteOrderTransferBitmap() [all …]
|
/external/pdfium/core/src/fxcodec/codec/ |
D | fx_codec_jpeg.cpp | 184 FX_LPCBYTE src_scan = pSource->GetScanline(cinfo.next_scanline); in _JpegEncode() local 189 dest_scan[0] = src_scan[2]; in _JpegEncode() 190 dest_scan[1] = src_scan[1]; in _JpegEncode() 191 dest_scan[2] = src_scan[0]; in _JpegEncode() 193 src_scan += Bpp; in _JpegEncode() 197 *dest_scan++ = ~*src_scan++; in _JpegEncode() 202 row_pointer[0] = (FX_LPBYTE)src_scan; in _JpegEncode()
|
/external/pdfium/core/include/fxge/ |
D | fx_dib.h | 422 …void CompositeRgbBitmapLine(FX_LPBYTE dest_scan, FX_LPCBYTE src_scan, int width, FX_LPCBYTE cli… 426 …void CompositePalBitmapLine(FX_LPBYTE dest_scan, FX_LPCBYTE src_scan, int src_left, int width, … 430 …void CompositeByteMaskLine(FX_LPBYTE dest_scan, FX_LPCBYTE src_scan, int width, FX_LPCBYTE clip… 434 …void CompositeBitMaskLine(FX_LPBYTE dest_scan, FX_LPCBYTE src_scan, int src_left, int width, FX… 473 … void DoCompose(FX_LPBYTE dest_scan, FX_LPCBYTE src_scan, int dest_width, FX_LPCBYTE clip_scan,
|
/external/pdfium/core/src/fpdfapi/fpdf_render/ |
D | fpdf_render_image.cpp | 918 FX_LPCBYTE src_scan; in Continue() local 920 src_scan = m_pDecoder->GetScanline(src_y); in Continue() 921 if (src_scan == NULL) { in Continue() 925 src_scan = m_StreamAcc.GetData(); in Continue() 926 if (src_scan == NULL) { in Continue() 929 src_scan += src_y * src_pitch; in Continue() 935 FX_LPCBYTE src_pixel = src_scan + src_x * m_Bpp; in Continue()
|
D | fpdf_render_loadimage.cpp | 918 void CPDF_DIBSource::TranslateScanline24bpp(FX_LPBYTE dest_scan, FX_LPCBYTE src_scan) const in TranslateScanline24bpp() 926 FX_LPCBYTE src_pos = src_scan; in TranslateScanline24bpp() 948 int R = _GetBits8(src_scan, src_bit_pos, m_bpc); in TranslateScanline24bpp() 950 int G = _GetBits8(src_scan, src_bit_pos, m_bpc); in TranslateScanline24bpp() 952 int B = _GetBits8(src_scan, src_bit_pos, m_bpc); in TranslateScanline24bpp() 967 m_pColorSpace->TranslateImageLine(dest_scan, src_scan, m_Width, m_Width, m_Height, in TranslateScanline24bpp() 980 int data = src_scan[src_byte_pos ++]; in TranslateScanline24bpp() 1005 int data = _GetBits8(src_scan, src_bit_pos, m_bpc); in TranslateScanline24bpp()
|
D | render_int.h | 426 void TranslateScanline24bpp(FX_LPBYTE dest_scan, FX_LPCBYTE src_scan) const;
|
/external/pdfium/core/src/fxge/win32/ |
D | fx_win32_gdipext.cpp | 325 LPBYTE src_scan = src_buf + src_y_start * src_pitch; in _StretchMonoToGray() local 331 LPBYTE src_line = src_scan; in _StretchMonoToGray()
|