Home
last modified time | relevance | path

Searched refs:m_pBitmap (Results 1 – 21 of 21) sorted by relevance

/external/pdfium/core/fxge/dib/
Dcfx_bitmapcomposer.cpp26 m_pBitmap = pDest; in Compose()
49 if (!m_Compositor.Init(m_pBitmap->GetFormat(), src_format, width, pSrcPalette, in SetInfo()
56 m_pScanlineV.resize(m_pBitmap->GetBPP() / 8 * width + 4); in SetInfo()
57 m_pClipScanV.resize(m_pBitmap->GetHeight()); in SetInfo()
58 if (m_pBitmap->m_pAlphaMask) in SetInfo()
62 m_pAddClipScan.resize(m_bVertical ? m_pBitmap->GetHeight() in SetInfo()
63 : m_pBitmap->GetWidth()); in SetInfo()
112 uint8_t* dest_scan = m_pBitmap->GetWritableScanline(line + m_DestTop) + in ComposeScanline()
113 m_DestLeft * m_pBitmap->GetBPP() / 8; in ComposeScanline()
115 m_pBitmap->m_pAlphaMask in ComposeScanline()
[all …]
Dcfx_bitmapstorer.cpp18 return std::move(m_pBitmap); in Detach()
22 m_pBitmap = std::move(pBitmap); in Replace()
28 uint8_t* dest_buf = m_pBitmap->GetWritableScanline(line); in ComposeScanline()
30 m_pBitmap->m_pAlphaMask in ComposeScanline()
31 ? m_pBitmap->m_pAlphaMask->GetWritableScanline(line) in ComposeScanline()
34 memcpy(dest_buf, scanline, m_pBitmap->GetPitch()); in ComposeScanline()
38 m_pBitmap->m_pAlphaMask->GetPitch()); in ComposeScanline()
53 m_pBitmap = std::move(pBitmap); in SetInfo()
Dcfx_dibextractor.cpp14 m_pBitmap = pSrc->Clone(nullptr); in CFX_DIBExtractor()
18 m_pBitmap = pdfium::MakeRetain<CFX_DIBitmap>(); in CFX_DIBExtractor()
19 if (!m_pBitmap->Create(pOldSrc->GetWidth(), pOldSrc->GetHeight(), in CFX_DIBExtractor()
21 m_pBitmap.Reset(); in CFX_DIBExtractor()
24 m_pBitmap->SetPalette(pOldSrc->GetPalette()); in CFX_DIBExtractor()
25 m_pBitmap->SetAlphaMask(pOldSrc->m_pAlphaMask, nullptr); in CFX_DIBExtractor()
Dcfx_dibextractor.h20 RetainPtr<CFX_DIBitmap> GetBitmap() { return m_pBitmap; } in GetBitmap()
23 RetainPtr<CFX_DIBitmap> m_pBitmap;
Dcfx_bitmapstorer.h30 RetainPtr<CFX_DIBitmap> GetBitmap() { return m_pBitmap; } in GetBitmap()
35 RetainPtr<CFX_DIBitmap> m_pBitmap;
Dcfx_bitmapcomposer.h59 RetainPtr<CFX_DIBitmap> m_pBitmap; variable
/external/pdfium/core/fpdfapi/render/
Dcpdf_devicebuffer.cpp60 m_pBitmap(pdfium::MakeRetain<CFX_DIBitmap>()), in CPDF_DeviceBuffer()
69 return m_pBitmap->Create(bitmap_rect.Width(), bitmap_rect.Height(), in Initialize()
76 m_pDevice->SetDIBits(m_pBitmap, m_Rect.left, m_Rect.top); in OutputToDevice()
78 m_pDevice->StretchDIBits(m_pBitmap, m_Rect.left, m_Rect.top, in OutputToDevice()
84 m_pDevice->CreateCompatibleBitmap(pBuffer, m_pBitmap->GetWidth(), in OutputToDevice()
85 m_pBitmap->GetHeight()); in OutputToDevice()
88 m_pBitmap, 0, 0, BlendMode::kNormal, nullptr, false); in OutputToDevice()
Dcpdf_imageloader.cpp58 m_pBitmap = pTransferFunc->TranslateImage(m_pBitmap); in TranslateImage()
62 return m_pBitmap; in TranslateImage()
69 m_pBitmap = entry->DetachBitmap(); in HandleFailure()
76 m_pBitmap = pImage->DetachBitmap(); in HandleFailure()
Dcpdf_devicebuffer.h35 RetainPtr<CFX_DIBitmap> GetBitmap() const { return m_pBitmap; } in GetBitmap()
42 RetainPtr<CFX_DIBitmap> const m_pBitmap; variable
Dcpdf_imageloader.h36 const RetainPtr<CFX_DIBBase>& GetBitmap() const { return m_pBitmap; } in GetBitmap()
45 RetainPtr<CFX_DIBBase> m_pBitmap; variable
/external/pdfium/core/fpdfapi/font/
Dcpdf_type3char.cpp36 if (m_pBitmap || !m_pForm) in LoadBitmapFromSoleImageOfForm()
46 std::tie(m_pBitmap, m_ImageMatrix) = result.value(); in LoadBitmapFromSoleImageOfForm()
86 return m_pBitmap; in GetBitmap()
90 return m_pBitmap; in GetBitmap()
Dcpdf_type3char.h47 RetainPtr<CFX_DIBitmap> m_pBitmap; variable
/external/pdfium/core/fxge/agg/
Dfx_agg_driver.cpp1138 : m_pBitmap(pBitmap), in CFX_AggDeviceDriver()
1142 ASSERT(m_pBitmap); in CFX_AggDeviceDriver()
1151 return m_pBitmap->GetBuffer(); in GetBuffer()
1176 return m_pBitmap->GetWidth(); in GetDeviceCaps()
1178 return m_pBitmap->GetHeight(); in GetDeviceCaps()
1180 return m_pBitmap->GetBPP(); in GetDeviceCaps()
1187 if (m_pBitmap->HasAlpha()) { in GetDeviceCaps()
1189 } else if (m_pBitmap->IsAlphaMask()) { in GetDeviceCaps()
1190 if (m_pBitmap->GetBPP() == 1) in GetDeviceCaps()
1195 if (m_pBitmap->IsCmykImage()) in GetDeviceCaps()
[all …]
Dfx_agg_driver.h114 RetainPtr<CFX_DIBitmap> const m_pBitmap;
/external/pdfium/core/fxge/
Dcfx_glyphbitmap.h24 const RetainPtr<CFX_DIBitmap>& GetBitmap() const { return m_pBitmap; } in GetBitmap()
31 RetainPtr<CFX_DIBitmap> m_pBitmap; variable
Dcfx_glyphbitmap.cpp10 : m_Left(left), m_Top(top), m_pBitmap(pdfium::MakeRetain<CFX_DIBitmap>()) {} in CFX_GlyphBitmap()
Dcfx_renderdevice.h244 RetainPtr<CFX_DIBitmap> m_pBitmap; variable
Dcfx_renderdevice.cpp433 return m_pBitmap; in GetBitmap()
437 m_pBitmap = pBitmap; in SetBitmap()
/external/pdfium/core/fxge/skia/
Dfx_skia_device.cpp1600 : m_pBitmap(pBitmap), in CFX_SkiaDeviceDriver()
1622 : m_pBitmap(nullptr), in CFX_SkiaDeviceDriver()
1632 : m_pBitmap(nullptr), in CFX_SkiaDeviceDriver()
1652 m_pBitmap->PreMultiply(); in PreMultiply()
1717 m_pBitmap->PreMultiply(); in DrawDeviceText()
1828 return m_pBitmap->GetWidth(); in GetDeviceCaps()
1830 return m_pBitmap->GetHeight(); in GetDeviceCaps()
1832 return m_pBitmap->GetBPP(); in GetDeviceCaps()
1839 if (m_pBitmap->HasAlpha()) { in GetDeviceCaps()
1841 } else if (m_pBitmap->IsAlphaMask()) { in GetDeviceCaps()
[all …]
Dfx_skia_device.h173 RetainPtr<CFX_DIBitmap> m_pBitmap;
/external/pdfium/core/fxge/apple/
Dfx_apple_platform.cpp92 m_pPlatformGraphics = quartz2d.CreateGraphics(m_pBitmap); in InitPlatform()
148 rect_cg = CGRectMake(0, 0, m_pBitmap->GetWidth(), m_pBitmap->GetHeight()); in DrawDeviceText()