/external/pdfium/core/fxcodec/tiff/ |
D | tiffmodule.cpp | 47 bool Decode(const RetainPtr<CFX_DIBitmap>& pDIBitmap); 54 bool IsSupport(const RetainPtr<CFX_DIBitmap>& pDIBitmap) const; 55 void SetPalette(const RetainPtr<CFX_DIBitmap>& pDIBitmap, uint16_t bps); 56 bool Decode1bppRGB(const RetainPtr<CFX_DIBitmap>& pDIBitmap, 61 bool Decode8bppRGB(const RetainPtr<CFX_DIBitmap>& pDIBitmap, 66 bool Decode24bppRGB(const RetainPtr<CFX_DIBitmap>& pDIBitmap, 295 bool CTiffContext::IsSupport(const RetainPtr<CFX_DIBitmap>& pDIBitmap) const { in IsSupport() 303 switch (pDIBitmap->GetBPP()) { in IsSupport() 326 void CTiffContext::SetPalette(const RetainPtr<CFX_DIBitmap>& pDIBitmap, in SetPalette() argument 347 pDIBitmap->SetPaletteArgb(index, color); in SetPalette() [all …]
|
D | tiffmodule.h | 39 bool Decode(Context* ctx, const RetainPtr<CFX_DIBitmap>& pDIBitmap);
|
/external/pdfium/xfa/fxfa/ |
D | cxfa_imagerenderer.cpp | 119 const RetainPtr<CFX_DIBitmap>& pDIBitmap, in CompositeDIBitmap() argument 122 if (!pDIBitmap) in CompositeDIBitmap() 125 if (!pDIBitmap->IsAlphaMask()) { in CompositeDIBitmap() 126 if (m_pDevice->SetDIBits(pDIBitmap, left, top)) in CompositeDIBitmap() 128 } else if (m_pDevice->SetBitMask(pDIBitmap, left, top, 0)) { in CompositeDIBitmap() 136 if (pDIBitmap->IsAlphaMask()) in CompositeDIBitmap() 139 m_pDevice->SetDIBitsWithBlend(pDIBitmap, left, top, BlendMode::kNormal); in CompositeDIBitmap() 142 if (!pDIBitmap->HasAlpha() || in CompositeDIBitmap() 147 RetainPtr<CFX_DIBitmap> pCloneConvert = pDIBitmap->CloneConvert(FXDIB_Rgb); in CompositeDIBitmap()
|
D | cxfa_ffimage.cpp | 46 RetainPtr<CFX_DIBitmap> pDIBitmap = GetNode()->GetImageImage(); in RenderWidget() local 47 if (!pDIBitmap) in RenderWidget() 65 XFA_DrawImage(pGS, rtImage, mtRotate, pDIBitmap, image->GetAspect(), in RenderWidget()
|
D | cxfa_ffimageedit.cpp | 64 RetainPtr<CFX_DIBitmap> pDIBitmap = m_pNode->GetImageEditImage(); in RenderWidget() local 65 if (!pDIBitmap) in RenderWidget() 85 XFA_DrawImage(pGS, rtImage, mtRotate, pDIBitmap, iAspect, in RenderWidget()
|
D | cxfa_ffwidget.cpp | 82 const RetainPtr<CFX_DIBitmap>& pDIBitmap, in XFA_DrawImage() argument 89 if (!pDIBitmap || !pDIBitmap->GetBuffer()) in XFA_DrawImage() 93 XFA_UnitPx2Pt(pDIBitmap->GetWidth(), dpi.width), in XFA_DrawImage() 94 XFA_UnitPx2Pt(pDIBitmap->GetHeight(), dpi.height)); in XFA_DrawImage() 146 CXFA_ImageRenderer imageRender(pRenderDevice, pDIBitmap, &mtImage); in XFA_DrawImage()
|
D | cxfa_imagerenderer.h | 33 void CompositeDIBitmap(const RetainPtr<CFX_DIBitmap>& pDIBitmap,
|
D | cxfa_ffwidget.h | 45 const RetainPtr<CFX_DIBitmap>& pDIBitmap,
|
/external/pdfium/core/fxge/win32/ |
D | fx_win32_dib.cpp | 140 auto pDIBitmap = pdfium::MakeRetain<CFX_DIBitmap>(); in LoadFromFile() local 141 if (!pDIBitmap->Create(width, height, FXDIB_Rgb)) { in LoadFromFile() 145 ByteString info = GetBitmapInfo(pDIBitmap); in LoadFromFile() 146 int ret = GetDIBits(hDC, hBitmap, 0, height, pDIBitmap->GetBuffer(), in LoadFromFile() 151 return pDIBitmap; in LoadFromFile() 175 auto pDIBitmap = pdfium::MakeRetain<CFX_DIBitmap>(); in LoadDIBitmap() local 176 if (!pDIBitmap->Create(width, height, FXDIB_Rgb)) { in LoadDIBitmap() 180 ByteString info = GetBitmapInfo(pDIBitmap); in LoadDIBitmap() 181 int ret = GetDIBits(hDC, hBitmap, 0, height, pDIBitmap->GetBuffer(), in LoadDIBitmap() 186 return pDIBitmap; in LoadDIBitmap()
|
D | fx_win32_gdipext.cpp | 984 RetainPtr<CFX_DIBitmap> pDIBitmap = FX_WindowsDIB_LoadFromBuf( in LoadDIBitmap() local 988 return pDIBitmap; in LoadDIBitmap()
|
/external/pdfium/core/fxcodec/ |
D | progressivedecoder.cpp | 302 RetainPtr<CFX_DIBitmap> pDIBitmap = m_pDeviceBitmap; in PngAskScanlineBuf() local 303 if (!pDIBitmap) { in PngAskScanlineBuf() 310 const uint8_t* src_scan = pDIBitmap->GetScanline(row); in PngAskScanlineBuf() 313 int32_t src_Bpp = pDIBitmap->GetBPP() >> 3; in PngAskScanlineBuf() 324 switch (pDIBitmap->GetFormat()) { in PngAskScanlineBuf() 331 if (pDIBitmap->GetPalette()) { in PngAskScanlineBuf() 375 RetainPtr<CFX_DIBitmap> pDIBitmap = m_pDeviceBitmap; in PngFillScanlineBufCompleted() local 376 ASSERT(pDIBitmap); in PngFillScanlineBufCompleted() 389 PngOneOneMapResampleHorz(pDIBitmap, dest_row, m_pDecodeBuf.get(), in PngFillScanlineBufCompleted() 392 ResampleVert(pDIBitmap, scale_y, dest_row); in PngFillScanlineBufCompleted() [all …]
|
D | progressivedecoder.h | 88 FXCODEC_STATUS StartDecode(const RetainPtr<CFX_DIBitmap>& pDIBitmap, 187 FXCODEC_STATUS BmpStartDecode(const RetainPtr<CFX_DIBitmap>& pDIBitmap); 194 FXCODEC_STATUS GifStartDecode(const RetainPtr<CFX_DIBitmap>& pDIBitmap); 207 FXCODEC_STATUS PngStartDecode(const RetainPtr<CFX_DIBitmap>& pDIBitmap); 218 FXCODEC_STATUS JpegStartDecode(const RetainPtr<CFX_DIBitmap>& pDIBitmap);
|
/external/pdfium/core/fpdfapi/render/ |
D | cpdf_renderstatus.cpp | 1452 const RetainPtr<CFX_DIBitmap>& pDIBitmap, in CompositeDIBitmap() argument 1459 if (!pDIBitmap) in CompositeDIBitmap() 1463 if (!pDIBitmap->IsAlphaMask()) { in CompositeDIBitmap() 1468 pDIBitmap->GetWidth(), pDIBitmap->GetHeight(), left, top); in CompositeDIBitmap() 1469 m_pDevice->StartDIBits(pDIBitmap, bitmap_alpha, 0, m, in CompositeDIBitmap() 1473 pDIBitmap->MultiplyAlpha(bitmap_alpha); in CompositeDIBitmap() 1477 CFX_SkiaDeviceDriver::PreMultiply(pDIBitmap); in CompositeDIBitmap() 1479 if (m_pDevice->SetDIBits(pDIBitmap, left, top)) { in CompositeDIBitmap() 1488 if (m_pDevice->SetBitMask(pDIBitmap, left, top, fill_argb)) { in CompositeDIBitmap() 1502 if (!pDIBitmap->IsAlphaMask()) in CompositeDIBitmap() [all …]
|
D | cpdf_renderstatus.h | 115 void CompositeDIBitmap(const RetainPtr<CFX_DIBitmap>& pDIBitmap,
|
/external/pdfium/core/fxge/skia/ |
D | fx_skia_device.h | 158 static void PreMultiply(const RetainPtr<CFX_DIBitmap>& pDIBitmap);
|
D | fx_skia_device.cpp | 2547 const RetainPtr<CFX_DIBitmap>& pDIBitmap) { in PreMultiply() argument 2548 pDIBitmap->PreMultiply(); in PreMultiply()
|