/external/pdfium/core/fxge/dib/ |
D | cfx_dibbase.cpp | 68 int bpp = pBitmap->GetBPP() / 8; in CFX_Palette() 221 int Bpp = pSrcBitmap->GetBPP() / 8; in ConvertBuffer_RgbOrCmyk2Gray() 260 if (pSrcBitmap->GetBPP() == 1) { in ConvertBuffer_IndexCopy() 319 int bpp = pSrcBitmap->GetBPP() / 8; in ConvertBuffer_Rgb2PltRgb8() 558 int comps = pSrcBitmap->GetBPP() / 8; in ConvertBuffer_Rgb2Rgb32() 743 if (GetBPP() == 1 && rect.left % 8 != 0) { in Clone() 758 int copy_len = (pNewBitmap->GetWidth() * pNewBitmap->GetBPP() + 7) / 8; in Clone() 775 if (GetBPP() == 1) { in BuildPalette() 784 } else if (GetBPP() == 8) { in BuildPalette() 825 ASSERT((GetBPP() == 1 || GetBPP() == 8) && !IsAlphaMask()); in GetPaletteArgb() [all …]
|
D | cfx_dibitmap.cpp | 207 if (GetBPP() != 1) { in TransferBitmap() 234 m_pBuffer.Get() + dest_top * m_Pitch + dest_left * GetBPP() / 8; in TransferWithUnequalFormats() 251 int Bpp = GetBPP() / 8; in TransferWithMultipleBPP() 293 if (pSrcBitmap->GetBPP() == 1) { in LoadChannelFromAlpha() 315 if (GetBPP() < 24) { in LoadChannelFromAlpha() 358 int srcBytes = pSrcClone->GetBPP() / 8; in LoadChannelFromAlpha() 359 int destBytes = pDst->GetBPP() / 8; in LoadChannelFromAlpha() 396 if (GetBPP() < 24) { in LoadChannel() 413 int Bpp = GetBPP() / 8; in LoadChannel() 460 if (pSrcClone->GetBPP() == 1) { in MultiplyAlpha() [all …]
|
D | cfx_bitmapcomposer.cpp | 56 m_pScanlineV.resize(m_pBitmap->GetBPP() / 8 * width + 4); in SetInfo() 113 m_DestLeft * m_pBitmap->GetBPP() / 8; in ComposeScanline() 126 int Bpp = m_pBitmap->GetBPP() / 8; in ComposeScanlineV()
|
D | cfx_dibbase.h | 59 int GetBPP() const { return m_bpp; } in GetBPP() function
|
D | cfx_imagetransformer.cpp | 454 int Bpp = m_Storer.GetBitmap()->GetBPP() / 8; in ContinueOther() 527 int destBpp = cdata.bitmap->GetBPP() / 8; in CalcMono() 562 int destBpp = cdata.bitmap->GetBPP() / 8; in CalcColor()
|
/external/pdfium/core/fxge/win32/ |
D | fx_win32_dib.cpp | 17 if (pBitmap->GetBPP() == 1 || pBitmap->GetBPP() == 8) in GetBitmapInfo() 18 len += sizeof(DWORD) * (int)(1 << pBitmap->GetBPP()); in GetBitmapInfo() 27 pbmih->biBitCount = pBitmap->GetBPP(); in GetBitmapInfo() 32 if (pBitmap->GetBPP() == 8) { in GetBitmapInfo() 44 if (pBitmap->GetBPP() == 1) { in GetBitmapInfo()
|
D | cfx_psrenderer.cpp | 313 if (pSource->IsAlphaMask() && (alpha < 255 || pSource->GetBPP() != 1)) in DrawDIBits() 326 if (pSource->GetBPP() == 1 && !pSource->GetPalette()) { in DrawDIBits() 392 int bpp = pConverted->GetBPP() / 8; in DrawDIBits()
|
D | fx_win32_print.cpp | 113 if (pSource->GetBPP() != 1 || alpha != 255) in StretchDIBits() 173 (pSource->IsAlphaMask() && (pSource->GetBPP() != 1))) { in StartDIBits()
|
D | fx_win32_device.cpp | 1175 bmi.bmiHeader.biBitCount = pBitmap->GetBPP(); in GetDIBits() 1179 if (pBitmap->GetBPP() > 8 && !pBitmap->IsCmykImage()) { in GetDIBits() 1211 if (pSource->GetBPP() != 1 || alpha != 255) { in SetDIBits()
|
D | fx_win32_gdipext.cpp | 325 if (pBitmap->GetBPP() == 1 && (pSrcRect->left % 8)) { in OutputImage() 336 pBitmap->GetBPP() * pSrcRect->left / 8; in OutputImage()
|
/external/pdfium/core/fxcodec/tiff/ |
D | tiffmodule.cpp | 303 switch (pDIBitmap->GetBPP()) { in IsSupport() 356 if (pDIBitmap->GetBPP() != 1 || spp != 1 || bps != 1 || in Decode1bppRGB() 384 if (pDIBitmap->GetBPP() != 8 || spp != 1 || (bps != 4 && bps != 8) || in Decode8bppRGB() 420 if (pDIBitmap->GetBPP() != 24 || !IsSupport(pDIBitmap)) in Decode24bppRGB() 453 if (pDIBitmap->GetBPP() == 32) { in Decode()
|
/external/pdfium/core/fxge/skia/ |
D | fx_skia_device.cpp | 82 int Bpp = pBitmap->GetBPP() / 8; in RgbByteOrderTransferBitmap() 276 ASSERT(bitmap->GetBPP() == 8 || bitmap->GetBPP() == 32); in DebugValidate() 277 if (bitmap->GetBPP() == 32) { in DebugValidate() 282 ASSERT(device->GetBPP() == 8 || device->GetBPP() == 32); in DebugValidate() 283 if (device->GetBPP() == 32) { in DebugValidate() 640 switch (pSource->GetBPP()) { in Upsample() 1611 ASSERT(pBitmap->GetBPP() == 8 || pBitmap->GetBPP() == 32); in CFX_SkiaDeviceDriver() 1614 pBitmap->GetBPP() == 8 ? kAlpha_8_SkColorType : kN32_SkColorType, in CFX_SkiaDeviceDriver() 1832 return m_pBitmap->GetBPP(); in GetDeviceCaps() 1842 if (m_pBitmap->GetBPP() == 1) { in GetDeviceCaps() [all …]
|
/external/pdfium/fpdfsdk/ |
D | fpdf_editimg.cpp | 209 if (pSource->GetBPP() == 1) in FPDFImageObj_GetBitmap() 342 metadata->bits_per_pixel = pSource->GetBPP(); in FPDFImageObj_GetImageMetadata()
|
/external/pdfium/core/fxge/agg/ |
D | fx_agg_driver.cpp | 57 x * pBitmap->GetBPP() / 8; in RgbByteOrderSetPixel() 85 int Bpp = pBitmap->GetBPP() / 8; in RgbByteOrderCompositeRect() 161 int Bpp = pBitmap->GetBPP() / 8; in RgbByteOrderTransferBitmap() 928 if (m_pDevice->GetBPP() == 8) { in Init() 950 if (m_pDevice->GetBPP() == 1) in Init() 976 int Bpp = m_pDevice->GetBPP() / 8; in render() 1180 return m_pBitmap->GetBPP(); in GetDeviceCaps() 1190 if (m_pBitmap->GetBPP() == 1) in GetDeviceCaps()
|
/external/pdfium/core/fxcodec/ |
D | progressivedecoder.cpp | 313 int32_t src_Bpp = pDIBitmap->GetBPP() >> 3; in PngAskScanlineBuf() 465 int Bpp = pDevice->GetBPP() / 8; in GifInputRecordPositionBuf() 543 int dest_Bpp = pDIBitmap->GetBPP() >> 3; in GifReadScanline() 607 int dest_Bpp = pDeviceBitmap->GetBPP() >> 3; in ResampleVertBT() 927 int dest_Bpp = pDeviceBitmap->GetBPP() >> 3; in GifDoubleLineResampleVert() 1151 int32_t dest_Bpp = pDeviceBitmap->GetBPP() >> 3; in PngOneOneMapResampleHorz() 1380 if (m_pDeviceBitmap->GetBPP() == 32 && in TiffContinueDecode() 1807 int dest_bytes_per_pixel = pDeviceBitmap->GetBPP() / 8; in ReSampleScanline() 2028 int dest_Bpp = pDeviceBitmap->GetBPP() >> 3; in ResampleVert() 2212 if (!pDIBitmap || pDIBitmap->GetBPP() < 8 || m_FrameNumber == 0) in StartDecode()
|
/external/pdfium/core/fpdfapi/render/ |
D | cpdf_type3cache.cpp | 66 int bpp = pBitmap->GetBPP(); in DetectFirstLastScan()
|
D | cpdf_imagerenderer.cpp | 378 if (m_pDIBBase->GetBPP() > 1) { in StartDIBBase() 379 FX_SAFE_SIZE_T image_size = m_pDIBBase->GetBPP(); in StartDIBBase()
|
D | cpdf_renderstatus.cpp | 1662 int Bpp = bitmap->GetBPP() / 8; in LoadSMask()
|
/external/pdfium/core/fpdfapi/page/ |
D | cpdf_image.cpp | 175 const int32_t bpp = pBitmap->GetBPP(); in SetImage()
|
/external/pdfium/core/fxcodec/jpeg/ |
D | jpegmodule.cpp | 597 int Bpp = pSource->GetBPP() / 8; in JpegEncode()
|
/external/pdfium/core/fxge/ |
D | cfx_renderdevice.cpp | 239 const int Bpp = has_alpha ? 4 : bitmap->GetBPP() / 8; in DrawNormalTextHelper()
|