/external/pdfium/core/src/fxge/dib/ |
D | fx_dib_main.cpp | 170 if (GetBPP() == 1 && rect.left % 8 != 0) { in Clone() 183 int copy_len = (pNewBitmap->GetWidth() * pNewBitmap->GetBPP() + 7) / 8; in Clone() 199 if (GetBPP() == 1) { in BuildPalette() 208 } else if (GetBPP() == 8) { in BuildPalette() 236 ASSERT((GetBPP() == 1 || GetBPP() == 8) && !IsAlphaMask()); in GetPaletteEntry() 241 if (GetBPP() == 1) { in GetPaletteEntry() 246 if (GetBPP() == 1) { in GetPaletteEntry() 252 ASSERT((GetBPP() == 1 || GetBPP() == 8) && !IsAlphaMask()); in SetPaletteEntry() 259 ASSERT((GetBPP() == 1 || GetBPP() == 8) && !IsAlphaMask()); in FindPalette() 262 if (GetBPP() == 1) { in FindPalette() [all …]
|
D | fx_dib_transform.cpp | 200 if (GetBPP() == 1) { in SwapXY() 219 int nBytes = GetBPP() / 8; in SwapXY() 623 int Bpp = m_Storer.GetBitmap()->GetBPP() / 8; in Continue() 624 int destBpp = pTransformed->GetBPP() / 8; in Continue() 750 int destBpp = pTransformed->GetBPP() / 8; in Continue()
|
D | fx_dib_convert.cpp | 217 int bpp = pBitmap->GetBPP() / 8; in BuildPalette() 415 int Bpp = pSrcBitmap->GetBPP() / 8; in _ConvertBuffer_RgbOrCmyk2Gray() 476 if (pSrcBitmap->GetBPP() == 1) { in _ConvertBuffer_IndexCopy() 557 int bpp = pSrcBitmap->GetBPP() / 8; in _ConvertBuffer_Rgb2PltRgb8_NoTransform() 874 int comps = pSrcBitmap->GetBPP() / 8; in _ConvertBuffer_Rgb2Rgb32()
|
D | fx_dib_composite.cpp | 4685 int src_Bpp = pSrcBitmap->GetBPP() / 8; in CompositeBitmap() 4756 int src_bpp = pMask->GetBPP(); in CompositeMask() 4757 int Bpp = GetBPP() / 8; in CompositeMask() 5053 m_pScanlineV = FX_Alloc(uint8_t, m_pBitmap->GetBPP() / 8 * width + 4); in SetInfo() 5108 m_DestLeft * m_pBitmap->GetBPP() / 8; in ComposeScanline() 5121 int Bpp = m_pBitmap->GetBPP() / 8; in ComposeScanlineV()
|
/external/pdfium/core/src/fxge/win32/ |
D | fx_win32_dib.cpp | 18 if (pBitmap->GetBPP() == 1 || pBitmap->GetBPP() == 8) { in GetBitmapInfo() 19 len += sizeof(DWORD) * (int)(1 << pBitmap->GetBPP()); in GetBitmapInfo() 24 pbmih->biBitCount = pBitmap->GetBPP(); in GetBitmapInfo() 29 if (pBitmap->GetBPP() == 8) { in GetBitmapInfo() 41 if (pBitmap->GetBPP() == 1) { in GetBitmapInfo()
|
D | fx_win32_print.cpp | 79 if (pSource->GetBPP() != 1 || alpha != 255 || !m_bSupportROP) { in StretchDIBits() 234 (pSource->IsAlphaMask() && (pSource->GetBPP() != 1 || !m_bSupportROP))) { in StartDIBits() 262 if (pSource->GetBPP() == 1) { in StartDIBits()
|
D | fx_win32_gdipext.cpp | 525 ASSERT(pBitmap->GetBPP() == 1); in OutputImageMask() 612 if (pBitmap->GetBPP() == 1 && (pSrcRect->left % 8)) { in OutputImage() 625 pBitmap->GetBPP() * pSrcRect->left / 8; in OutputImage() 921 ASSERT(pBitmap->GetBPP() == 1); in StretchBitMask()
|
D | fx_win32_device.cpp | 1061 bmi.bmiHeader.biBitCount = pBitmap->GetBPP(); in GetDIBits() 1069 if (pBitmap->GetBPP() > 8 && !pBitmap->IsCmykImage() && !pIccTransform) { in GetDIBits() 1105 FX_BOOL bGDI = pSource->GetBPP() == 1 && alpha == 255; in SetDIBits()
|
/external/pdfium/core/src/fpdfapi/fpdf_edit/ |
D | fpdf_edit_image.cpp | 114 int32_t bpp = pBitmap->GetBPP(); in SetImage() 230 if (pMaskBitmap->GetBPP() == 8 && in SetImage() 265 if (pBitmap->GetBPP() == 1) { in SetImage() 270 if (pBitmap->GetBPP() == 1) { in SetImage() 273 } else if (pBitmap->GetBPP() >= 8 && pBitmap->GetPalette()) { in SetImage()
|
/external/pdfium/core/src/fxcodec/codec/ |
D | fx_codec_tiff.cpp | 346 switch (pDIBitmap->GetBPP()) { in isSupport() 395 if (pDIBitmap->GetBPP() != 1 || spp != 1 || bps != 1 || in Decode1bppRGB() 422 if (pDIBitmap->GetBPP() != 8 || spp != 1 || (bps != 4 && bps != 8) || in Decode8bppRGB() 457 if (pDIBitmap->GetBPP() != 24 || !isSupport(pDIBitmap)) { in Decode24bppRGB() 489 if (pDIBitmap->GetBPP() == 32) { in Decode()
|
D | fx_codec_progress.cpp | 402 int32_t src_Bpp = pDIBitmap->GetBPP() >> 3; in PngAskScanlineBufFunc() 466 int32_t des_Bpp = pDeviceBitmap->GetBPP() >> 3; in PngOneOneMapResampleHorz() 666 int Bpp = pDevice->GetBPP() / 8; in GifInputRecordPositionBufCallback() 744 int des_Bpp = pDIBitmap->GetBPP() >> 3; in GifReadScanlineCallback() 767 int des_Bpp = pDeviceBitmap->GetBPP() >> 3; in GifDoubleLineResampleVert() 923 int des_Bpp = pDeviceBitmap->GetBPP() >> 3; in ResampleVertBT() 1482 int des_bpp = pDeviceBitmap->GetBPP(); in ReSampleScanline() 1677 int des_Bpp = pDeviceBitmap->GetBPP() >> 3; in ResampleVert() 1860 if (pDIBitmap == NULL || pDIBitmap->GetBPP() < 8 || frames < 0 || in StartDecode() 2214 if (m_pDeviceBitmap->GetBPP() == 32 && in ContinueDecode()
|
D | fx_codec_jpeg.cpp | 140 int Bpp = pSource->GetBPP() / 8; in _JpegEncode() 549 if (pSource->GetBPP() < 8 || pSource->GetPalette()) in Encode()
|
/external/pdfium/core/src/fxge/apple/ |
D | fx_quartz_device.cpp | 122 if (!pBitmap || pBitmap->IsCmykImage() || pBitmap->GetBPP() < 32) { in createContextWithBitmap() 461 if (bitmap->GetBPP() < 32) { in GetDIBits() 561 pBitmap1->GetWidth(), pBitmap1->GetHeight(), pBitmap1->GetBPP(), in SetDIBits() 562 pBitmap1->GetBPP(), pBitmap1->GetPitch(), pColorSpace, bitmapInfo, in SetDIBits() 578 if (pBitmap->GetBPP() < 32) { in SetDIBits() 679 pBitmap1->GetWidth(), pBitmap1->GetHeight(), pBitmap1->GetBPP(), in StretchDIBits() 680 pBitmap1->GetBPP(), pBitmap1->GetPitch(), pColorSpace, bitmapInfo, in StretchDIBits() 696 if (pBitmap->GetBPP() < 32) { in StretchDIBits()
|
/external/pdfium/core/src/fxge/skia/ |
D | fx_skia_blitter_new.cpp | 1577 if (m_pDevice->GetBPP() == 8) { // Gray(a) device in Init() 1674 + (m_pDevice->GetBPP() >= 8 ? 2 : 0) /* bpp flag */ in Init() 1682 if (m_pDevice->GetBPP() == 8) in Init() 1684 else if (m_pDevice->GetBPP() == 24) in Init() 1692 if (m_pDevice->GetBPP() == 8) in Init() 1694 else if (m_pDevice->GetBPP() == 24) in Init() 1705 if (m_pDevice->GetBPP() == 8) in Init() 1707 else if (m_pDevice->GetBPP() == 24) in Init() 1715 if (m_pDevice->GetBPP() == 8) in Init() 1717 else if (m_pDevice->GetBPP() == 24) in Init()
|
/external/pdfium/core/src/fxge/agg/src/ |
D | fx_agg_driver.cpp | 241 return m_pBitmap->GetBPP(); in GetDeviceCaps() 251 if (m_pBitmap->GetBPP() == 1) { in GetDeviceCaps() 1017 int Bpp = m_pDevice->GetBPP() / 8; in render() 1092 if (m_pDevice->GetBPP() == 8) { in Init() 1181 if (m_pDevice->GetBPP() == 1) { in Init() 1293 x * pBitmap->GetBPP() / 8; in RgbByteOrderSetPixel() 1317 int Bpp = pBitmap->GetBPP() / 8; in RgbByteOrderCompositeRect() 1400 int Bpp = pBitmap->GetBPP() / 8; in RgbByteOrderTransferBitmap()
|
/external/pdfium/core/src/fxge/ge/ |
D | fx_ge_ps.cpp | 367 if (pSource->IsAlphaMask() && (alpha < 255 || pSource->GetBPP() != 1)) { in DrawDIBits() 377 if (pSource->GetBPP() == 1 && !pSource->GetPalette()) { in DrawDIBits() 440 int Bpp = pConverted->GetBPP() / 8; in DrawDIBits()
|
D | fx_ge_text.cpp | 377 int Bpp = bitmap.GetBPP() / 8; in DrawNormalText()
|
/external/pdfium/core/src/fpdfapi/fpdf_render/ |
D | fpdf_render_image.cpp | 693 if (!(m_Flags & RENDER_FORCE_DOWNSAMPLE) && m_pDIBSource->GetBPP() > 1) { in StartDIBSource() 694 int image_size = m_pDIBSource->GetBPP() / 8 * m_pDIBSource->GetWidth() * in StartDIBSource() 975 int Bpp = bitmap.GetBPP() / 8; in LoadSMask()
|
D | fpdf_render_text.cpp | 99 int bpp = pBitmap->GetBPP(); in _DetectFirstLastScan()
|
/external/pdfium/xfa/src/fdp/src/fde/ |
D | fde_gdidevice.cpp | 33 bmi.bmiHeader.biBitCount = pBitmap->GetBPP(); in CFDE_GdiDevice() 137 bmi.bmiHeader.biBitCount = pDib->GetBPP(); in DrawImage()
|
/external/pdfium/core/include/fxge/ |
D | fx_ge.h | 266 int GetBPP() const { return m_bpp; } in GetBPP() function
|
D | fx_dib.h | 197 int GetBPP() const { return m_bpp; } in GetBPP() function
|
/external/pdfium/xfa/src/fwl/src/core/ |
D | fwl_widgetmgrimp.cpp | 1037 buffer[14] = pBitmap->GetBPP(); in FWL_WriteBMP()
|