Home
last modified time | relevance | path

Searched refs:pDIBitmap (Results 1 – 16 of 16) sorted by relevance

/external/pdfium/core/fxcodec/tiff/
Dtiffmodule.cpp47 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 …]
Dtiffmodule.h39 bool Decode(Context* ctx, const RetainPtr<CFX_DIBitmap>& pDIBitmap);
/external/pdfium/xfa/fxfa/
Dcxfa_imagerenderer.cpp119 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()
Dcxfa_ffimage.cpp46 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()
Dcxfa_ffimageedit.cpp64 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()
Dcxfa_ffwidget.cpp82 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()
Dcxfa_imagerenderer.h33 void CompositeDIBitmap(const RetainPtr<CFX_DIBitmap>& pDIBitmap,
Dcxfa_ffwidget.h45 const RetainPtr<CFX_DIBitmap>& pDIBitmap,
/external/pdfium/core/fxge/win32/
Dfx_win32_dib.cpp140 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()
Dfx_win32_gdipext.cpp984 RetainPtr<CFX_DIBitmap> pDIBitmap = FX_WindowsDIB_LoadFromBuf( in LoadDIBitmap() local
988 return pDIBitmap; in LoadDIBitmap()
/external/pdfium/core/fxcodec/
Dprogressivedecoder.cpp302 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 …]
Dprogressivedecoder.h88 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/
Dcpdf_renderstatus.cpp1452 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 …]
Dcpdf_renderstatus.h115 void CompositeDIBitmap(const RetainPtr<CFX_DIBitmap>& pDIBitmap,
/external/pdfium/core/fxge/skia/
Dfx_skia_device.h158 static void PreMultiply(const RetainPtr<CFX_DIBitmap>& pDIBitmap);
Dfx_skia_device.cpp2547 const RetainPtr<CFX_DIBitmap>& pDIBitmap) { in PreMultiply() argument
2548 pDIBitmap->PreMultiply(); in PreMultiply()