Home
last modified time | relevance | path

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

/external/pdfium/core/fxcodec/codec/
Dccodec_tiffmodule.cpp37 bool Decode(const RetainPtr<CFX_DIBitmap>& pDIBitmap);
44 bool IsSupport(const RetainPtr<CFX_DIBitmap>& pDIBitmap) const;
45 void SetPalette(const RetainPtr<CFX_DIBitmap>& pDIBitmap, uint16_t bps);
46 bool Decode1bppRGB(const RetainPtr<CFX_DIBitmap>& pDIBitmap,
51 bool Decode8bppRGB(const RetainPtr<CFX_DIBitmap>& pDIBitmap,
56 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()
325 void CTiffContext::SetPalette(const RetainPtr<CFX_DIBitmap>& pDIBitmap, in SetPalette() argument
345 pDIBitmap->SetPaletteArgb(index, color); in SetPalette()
[all …]
Dfx_codec_progress.cpp389 RetainPtr<CFX_DIBitmap> pDIBitmap = m_pDeviceBitmap; in PngAskScanlineBuf() local
390 if (!pDIBitmap) { in PngAskScanlineBuf()
397 uint8_t* src_scan = (uint8_t*)pDIBitmap->GetScanline(row); in PngAskScanlineBuf()
400 int32_t src_Bpp = pDIBitmap->GetBPP() >> 3; in PngAskScanlineBuf()
411 switch (pDIBitmap->GetFormat()) { in PngAskScanlineBuf()
418 if (pDIBitmap->GetPalette()) { in PngAskScanlineBuf()
531 RetainPtr<CFX_DIBitmap> pDIBitmap = m_pDeviceBitmap; in PngFillScanlineBufCompleted() local
532 ASSERT(pDIBitmap); in PngFillScanlineBufCompleted()
545 PngOneOneMapResampleHorz(pDIBitmap, des_row, m_pDecodeBuf, m_SrcFormat); in PngFillScanlineBufCompleted()
547 ResampleVert(pDIBitmap, scale_y, des_row); in PngFillScanlineBufCompleted()
[all …]
Dccodec_progressivedecoder.h61 FXCODEC_STATUS StartDecode(const RetainPtr<CFX_DIBitmap>& pDIBitmap,
193 FXCODEC_STATUS JpegStartDecode(const RetainPtr<CFX_DIBitmap>& pDIBitmap);
194 FXCODEC_STATUS PngStartDecode(const RetainPtr<CFX_DIBitmap>& pDIBitmap);
195 FXCODEC_STATUS GifStartDecode(const RetainPtr<CFX_DIBitmap>& pDIBitmap);
196 FXCODEC_STATUS BmpStartDecode(const RetainPtr<CFX_DIBitmap>& pDIBitmap);
Dccodec_tiffmodule.h35 bool Decode(Context* ctx, const RetainPtr<CFX_DIBitmap>& pDIBitmap);
/external/pdfium/xfa/fxfa/
Dcxfa_imagerenderer.cpp120 const RetainPtr<CFX_DIBitmap>& pDIBitmap, in CompositeDIBitmap() argument
123 if (!pDIBitmap) in CompositeDIBitmap()
126 if (!pDIBitmap->IsAlphaMask()) { in CompositeDIBitmap()
127 if (m_pDevice->SetDIBits(pDIBitmap, left, top)) in CompositeDIBitmap()
129 } else if (m_pDevice->SetBitMask(pDIBitmap, left, top, 0)) { in CompositeDIBitmap()
137 if (pDIBitmap->IsAlphaMask()) in CompositeDIBitmap()
140 m_pDevice->SetDIBitsWithBlend(pDIBitmap, left, top, FXDIB_BLEND_NORMAL); in CompositeDIBitmap()
143 if (!pDIBitmap->HasAlpha() || in CompositeDIBitmap()
148 RetainPtr<CFX_DIBitmap> pCloneConvert = pDIBitmap->CloneConvert(FXDIB_Rgb); in CompositeDIBitmap()
Dcxfa_ffimage.cpp52 RetainPtr<CFX_DIBitmap> pDIBitmap = in RenderWidget() local
54 if (!pDIBitmap) in RenderWidget()
77 XFA_DrawImage(pGS, rtImage, mtRotate, pDIBitmap, image->GetAspect(), in RenderWidget()
Dcxfa_ffimageedit.cpp70 RetainPtr<CFX_DIBitmap> pDIBitmap = in RenderWidget() local
72 if (!pDIBitmap) in RenderWidget()
95 XFA_DrawImage(pGS, rtImage, mtRotate, pDIBitmap, iAspect, iImageXDpi, in RenderWidget()
Dcxfa_ffwidget.cpp76 const RetainPtr<CFX_DIBitmap>& pDIBitmap, in XFA_DrawImage() argument
84 if (!pDIBitmap || !pDIBitmap->GetBuffer()) in XFA_DrawImage()
89 XFA_UnitPx2Pt((float)pDIBitmap->GetWidth(), (float)iImageXDpi), in XFA_DrawImage()
90 XFA_UnitPx2Pt((float)pDIBitmap->GetHeight(), (float)iImageYDpi)); in XFA_DrawImage()
142 CXFA_ImageRenderer imageRender(pRenderDevice, pDIBitmap, &mtImage); in XFA_DrawImage()
Dcxfa_imagerenderer.h33 void CompositeDIBitmap(const RetainPtr<CFX_DIBitmap>& pDIBitmap,
Dcxfa_ffwidget.h37 const RetainPtr<CFX_DIBitmap>& pDIBitmap,
/external/pdfium/core/fxge/win32/
Dfx_win32_dib.cpp136 auto pDIBitmap = pdfium::MakeRetain<CFX_DIBitmap>(); in LoadFromFile() local
137 if (!pDIBitmap->Create(width, height, FXDIB_Rgb)) { in LoadFromFile()
141 ByteString info = GetBitmapInfo(pDIBitmap); in LoadFromFile()
142 int ret = GetDIBits(hDC, hBitmap, 0, height, pDIBitmap->GetBuffer(), in LoadFromFile()
147 return pDIBitmap; in LoadFromFile()
171 auto pDIBitmap = pdfium::MakeRetain<CFX_DIBitmap>(); in LoadDIBitmap() local
172 if (!pDIBitmap->Create(width, height, FXDIB_Rgb)) { in LoadDIBitmap()
176 ByteString info = GetBitmapInfo(pDIBitmap); in LoadDIBitmap()
177 int ret = GetDIBits(hDC, hBitmap, 0, height, pDIBitmap->GetBuffer(), in LoadDIBitmap()
182 return pDIBitmap; in LoadDIBitmap()
Dfx_win32_gdipext.cpp1552 RetainPtr<CFX_DIBitmap> pDIBitmap = _FX_WindowsDIB_LoadFromBuf( in LoadDIBitmap() local
1556 return pDIBitmap; in LoadDIBitmap()
/external/pdfium/fxbarcode/
DBC_Writer.cpp55 auto pDIBitmap = pdfium::MakeRetain<CFX_DIBitmap>(); in CreateDIBitmap() local
56 pDIBitmap->Create(width, height, m_colorSpace); in CreateDIBitmap()
57 return pDIBitmap; in CreateDIBitmap()
/external/pdfium/core/fpdfapi/render/
Dcpdf_renderstatus.cpp2444 const RetainPtr<CFX_DIBitmap>& pDIBitmap, in CompositeDIBitmap() argument
2451 if (!pDIBitmap) in CompositeDIBitmap()
2455 if (!pDIBitmap->IsAlphaMask()) { in CompositeDIBitmap()
2459 CFX_Matrix m(pDIBitmap->GetWidth(), 0, 0, -pDIBitmap->GetHeight(), left, in CompositeDIBitmap()
2460 top + pDIBitmap->GetHeight()); in CompositeDIBitmap()
2461 m_pDevice->StartDIBits(pDIBitmap, bitmap_alpha, 0, &m, 0, &dummy); in CompositeDIBitmap()
2464 pDIBitmap->MultiplyAlpha(bitmap_alpha); in CompositeDIBitmap()
2468 CFX_SkiaDeviceDriver::PreMultiply(pDIBitmap); in CompositeDIBitmap()
2470 if (m_pDevice->SetDIBits(pDIBitmap, left, top)) { in CompositeDIBitmap()
2479 if (m_pDevice->SetBitMask(pDIBitmap, left, top, fill_argb)) { in CompositeDIBitmap()
[all …]
Dcpdf_renderstatus.h93 void CompositeDIBitmap(const RetainPtr<CFX_DIBitmap>& pDIBitmap,
/external/pdfium/core/fpdfapi/page/
Dcpdf_image.h47 void SetImage(const RetainPtr<CFX_DIBitmap>& pDIBitmap);
51 void ResetCache(CPDF_Page* pPage, const RetainPtr<CFX_DIBitmap>& pDIBitmap);
/external/pdfium/core/fxge/skia/
Dfx_skia_device.h154 static void PreMultiply(const RetainPtr<CFX_DIBitmap>& pDIBitmap);
Dfx_skia_device.cpp2415 const RetainPtr<CFX_DIBitmap>& pDIBitmap) { in PreMultiply() argument
2416 pDIBitmap->PreMultiply(); in PreMultiply()