/external/pdfium/core/fxge/dib/ |
D | cfx_dibsource.cpp | 69 int bpp = pBitmap->GetBPP() / 8; in CFX_Palette() 223 int Bpp = pSrcBitmap->GetBPP() / 8; in ConvertBuffer_RgbOrCmyk2Gray() 262 if (pSrcBitmap->GetBPP() == 1) { in ConvertBuffer_IndexCopy() 321 int bpp = pSrcBitmap->GetBPP() / 8; in ConvertBuffer_Rgb2PltRgb8() 562 int comps = pSrcBitmap->GetBPP() / 8; in ConvertBuffer_Rgb2Rgb32() 625 if (GetBPP() == 1 && rect.left % 8 != 0) { in Clone() 638 int copy_len = (pNewBitmap->GetWidth() * pNewBitmap->GetBPP() + 7) / 8; in Clone() 655 if (GetBPP() == 1) { in BuildPalette() 664 } else if (GetBPP() == 8) { in BuildPalette() 691 ASSERT((GetBPP() == 1 || GetBPP() == 8) && !IsAlphaMask()); in GetPaletteArgb() [all …]
|
D | cfx_dibitmap.cpp | 201 if (GetBPP() == 1) { in TransferBitmap() 217 int Bpp = GetBPP() / 8; in TransferBitmap() 234 m_pBuffer.Get() + dest_top * m_Pitch + dest_left * GetBPP() / 8; in TransferBitmap() 256 if (pSrcBitmap->GetBPP() == 1) { in LoadChannel() 266 if (pSrcBitmap->GetBPP() < 24) { in LoadChannel() 295 if (GetBPP() < 24) { in LoadChannel() 335 int srcBytes = pSrcClone->GetBPP() / 8; in LoadChannel() 336 int destBytes = pDst->GetBPP() / 8; in LoadChannel() 373 if (GetBPP() < 24) { in LoadChannel() 388 int Bpp = GetBPP() / 8; in LoadChannel() [all …]
|
D | cfx_bitmapcomposer.cpp | 59 m_pScanlineV.resize(m_pBitmap->GetBPP() / 8 * width + 4); in SetInfo() 117 m_DestLeft * m_pBitmap->GetBPP() / 8; in ComposeScanline() 131 int Bpp = m_pBitmap->GetBPP() / 8; in ComposeScanlineV()
|
D | cfx_dibsource.h | 55 int GetBPP() const { return m_bpp; } in GetBPP() function
|
D | cfx_imagetransformer.cpp | 329 int Bpp = m_Storer.GetBitmap()->GetBPP() / 8; in Continue() 403 int destBpp = cdata.bitmap->GetBPP() / 8; in CalcMono() 438 int destBpp = cdata.bitmap->GetBPP() / 8; in CalcColor()
|
/external/pdfium/core/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 | cfx_psrenderer.cpp | 381 if (pSource->IsAlphaMask() && (alpha < 255 || pSource->GetBPP() != 1)) in DrawDIBits() 394 if (pSource->GetBPP() == 1 && !pSource->GetPalette()) { in DrawDIBits() 459 int bpp = pConverted->GetBPP() / 8; in DrawDIBits()
|
D | fx_win32_print.cpp | 110 if (pSource->GetBPP() != 1 || alpha != 255) in StretchDIBits() 170 (pSource->IsAlphaMask() && (pSource->GetBPP() != 1))) { in StartDIBits()
|
D | fx_win32_gdipext.cpp | 591 ASSERT(pBitmap->GetBPP() == 1); in OutputImageMask() 681 if (pBitmap->GetBPP() == 1 && (pSrcRect->left % 8)) { in OutputImage() 692 pBitmap->GetBPP() * pSrcRect->left / 8; in OutputImage() 973 ASSERT(pBitmap->GetBPP() == 1); in StretchBitMask()
|
D | fx_win32_device.cpp | 1172 bmi.bmiHeader.biBitCount = pBitmap->GetBPP(); in GetDIBits() 1176 if (pBitmap->GetBPP() > 8 && !pBitmap->IsCmykImage()) { in GetDIBits() 1208 if (pSource->GetBPP() != 1 || alpha != 255) { in SetDIBits()
|
/external/pdfium/core/fxcodec/codec/ |
D | ccodec_tiffmodule.cpp | 303 switch (pDIBitmap->GetBPP()) { in IsSupport() 354 if (pDIBitmap->GetBPP() != 1 || spp != 1 || bps != 1 || in Decode1bppRGB() 382 if (pDIBitmap->GetBPP() != 8 || spp != 1 || (bps != 4 && bps != 8) || in Decode8bppRGB() 418 if (pDIBitmap->GetBPP() != 24 || !IsSupport(pDIBitmap)) in Decode24bppRGB() 451 if (pDIBitmap->GetBPP() == 32) { in Decode()
|
D | fx_codec_progress.cpp | 400 int32_t src_Bpp = pDIBitmap->GetBPP() >> 3; in PngAskScanlineBuf() 464 int32_t des_Bpp = pDeviceBitmap->GetBPP() >> 3; in PngOneOneMapResampleHorz() 655 int Bpp = pDevice->GetBPP() / 8; in GifInputRecordPositionBuf() 734 int des_Bpp = pDIBitmap->GetBPP() >> 3; in GifReadScanline() 755 int des_Bpp = pDeviceBitmap->GetBPP() >> 3; in GifDoubleLineResampleVert() 912 int des_Bpp = pDeviceBitmap->GetBPP() >> 3; in ResampleVertBT() 1484 int des_bpp = pDeviceBitmap->GetBPP(); in ReSampleScanline() 1685 int des_Bpp = pDeviceBitmap->GetBPP() >> 3; in ResampleVert() 1857 if (!pDIBitmap || pDIBitmap->GetBPP() < 8 || m_FrameNumber == 0) in StartDecode() 2235 if (m_pDeviceBitmap->GetBPP() == 32 && in TifContinueDecode()
|
D | fx_codec_jpeg.cpp | 518 int Bpp = pSource->GetBPP() / 8;
|
/external/pdfium/core/fxge/skia/ |
D | fx_skia_device.cpp | 75 int Bpp = pBitmap->GetBPP() / 8; in RgbByteOrderTransferBitmap() 269 SkASSERT(bitmap->GetBPP() == 8 || bitmap->GetBPP() == 32); in DebugValidate() 270 if (bitmap->GetBPP() == 32) { in DebugValidate() 275 SkASSERT(device->GetBPP() == 8 || device->GetBPP() == 32); in DebugValidate() 276 if (device->GetBPP() == 32) { in DebugValidate() 586 switch (pSource->GetBPP()) { in Upsample() 1511 SkASSERT(pBitmap->GetBPP() == 8 || pBitmap->GetBPP() == 32); in CFX_SkiaDeviceDriver() 1514 pBitmap->GetBPP() == 8 ? kAlpha_8_SkColorType : kN32_SkColorType, in CFX_SkiaDeviceDriver() 1699 return m_pBitmap->GetBPP(); in GetDeviceCaps() 1709 if (m_pBitmap->GetBPP() == 1) { in GetDeviceCaps() [all …]
|
/external/pdfium/fpdfsdk/ |
D | fpdfeditimg.cpp | 162 if (pSource->GetBPP() == 1) in FPDFImageObj_GetBitmap() 299 metadata->bits_per_pixel = pSource->GetBPP(); in FPDFImageObj_GetImageMetadata()
|
/external/pdfium/core/fxge/agg/ |
D | fx_agg_driver.cpp | 46 x * pBitmap->GetBPP() / 8; in RgbByteOrderSetPixel() 74 int Bpp = pBitmap->GetBPP() / 8; in RgbByteOrderCompositeRect() 150 int Bpp = pBitmap->GetBPP() / 8; in RgbByteOrderTransferBitmap() 903 if (m_pDevice->GetBPP() == 8) { in Init() 925 if (m_pDevice->GetBPP() == 1) in Init() 949 int Bpp = m_pDevice->GetBPP() / 8; in render() 1154 return m_pBitmap->GetBPP(); in GetDeviceCaps() 1164 if (m_pBitmap->GetBPP() == 1) in GetDeviceCaps()
|
/external/pdfium/core/fpdfapi/render/ |
D | cpdf_type3cache.cpp | 60 int bpp = pBitmap->GetBPP(); in DetectFirstLastScan()
|
D | cpdf_imagerenderer.cpp | 375 if (!(m_Flags & RENDER_FORCE_DOWNSAMPLE) && m_pDIBSource->GetBPP() > 1) { in StartDIBSource() 376 FX_SAFE_SIZE_T image_size = m_pDIBSource->GetBPP(); in StartDIBSource()
|
D | cpdf_renderstatus.cpp | 2679 int Bpp = bitmap.GetBPP() / 8; in LoadSMask()
|
/external/pdfium/core/fpdfapi/page/ |
D | cpdf_image.cpp | 178 const int32_t bpp = pBitmap->GetBPP(); in SetImage()
|
/external/pdfium/core/fxge/ |
D | cfx_renderdevice.cpp | 221 const int Bpp = has_alpha ? 4 : bitmap->GetBPP() / 8; in DrawNormalTextHelper()
|