Home
last modified time | relevance | path

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

/external/pdfium/core/src/fxge/win32/
Dfx_win32_dib.cpp134 CFX_DIBitmap* pDIBitmap = new CFX_DIBitmap; in LoadFromFile() local
135 if (!pDIBitmap->Create(width, height, FXDIB_Rgb)) { in LoadFromFile()
136 delete pDIBitmap; in LoadFromFile()
140 CFX_ByteString info = GetBitmapInfo(pDIBitmap); in LoadFromFile()
141 int ret = GetDIBits(hDC, hBitmap, 0, height, pDIBitmap->GetBuffer(), in LoadFromFile()
144 delete pDIBitmap; in LoadFromFile()
145 pDIBitmap = NULL; in LoadFromFile()
148 return pDIBitmap; in LoadFromFile()
167 CFX_DIBitmap* pDIBitmap = new CFX_DIBitmap; in LoadDIBitmap() local
168 if (!pDIBitmap->Create(width, height, FXDIB_Rgb)) { in LoadDIBitmap()
[all …]
Dfx_win32_gdipext.cpp1510 CFX_DIBitmap* pDIBitmap = _FX_WindowsDIB_LoadFromBuf( in LoadDIBitmap() local
1514 return pDIBitmap; in LoadDIBitmap()
/external/pdfium/core/src/fxcodec/codec/
Dfx_codec_tiff.cpp38 FX_BOOL Decode(CFX_DIBitmap* pDIBitmap);
54 FX_BOOL isSupport(CFX_DIBitmap* pDIBitmap);
55 void SetPalette(CFX_DIBitmap* pDIBitmap, uint16_t bps);
56 FX_BOOL Decode1bppRGB(CFX_DIBitmap* pDIBitmap,
61 FX_BOOL Decode8bppRGB(CFX_DIBitmap* pDIBitmap,
66 FX_BOOL Decode24bppRGB(CFX_DIBitmap* pDIBitmap,
338 FX_BOOL CCodec_TiffContext::isSupport(CFX_DIBitmap* pDIBitmap) { in isSupport() argument
346 switch (pDIBitmap->GetBPP()) { in isSupport()
370 void CCodec_TiffContext::SetPalette(CFX_DIBitmap* pDIBitmap, uint16_t bps) { in SetPalette() argument
387 pDIBitmap->SetPaletteEntry(index, color); in SetPalette()
[all …]
Dfx_codec_progress.cpp389 CFX_DIBitmap* pDIBitmap = pCodec->m_pDeviceBitmap; in PngAskScanlineBufFunc() local
390 ASSERT(pDIBitmap != NULL); in PngAskScanlineBufFunc()
391 if (pDIBitmap == NULL) { in PngAskScanlineBufFunc()
399 uint8_t* src_scan = (uint8_t*)pDIBitmap->GetScanline(row); in PngAskScanlineBufFunc()
402 int32_t src_Bpp = pDIBitmap->GetBPP() >> 3; in PngAskScanlineBufFunc()
414 switch (pDIBitmap->GetFormat()) { in PngAskScanlineBufFunc()
421 if (pDIBitmap->GetPalette() != NULL) { in PngAskScanlineBufFunc()
534 CFX_DIBitmap* pDIBitmap = pCodec->m_pDeviceBitmap; in PngFillScanlineBufCompletedFunc() local
535 ASSERT(pDIBitmap != NULL); in PngFillScanlineBufCompletedFunc()
548 pCodec->PngOneOneMapResampleHorz(pDIBitmap, des_row, pCodec->m_pDecodeBuf, in PngFillScanlineBufCompletedFunc()
[all …]
Dfx_codec_progress.h103 FXCODEC_STATUS StartDecode(CFX_DIBitmap* pDIBitmap,
Dcodec_int.h362 FX_BOOL Decode(void* ctx, class CFX_DIBitmap* pDIBitmap) override;
/external/pdfium/core/src/fpdfapi/fpdf_render/
Dfpdf_render_image.cpp28 void CPDF_RenderStatus::CompositeDIBitmap(CFX_DIBitmap* pDIBitmap, in CompositeDIBitmap() argument
35 if (!pDIBitmap) { in CompositeDIBitmap()
41 if (!pDIBitmap->IsAlphaMask()) { in CompositeDIBitmap()
43 pDIBitmap->MultiplyAlpha(bitmap_alpha); in CompositeDIBitmap()
45 if (m_pDevice->SetDIBits(pDIBitmap, left, top)) { in CompositeDIBitmap()
54 if (m_pDevice->SetBitMask(pDIBitmap, left, top, fill_argb)) { in CompositeDIBitmap()
66 if (pDIBitmap->IsAlphaMask()) { in CompositeDIBitmap()
69 m_pDevice->SetDIBits(pDIBitmap, left, top, blend_mode); in CompositeDIBitmap()
71 FX_RECT rect(left, top, left + pDIBitmap->GetWidth(), in CompositeDIBitmap()
72 top + pDIBitmap->GetHeight()); in CompositeDIBitmap()
[all …]
Drender_int.h193 void CompositeDIBitmap(CFX_DIBitmap* pDIBitmap,
/external/pdfium/xfa/src/fxbarcode/
DBC_Writer.cpp53 CFX_DIBitmap* pDIBitmap = new CFX_DIBitmap; in CreateDIBitmap() local
54 pDIBitmap->Create(width, height, m_colorSpace); in CreateDIBitmap()
55 return pDIBitmap; in CreateDIBitmap()
/external/pdfium/xfa/src/fxfa/src/app/
Dxfa_ffwidget.cpp501 void CompositeDIBitmap(CFX_DIBitmap* pDIBitmap,
661 void CXFA_ImageRenderer::CompositeDIBitmap(CFX_DIBitmap* pDIBitmap, in CompositeDIBitmap() argument
668 if (pDIBitmap == NULL) { in CompositeDIBitmap()
674 if (!pDIBitmap->IsAlphaMask()) { in CompositeDIBitmap()
676 pDIBitmap->MultiplyAlpha(bitmap_alpha); in CompositeDIBitmap()
678 if (m_pDevice->SetDIBits(pDIBitmap, left, top)) { in CompositeDIBitmap()
687 if (m_pDevice->SetBitMask(pDIBitmap, left, top, fill_argb)) { in CompositeDIBitmap()
699 if (pDIBitmap->IsAlphaMask()) { in CompositeDIBitmap()
702 m_pDevice->SetDIBits(pDIBitmap, left, top, blend_mode); in CompositeDIBitmap()
704 FX_RECT rect(left, top, left + pDIBitmap->GetWidth(), in CompositeDIBitmap()
[all …]
Dxfa_ffimage.cpp46 if (CFX_DIBitmap* pDIBitmap = GetDataAcc()->GetImageImage()) { in RenderWidget() local
64 XFA_DrawImage(pGS, rtImage, &mtRotate, pDIBitmap, iAspect, iImageXDpi, in RenderWidget()
Dxfa_ffimageedit.cpp59 if (CFX_DIBitmap* pDIBitmap = m_pDataAcc->GetImageEditImage()) { in RenderWidget() local
77 XFA_DrawImage(pGS, rtImage, &mtRotate, pDIBitmap, iAspect, iImageXDpi, in RenderWidget()
Dxfa_ffwidget.h154 CFX_DIBitmap* pDIBitmap,
/external/pdfium/xfa/src/fdp/include/
Dfde_img.h34 virtual FX_BOOL StartLoadImage(CFX_DIBitmap* pDIBitmap,
/external/pdfium/xfa/include/fwl/theme/
Dformtp.h71 CFX_DIBitmap* pDIBitmap,
/external/pdfium/core/include/fxcodec/
Dfx_codec.h402 virtual FX_BOOL Decode(void* ctx, class CFX_DIBitmap* pDIBitmap) = 0;
448 virtual FXCODEC_STATUS StartDecode(class CFX_DIBitmap* pDIBitmap,
/external/pdfium/core/include/fpdfapi/
Dfpdf_resource.h810 void SetImage(const CFX_DIBitmap* pDIBitmap,
821 void ResetCache(CPDF_Page* pPage, const CFX_DIBitmap* pDIBitmap);
/external/pdfium/xfa/src/fwl/src/theme/
Dformtp.cpp562 CFX_DIBitmap* pDIBitmap, in DrawIconImage() argument
567 pGraphics->StretchImage(pDIBitmap, *pRect, pMatrix); in DrawIconImage()